Dust break
Dust break

Reputation: 137

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?

Upvotes: 2

Views: 2244

Answers (2)

Mrs. E
Mrs. E

Reputation: 17

I followed MrSimpleMind's solution and this worked for me. I copied the com.ibm.ws.orb_8.5.0.jar from C:\Program Files(x86)\IBM\Websphere\AppServer\bin\ProfileManagement\eclipse64 to C:\lib. The only thing I did differently and just to be on the safe side was to update the eclipse.ini in all locations where I found it. I shut down the eclipse, restarted and the publish worked after this change. Thanks MrSimpleMind

Upvotes: 2

MrSimpleMind
MrSimpleMind

Reputation: 8627

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.

Upvotes: 1

Related Questions