4 Replies Latest reply on Jun 30, 2005 3:44 PM by Anil Saldanha

    JBoss-4.0.2

    Thomas Diesler Master

      Can you confirm that this is not class loading issue related to the tomcat class loader?

      Try

       <!-- A flag indicating if the JBoss Loader should be used. This loader
       uses a unified class loader as the class loader rather than the tomcat
       specific class loader.
       The default is false to ensure that wars have isolated class loading
       for duplicate jars and jsp files.
       -->
       <attribute name="UseJBossWebLoader">true</attribute>
      


        • 1. Re: JBoss-4.0.2
          Gayathiri R Newbie

          Thanks a lot!!!!It worked

          • 2. Re: JBoss-4.0.2
            Jason Greene Master

            Are you bundling axis or jboss libs in your war? This shouldn't happen.

            -Jason

            • 3. Re: JBoss-4.0.2
              Gayathiri R Newbie

              I was using AXIS library files.I replaced with jboss files and deployed.
              When i run the client i m getting this exception

              ERROR [InvokerProviderJSE] Error from service endpoint, processing fault handler chain
              java.lang.NoSuchMethodException: org.synxis.join.ejb.JoinBean.addJoinDetails(org.synxis.join.Join)
               at java.lang.Class.getMethod(Class.java:1581)
               at org.jboss.webservice.server.InvokerProviderJSE.invokeServiceEndpoint(InvokerProviderJSE.java:149)
               at org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvider.java:238)
               at org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.java:176)
               at org.jboss.webservice.server.InvokerProviderJSE.invokeTarget(InvokerProviderJSE.java:93)
               at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121)
               at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
               at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
               at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
               at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
               at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
               at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
               at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
               at org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:905)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
               at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
               at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
               at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
               at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
               at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
               at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
               at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
               at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
               at java.lang.Thread.run(Thread.java:595)
              11:25:18,380 ERROR [ServerEngine] Server error: AxisFault
               faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
               faultSubcode:
               faultString: org.synxis.join.ejb.JoinBean.addJoinDetails(org.synxis.join.Join)
               faultActor:
               faultNode:
               faultDetail:
               {http://xml.apache.org/axis/}stackTrace: java.lang.NoSuchMethodException: org.synxis.join.ejb.JoinBean.addJoinDetails(org.synxis.join.Join)



              My endpoint interface is JoinEndPoint it is inside directory structure org.synxis.join

              and my EJB files are inside org.synxis.join.ejb

              and mapping is like this in web.xml

              <ejb-ref>
               <description>Join Bean</description>
               <ejb-ref-name>joinbean</ejb-ref-name>
               <ejb-ref-type>STATELESS</ejb-ref-type>
               <home>org.synxis.join.ejb.JoinHome</home>
               <remote>org.synxis.join.ejb.JoinRemote</remote>
               <ejb-link>joinbean</ejb-link>
               </ejb-ref>
              
               <servlet>
               <servlet-name>JoinServlet</servlet-name>
               <servlet-class>org.synxis.join.ejb.JoinBean</servlet-class>
               </servlet>


              Thanks


              • 4. Re: JBoss-4.0.2
                Anil Saldanha Master

                 

                java.lang.NoSuchMethodException: org.synxis.join.ejb.JoinBean.addJoinDetails
                


                The exception gives you all the details you need. The JoinBean ejb does not have the method defined - addJoinDetails.