You are compiling with different jars than you're running, and the versions are not compatible. JBoss may be loading the class from a different jar than you think.
Java is telling you that the version of HttpConnectionManager it found does not have the method getParams() on it. This means that the version of HttpConnectionManager you compiled with is not the same as the version you get at runtime. This is similar to IncompatibleClassChangeError, I'm not sure exactly why you get NoSuchMethod instead of the class change one -- it has to do with when the VM detects the problem. Chris -----Original Message----- From: Alan Aguia [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 07:39 To: [email protected] Subject: Re: Jboss axis2 0.92 I have all the required librarias in the lib directory inside de war project Eran Chinthaka <[EMAIL PROTECTED]> wrote: Do you have commons-http client jar in the classpath ? Alan Aguia wrote: >Im new using Axis2. I install it in my computer and I didnt have >problems running the examples but when I try to deploy in my Jboss server I >receive the next problem. The example that im running is >EchoNonBlockingDualClient.java It worked fine with EchoNonBlockingClient.java. I >would like to know if I have a jar conflict because Jboss has axis.jar >included or what It causing the problem. > >[StAXSOAPModelBuilder] Build the OMElelment EnvelopeBy the >StaxSOAPModelBuilder >13:59:03,474 INFO [StAXSOAPModelBuilder] Starting Process SOAP 1.1 >message >13:59:03,474 INFO [StAXSOAPModelBuilder] Build the OMElelment HeaderBy >the StaxSOAPModelBuilder >13:59:03,475 INFO [StAXSOAPModelBuilder] Build the OMElelment ToBy the >StaxSOAPModelBuilder >13:59:03,476 INFO [StAXSOAPModelBuilder] Build the OMElelment >ReplyToBy the StaxSOAPModelBuilder >13:59:03,476 INFO [StAXSOAPModelBuilder] Build the OMElelment >AddressBy the StaxSOAPModelBuilder >13:59:03,477 INFO [StAXSOAPModelBuilder] Build the OMElelment >MessageIDBy the StaxSOAPModelBuilder >13:59:03,477 INFO [StAXSOAPModelBuilder] Build the OMElelment BodyBy >the StaxSOAPModelBuilder >13:59:03,478 INFO [AxisEngine] Axis Engine Started >13:59:03,478 INFO [StAXSOAPModelBuilder] Build the OMElelment echoBy >the StaxSOAPModelBuilder >13:59:03,478 INFO [Phase] Invoke the Handler AddressingInHandlerwith >in the Phase PreDispatch >13:59:03,479 INFO [Phase] Invoke the Handler >{http://axis.ws.apache.org}AddressingBasedDispatcherwith in the Phase >Dispatch >13:59:03,479 INFO [Phase] Invoke the Handler >{http://axis.ws.apache.org}RequestURIBasedDispatcherwith in the Phase >Dispatch >13:59:03,480 INFO [Phase] Invoke the Handler >{http://axis.ws.apache.org}SOAPActionBasedDispatcherwith in the Phase >Dispatch >13:59:03,480 INFO [Phase] Invoke the Handler >{http://axis.ws.apache.org}SOAPMessageBodyBasedDispatcherwith in the >Phase Dispatch >13:59:03,481 INFO [Phase] Invoke the Handler >{http://axis.ws.apache.org}DispatchPostConditionsEvaluatorwith in the >Phase PostDispatch >13:59:03,481 INFO [Phase] Invoke the Handler default Handlerwith in >the Phase PostDispatch >13:59:03,486 INFO [StAXSOAPModelBuilder] Build the OMElelment TextBy >the StaxSOAPModelBuilder >13:59:03,486 INFO [AxisEngine] Axis Engine Started >13:59:03,487 INFO [Phase] Invoke the Handler AddressingOutHandlerwith >in the Phase MessageOut >13:59:03,673 ERROR [Engine] StandardWrapperValve[AxisServlet]: >Servlet.service() for servlet AxisServlet threw exception >java.lang.NoSuchMethodError: >org.apache.commons.httpclient.HttpConnectionManager.getParams()Lorg/apa che/commons/httpclient/params/HttpConnectionManagerParams; > at >org.apache.axis2.transport.http.CommonsHTTPTransportSender.transportCon figurationPOST(CommonsHTTPTransportSender.java:446) > at >org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessage WithCommons(CommonsHTTPTransportSender.java:182) > at >org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Commo nsHTTPTransportSender.java:123) > at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:100) > at >org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abs tractInOutSyncMessageReceiver.java:80) > at >org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:154) > at >org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReque st(HTTPTransportUtils.java:202) > at >org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:182 ) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic ationFilterChain.java:252) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terChain.java:173) > at >org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilt er.java:75) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic ationFilterChain.java:202) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terChain.java:173) > at >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.java:214) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC ontext.java:104) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) > at >org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo ntextValve.java:198) > at >org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.java:152) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC ontext.java:104) > at >org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincip alValve.java:66) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC ontext.java:102) > at >org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityA ssociationValve.java:162) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC ontext.java:102) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) > at >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:137) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC ontext.java:104) > at >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:118) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC ontext.java:102) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) > at >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .java:109) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC ontext.java:104) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) > at >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) > at >org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) > at >org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:7 99) > at >org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process Connection(Http11Protocol.java:705) > at >org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5 77) > at >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo l.java:684) > at java.lang.Thread.run(Thread.java:536) > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > > ________________________________ Yahoo! FareChase - Search multiple travel sites in one click. <http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2OD gxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a// farechase.yahoo.com/>
