Eclipse Foundation Member
IBM WebSphere Application Server V8.5x Developer Tools

Details Group Tabs

fmazzo's picture

To workaround "Could not initialize class" Run Eclipse on IBM Java JRE.

smisingnamejcy's picture

The IBM JAVA JRE from WebSphere 8.5 is 1.6. Eclipse Neon requires 1.8 JRE. So, cannot run it.

Any other suggestion?

rbaldauf's picture

The application server stops randomly and with the IBM Support we found out that the stop for the application server is sent from an local address.
It isn't stopped by myself.
If I work for ours with my applications on the WAS it works perfect, but then it could be that the server all 5 Minutes is stopped and I have to restart it.

With this output we could see that the shutdown is sent from local:
[30.08.16 10:16:51:969 CEST] 00000042 SOAPConnector I SOAP client info: Host/port= 0:0:0:0:0:0:0:1/58459, authSubject.getPrincipals()= null
[30.08.16 10:16:51:972 CEST] 0000008a SOAPConnector I SOAP client info: Host/port= 0:0:0:0:0:0:0:1/58458, authSubject.getPrincipals()= null
[30.08.16 10:16:51:972 CEST] 0000008a AdminHelper A ADMN1021I: An attempt is made to stop the developer server.
[30.08.16 10:16:52:862 CEST] 0000003b ServerCollabo A WSVR0023I: Server developer is stopping

>>As per SystemErr.log file it has following stack which tells me this is a SOAP client call :

[30.08.16 10:16:51:973 CEST] 0000008a SystemErr R java.lang.Exception: stop stack trace
[30.08.16 10:16:51:973 CEST] 0000008a SystemErr R at
[30.08.16 10:16:51:973 CEST] 0000008a SystemErr R at
[30.08.16 10:16:51:973 CEST] 0000008a SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Is there a way to get a debug log from Plugin or can you give me a hint what I have to do that this doesn't happen?

smisingnamejcy's picture

Getting An internal error occurred during: "Publishing to WebSphere Application Server traditional V8.5 at localhost...". Could not initialize class error whenever I restart my server. Only way to resolve I could find is to restart eclipse.

Below is another link where folks are having similar issue

hraghebyjj's picture

Generate web service router is not available in ejb file context

hraghebyjj's picture

When I right click my ear project in eclipse and choose to run my application the application is published and deployed on the server but web services are not published. I know in webspehere to publish my web services I must run endPtEnabler over my ear file before installation on the server to amend the ear file and add required websphere artifacts for web services.

As a work around for now, I had to generate the ear and apply endPtEnabler, and I wrote jython script to be used in eclipse run configuration to install/update the application, However, this is painful to do with every change since changes are not hot deployed and I had to install the ear and run the jython script for every change to be updated on the server.

Is there a way to configure eclipse plugin to publish web services directly when running the application through Run in the application context??