4 Replies Latest reply on Jun 22, 2006 4:25 PM by Jason Greene

    ClassNotFoundException with jbossws1.0.1

    Dan Smith Newbie

      I've just upgraded my jbossws installation from jbossws1.0.0 GA to jbossws 1.0.1. My test service that worked fine on 1.0.0 (a jsr-181 POJO endpoint) deploys fine, but when I try to invoke an operation I get the following ClassNotFoundException.

      I am using JBoss 4.0.4 GA which was unzipped (I did not use the installer). This worked fine with 1.0.1, and all I've done is overwrite the SAR and JAR file. Any ideas?

      12:35:22,828 ERROR [SOAPFaultExceptionHelper] SOAP request exception
      java.lang.ClassNotFoundException:
       com.danny.jbossws.service.JbossWsTest
      
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1352)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1198)
       at org.jboss.ws.server.ServiceEndpointInvokerJSE.loadServiceEndpoint(Ser
      viceEndpointInvokerJSE.java:63)
       at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvo
      ker.java:87)
       at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.jav
      a:219)
       at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(Service
      EndpointManager.java:355)
       at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointSe
      rvlet.java:109)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointS
      ervlet.java:75)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)