IBM Support

Server status shown incorrectly as “Stopped” or is stuck on “Starting” when using non-IBM JRE

Troubleshooting


Problem

A started WebSphere Application Server using the IPC, RMI, or SOAP connection type is shown incorrectly as “Stopped”, or is stuck on “Starting” when running WebSphere Application Server Developer Tools with a non-IBM JRE.

Cause

SOAP connection type
A security certificate does not get added automatically, which results in an SSL error.

RMI connection type
A specific class found in com.ibm.ws.orb_X.jar cannot be found on a non-IBM JRE, which is needed to create RMI connections. 

IPC connection type
The IPC connection type is not supported on a non-IBM JRE.

Diagnosing The Problem

1. The server status has been verified to be "Started" by calling the serverStatus script in <WebSphere Application Server directory>/profiles/<profile directory>/bin, with your server name as an argument.

2. For RMI and IPC connections, the Java Runtime Environment running with WebSphere Application Server Developer Tools is confirmed to be a non-IBM JRE.

Resolving The Problem

Any of the options listed below the connection type will resolve their respective issues. Restart the workbench afterwards.

SOAP connection type


RMI connection type
  • Switching to an IBM JRE to run WebSphere Application Server Developer Tools
  • Adding a vm argument in eclipse.ini:
    • Copy com.ibm.ws.orb_X.jar found in <WebSphere Application Server directory>/runtimes into a temporary folder. For example com.ibm.ws.orb_9.0.jar.
    • In <Eclipse directory>/eclipse.ini, add the following two lines at the bottom:

    • -Djava.endorsed.dirs=<Temporary folder location>

      For example:
      -startup
      plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
      --launcher.library
      plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444
      -product
      org.eclipse.epp.package.jee.product
      --launcher.defaultAction
      openFile
      -showsplash
      org.eclipse.platform
      --launcher.defaultAction
      openFile
      --launcher.appendVmargs
      -vmargs
      -Dosgi.requiredJavaVersion=1.8
      -XX:+UseG1GC
      -XX:+UseStringDeduplication
      -Dosgi.requiredJavaVersion=1.8
      -Xms256m
      -Xmx1024m
      -Djava.endorsed.dirs=C:\temp\endorsed
  • Copying the jar to the JRE’s endorsed directory
    • Copy com.ibm.ws.orb_X.jar found in <WebSphere Application Server directory>/runtimes into <Java Directory>/jre/lib/endorsed. If the endorsed folder does not exist, create it, and copy the jar.

IPC connection type
  • Switching to an IBM JRE to run WebSphere Application Server Developer Tools

[{"Product":{"code":"SSHR6W","label":"WebSphere Application Server Developer Tools for Eclipse"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Documentation","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"8.5.5.1;8.5.5.2;8.5.5.4;8.5.5.5;8.5.5.6;17.0.0.1;17.0.0.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21999577