Search code examples
javaeclipseweb-serviceswebsphere-8

An internal error occurred during: "Publishing to WAS 8559 ..."


I got following error while starting the server.

An internal error occurred during: "Publishing to WAS 8559 ...".
Could not initialize class com.ibm.ws.ffdc.FFDCFilter

Eclipse Java EE IDE for Web Developers Version: Mars.1 Release (4.5.1)

IBM WebSphere Application Server for Developers 8.5.5.9

I tried some methods posted in stackoverflow. But it doesn't work. e.g.could-not-initialize-class-com-ibm-ws-ffdc-ffdcfilter

1.added this entry in eclipse.ini file "-vm C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin\javaw.exe", restarted eclipse and server; 2.Windows->Preferences->Java->Installed JREs enter image description here

Do you have any suggestion about this problem?


Solution

  • There are some solutions, like upgrading Eclipse, changing to IBM JRE etc.

    But the issue is related to the ORB jar that is missing.

    The FFDCFilter error can be solved as described in "RMI Connection Type" found in this technote IBM Support page - swg21999577

    The com.ibm.ws.orb jar is missing and that causes the FFDCFilter issue. It is the result of using the non-IBM JDK. The reason why this jar is not included as part of WDT is because this jar conflicts with the IBM JDK case.

    Solution

    1. copy the orb jar, I think your version might be com.ibm.ws.orb_8.5.0.jar (look in your AppServer folder) to e.g. c:\lib

    2. Add the following line at end of your eclipse.ini -Djava.endorsed.dirs=C:\lib

    (You could also copy the orb jar into your java jre endorsed library folder.)

    See forum post with more information.