vasanth
I'm new here

ClassLoader in issue in fs-perso.fsm

Hello All,

Currently we migrating our application from the websphere from websphere 6.1 to tomcat 6.

I am calling the fs-perso from my module (hrssckm) and i have implemeted my own attribute module (in the XML).  I got a strange exception (see below) in the Class loader

Loading attributes-module 'de.espirit.ps.bosch.hrssckm.web.sap.SAPP' ...

java.lang.NoClassDefFoundError: javax/xml/rpc/Service

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:186)

          at de.espirit.firstspirit.opt.personalisation.servlets.ConfigurationServlet.buildLoginPackagesFromXMLFile(ConfigurationServlet.java:289)

          at de.espirit.firstspirit.opt.personalisation.servlets.ConfigurationServlet.init(ConfigurationServlet.java:82)

          at javax.servlet.GenericServlet.init(GenericServlet.java:212)

          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)

          at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)

          at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)

          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)

          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)

          at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)

          at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)

          at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)

          at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)

          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)

          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)

          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

          at org.apache.catalina.core.StandardService.start(StandardService.java:525)

          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:616)

          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Caused by: java.lang.ClassNotFoundException: javax.xml.rpc.Service

          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)

          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)

Even though the jar (jaxrpc) is presented in My Module. The tomcat's Class loader not able to find the jar.

please let me know how to fix this issue

Thank You,

Vasanth.

0 Kudos
0 Replies