Forums Register Login

ClassNotFoundExption in IBM WebSphere 8.5 application server

+Pie Number of slices to send: Send
I have deployed ear file successfully on websphere 8.5.
When I am using one of the functionality of my application it is giving me ClassNotFoundException.

java.lang.NoClassDefFoundError: com.tibco.webservice.cim.CIMServicesStub
at com.tibco.ac.util.ActiveCatalogUtility.initiateWorkflow(ActiveCatalogUtility.java:203)
at com.tibco.mdm.ui.repository.exportimport.ExportFCDataServlet.loadExportFCDataScreen(ExportFCDataServlet.java:55)
at com.tibco.mdm.ui.repository.exportimport.ExportFCDataServlet.onService(ExportFCDataServlet.java:39)
at com.tibco.mdm.ui.infrastructure.MqServlet.service(MqServlet.java:619)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1214)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:125)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)
at com.tibco.mdm.ui.infrastructure.MaliciousRequestContentFilter.doFilter(MaliciousRequestContentFilter.java:45)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:926)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1023)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:522)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:311)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1783)
Caused by: java.lang.ClassNotFoundException: com.tibco.webservice.cim.CIMServicesStub
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:198)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:665)
at java.lang.ClassLoader.loadClass(ClassLoader.java:644)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:113)
at java.lang.ClassLoader.loadClass(ClassLoader.java:627)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:615)
at java.lang.ClassLoader.loadClass(ClassLoader.java:627)


But the class is there in the jar file and this jar file is in ear file.
+Pie Number of slices to send: Send
Wher in the ear file is the jar and where is the class being used from in relation to where the jar is?
+Pie Number of slices to send: Send
 

Nikhil Borpe wrote:I have deployed ear file successfully on websphere 8.5.
When I am using one of the functionality of my application it is giving me ClassNotFoundException.
...

But the class is there in the jar file and this jar file is in ear file.



Howdy !

I suggest you to turn on and use Class Loader Viewer which is built in the WAS ISC (web admin console)

Also, refer the MustGather document for classloader problems

HTH,
MZ
You firghten me terribly. I would like to go home now. Here, take this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 4120 times.
Similar Threads
Websphere Commerce : from Java filter to Struts action mapping
Business Objects XIR2 in Websphere 7 error
JPA project classes are not found in Web module in runtime - RAD 7.5
Application throwing exception
Error Configuring LDAP security for Spring 3.1.0
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:05:42.