Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not initialize class com.ibm.ws.ffdc.FFDCFilter

Tags:

websphere

Starting IBM Websphere in Eclipse Mars, always gives this error:

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

I'm using Websphere Version 7.0

Any idea how to resolve this?

Thanks!

like image 408
Sanchit Khera Avatar asked Feb 15 '17 03:02

Sanchit Khera


1 Answers

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_X 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_7.0.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 IBM Documentation with more information.

like image 121
MrSimpleMind Avatar answered Oct 19 '22 04:10

MrSimpleMind