2 Replies Latest reply on Oct 24, 2005 9:07 AM by Gavin Kearney

    EJB Class problem

    Gavin Kearney Newbie

      Im using jboss 4.0.2, hypersonic 1.7, im trying to run an application that only has 4 EJB's. The app. is being deployed as an ear file, but when i try to implement certain functionality of my app I get a class not found exception, even though the required classes are all contained within the ear package.

      Has anybody had similar problems? Is this dreaded JBoss classloader again?

      Here is a stack trace:

      
      11:19:37,651 ERROR [LogInterceptor] Unexpected Error in method: public abstract
      java.lang.String com.precisionsoftware.trax.app.xml.ejb.XmlApi.getXMLDocument(ja
      va.lang.String) throws java.rmi.RemoteException
      java.lang.NoClassDefFoundError: com/precisionsoftware/trax/app/compliance/driver
      /ComplianceDriver
       at com.precisionsoftware.trax.app.service.ComplianceService.doDPLEBCChec
      k(ComplianceService.java:436)
       at com.precisionsoftware.trax.app.service.ComplianceService.doBOD(Compli
      anceService.java:149)
       at com.precisionsoftware.service.Service.doMessageSpecificAction(Service
      .java:251)
       at com.precisionsoftware.trax.app.xml.MessageHandler.processBODMessage(M
      essageHandler.java:133)
       at com.precisionsoftware.trax.app.xml.MessageHandler.processMessage(Mess
      ageHandler.java:56)
       at com.precisionsoftware.trax.app.xml.ejb.XmlApiBean.getXMLDocument(XmlA
      piBean.java:79)
       at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
       at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
      tatelessSessionContainer.java:214)
       at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
      ke(CachedConnectionInterceptor.java:185)
       at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(Service
      EndpointInterceptor.java:51)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
      Interceptor.java:48)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
      rceptor.java:105)
       at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxI
      nterceptorBMT.java:153)
       at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:6
      2)
       at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
      elessSessionInstanceInterceptor.java:113)
       at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
      java:122)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
      ryFinderInterceptor.java:122)
       at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6
      24)
       at org.jboss.ejb.Container.invoke(Container.java:870)
       at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(Loca
      lInvoker.java:155)
       at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
      
       at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerIntercepto
      r.java:115)
       at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
      a:101)
       at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
      java:46)
       at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:5
      5)
       at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessi
      onInterceptor.java:97)
       at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91)
       at $Proxy73.getXMLDocument(Unknown Source)
       at com.precisionsoftware.trax.ui.utils.XmlCom.sendXml(XmlCom.java:61)
       at com.precisionsoftware.trax.ui.web.UiComplianceCheckHandler.handleRequ
      est(UiComplianceCheckHandler.java:254)
       at com.precisionsoftware.trax.ui.web.UiHandler.handleRequest(UiHandler.j
      ava:106)
       at com.precisionsoftware.trax.ui.web.CommunicatorServlet.doPost(Communic
      atorServlet.java:148)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:237)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:157)
       at com.precisionsoftware.trax.ui.web.LoginFilter.doFilter(LoginFilter.ja
      va:71)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:186)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:157)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:75)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:186)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:157)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:214)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:104)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:520)
       at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
      ContextValve.java:198)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:152)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:104)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
      ipalValve.java:66)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:102)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:150)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:102)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:54)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:102)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:520)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:137)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:104)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:118)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:102)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:520)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:104)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:520)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      
       at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
      0)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :799)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ssConnection(Http11Protocol.java:705)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
      :577)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
      ool.java:683)
       at java.lang.Thread.run(Thread.java:534)
      
      



      Any help will be greatly appreciated, as I need some badly, thanks