Search code examples
javaeclipsewebsphereeclipse-neonibm-wdt

Eclipse Neon Local Websphere not starting


Issue: When attempting to start a IBM Websphere server, the console view displays the server as successfully started by displaying the message: server... open for e-business. However, the status of the server in the server view remains in a starting state. Symptom occurs only when Oracle JDK 8 is specified in eclipse.ini. Server status is showed correctly when IBM SDK 8 is specified in eclipse.ini. In both scenarios it is possible to login to the server admin console.

Platform: Windows 7 Professional SP1

IDE: vanilla Eclipse Neon 4.6.1 + plugin mentioned below

Plugin: IBM WebSphere Application Server traditional V8.5x Developer Tools for Neon

Server: IBM Websphere 8.5.5.9

Details configuration files and logs:

When using Oracle JDK 8:

eclipse.ini: -vm C:/Program Files/Java/jdk8/jre/bin/javaw.exe

Eclipse .log eclipse.buildId=4.6.1.M20160907-1200 java.version=1.8.0_102 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=nl_NL Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

When using IBM JDK 8:

eclipse.ini: -vm C:/Program Files (x86)/IBM/WebSphere/AppServer-85/java_1.8_64/bin/javaw.exe

Eclipse .log eclipse.buildId=4.6.1.M20160907-1200 java.fullversion=JRE 1.8.0 IBM J9 2.8 Windows 7 amd64-64 Compressed References 20160210_289934 (JIT enabled, AOT enabled) J9VM - R28_Java8_SR2_20160210_1617_B289934 JIT - tr.r14.java_20151209_107110.04 GC - R28_Java8_SR2_20160210_1617_B289934_CMPRSS J9CL - 20160210_289934 BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=nl_NL Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Websphere server.log (identical for both scenario's: i.e. the same server)

WebSphere [IBMJAVA7 7.0.8.10 cf051507.01][IBMJAVA8 8.0.2.10 cf091608.04]Platform 8.5.5.9 [BASE 8.5.5.9 cf091608.05] running with process name DPCVOAY005Node12Cell\DPCVOAY005Node12\server1 and process id 285304 Host Operating System is Windows 7, version 6.1 Java version = 1.8.0, Java Runtime Version = pwa6480sr2fp10ifx-20160223_01 (SR2 FP10+IV81318+IV81645+IV81741+IV81716), Java Compiler = j9jit28, Java VM name = IBM J9 VM was.install.root = C:\Program Files (x86)\IBM\WebSphere\AppServer-85 user.install.root = C:\ws\profiles\ywb-cta-jpa Java Home = C:\Program Files (x86)\IBM\WebSphere\AppServer-85\java_1.8_64\jre


Solution

  • If you are using a non-IBM JDK and working with a local server, can you try the following:

    1. Copy com.ibm.ws.orb_8.5.0.jar from your <WAS install>/runtimes folder into a temporary directory (e.g. C:\temp\endorsed)
    2. Edit the eclipse.ini file in your Eclipse install directory to have the following VM argument -Djava.endorsed.dirs=<temporary endorsed dir> (e.g. -Djava.endorsed.dirs=C:\temp\endorsed)
    3. With this change, the RMI and IPC connection type will work. This jar is missing in the non-IBM JDK case and may be the cause of the connection issue