Search code examples
javawebsphere-7runtimeexceptionmyeclipse

wsjar file error when starting Websphere 7 server using Java 6


I'm trying to get a Java web application running on my local environment. I'm using WebSphere 7.0 and MyEclipseBlue 10 using Java 6. The app builds and deploys fine, but when I start up the server I receive this error:

CWXRS0010W: Error while processing: wsjar:file:/C:/Apps/IBM/WebSphere/AppServer/7.0/profiles/AppSrv01/installedApps/M006Node02Cell/rbb3.ear/rb31.war/WEB-INF/lib/com.ibm.ws.runtime.jar!/plugin.xml java.lang.NullPointerException at com.ibm.wkplc.extensionregistry.Extension.equals(Extension.java:201)...

The odd part is that I had this application running before but didn't have this issue.

Does anyone have any advice on eliminating this error? Does it even matter that it is there? I will gladly provide more information if needed!

Thanks!


Solution

  • You should not include WebSphere related libraries in application itself. So in your case please remove com.ibm.ws.runtime.jar from WEB-INF/lib.

    Check you Maven, Eclipse, or any other build process you are doing to create EAR, and make sure that such WebSphere jars are not added to the application.