axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject Re: unable to engage the addressing module
Date Tue, 20 Feb 2007 10:46:05 GMT
Some more details. 
>>From the source code of ServiceClient I see the "Unable to engage..."
message is set as AxisFault message when the module is not found in
AxisConfiguration. How is it possible that the addressing module is not
found since I know from the admin page that it's globally engaged?


~/devel/tomcat/router/webapps/axis2/WEB-INF> ls -R
.:
classes  conf  lib  modules  services  web.xml

./classes:
commons-logging.properties  log4j.properties

./conf:
axis2.xml

./lib:
activation-1.1.jar              axis2-LICENSE.txt
jakarta-httpcore-4.0-alpha3.jar  stax-api-1.0.1.jar
activation-LICENSE.txt          axis2-metadata-SNAPSHOT.jar
jakarta-httpcore-LICENSE.txt     stax-api-LICENSE.txt
annogen-0.1.0.jar               axis2-saaj-api-SNAPSHOT.jar
jaxen-1.1-beta-10.jar            stax-utils-LICENSE.txt
annogen-LICENSE.txt             axis2-saaj-SNAPSHOT.jar
jaxen-LICENSE.txt                woden-1.0-incubating-SNAPSHOT.jar
axiom-api-LICENSE.txt           axis2-soapmonitor-SNAPSHOT.jar
jaxmeapi-LICENSE.txt             woden-LICENSE.txt
axiom-api-SNAPSHOT.jar          axis2-spring-SNAPSHOT.jar
jaxmejs-LICENSE.txt              wsdl4j-1.6.2.jar
axiom-dom-LICENSE.txt           axis2-xmlbeans-SNAPSHOT.jar
jaxme-LICENSE.txt                wsdl4j-LICENSE.txt
axiom-dom-SNAPSHOT.jar          backport-util-concurrent-2.2.jar
jaxmexs-LICENSE.txt              wstx-asl-3.2.0.jar
axiom-impl-LICENSE.txt          backport-util-concurrent-LICENSE.txt
jibx-run-1.1.2.jar               wstx-LICENSE.txt
axiom-impl-SNAPSHOT.jar         commons-codec-1.3.jar
jibx-run-LICENSE.txt             xalan-2.7.0.jar
axis2-adb-codegen-SNAPSHOT.jar  commons-codec-LICENSE.txt
mail-1.4.jar                     xbean-2.2.0.jar
axis2-adb-SNAPSHOT.jar          commons-fileupload-1.1.1.jar
mail-LICENSE.txt                 xbean-LICENSE.txt
axis2-codegen-SNAPSHOT.jar      commons-fileupload-LICENSE.txt
neethi-LICENSE.txt               xercesImpl-2.8.1.jar
axis2-java2wsdl-SNAPSHOT.jar    commons-httpclient-3.0.1.jar
neethi-SNAPSHOT.jar              xercesImpl-LICENSE.txt
axis2-jaxbri-SNAPSHOT.jar       commons-httpclient-LICENSE.txt
spring-beans-1.2.8.jar           xerces-LICENSE.txt
axis2-jaxws-api-SNAPSHOT.jar    commons-io-1.2.jar
spring-context-1.2.8.jar         xml-apis-1.3.03.jar
axis2-jaxws-SNAPSHOT.jar        commons-logging-1.1.jar
spring-core-1.2.8.jar            xml-apis-LICENSE.txt
axis2-jibx-SNAPSHOT.jar         commons-logging-LICENSE.txt
spring-LICENSE.txt               XmlSchema-1.2.jar
axis2-kernel-SNAPSHOT.jar       geronimo-spec-jms-LICENSE.txt
spring-web-1.2.8.jar             XmlSchema-LICENSE.txt

./modules:
addressing-SNAPSHOT.mar  modules.list  routing.mar
soapmonitor-SNAPSHOT.mar

./services:
RoutingService.aar  services.list  version.aar


Any clue?
Michele


On Tue, 2007-02-20 at 10:24 +0000, Michele Mazzucco wrote:
> Hi again,
> 
> shall I open a JIRA for this issue? I've tried with the 1.1.1 release as
> well, but I get always the same problem:
> 
> try {
>    ServiceClient sender = new ServiceClient();
>    sender.engageModule(new QName(Constants.MODULE_ADDRESSING));
> } catch (Exception e) {
>     log.fatal("Unable to create the ServiceClient", e);
>     throw new InitializationException(e);
> }
> 
> FATAL [10:18:28,384] RoutingService:<init> - Unable to create the
> ServiceClient
> org.apache.axis2.AxisFault: Unable to engage module : addressing
>         at
> org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:298)
>         at
> ncl.qosp.controller.RoutingService.<init>(RoutingService.java:170)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at java.lang.Class.newInstance0(Class.java:350)
>         at java.lang.Class.newInstance(Class.java:303)
>         at
> org.apache.axis2.engine.DependencyManager.initService(DependencyManager.java:92)
>         at
> org.apache.axis2.context.ConfigurationContextFactory.initApplicationScopeServices(ConfigurationContextFactory.java:87)
>         at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:74)
>         at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:392)
>         at
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:331)
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
>         at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>         at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> ncl.qosp.controller.RoutingService.<init>(RoutingService.java:172) FATAL
> [main] - Unable to create the ServiceClient
> org.apache.axis2.AxisFault: Unable to engage module : addressing
>         at
> org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:298)
>         at
> ncl.qosp.controller.RoutingService.<init>(RoutingService.java:170)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at java.lang.Class.newInstance0(Class.java:350)
>         at java.lang.Class.newInstance(Class.java:303)
>         at
> org.apache.axis2.engine.DependencyManager.initService(DependencyManager.java:92)
>         at
> org.apache.axis2.context.ConfigurationContextFactory.initApplicationScopeServices(ConfigurationContextFactory.java:87)
>         at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:74)
>         at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:392)
>         at
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:331)
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
>         at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>         at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> 
> 
> 
> Thanks,
> Michele
> 
> On Mon, 2007-02-19 at 21:09 +0000, Michele Mazzucco wrote:
> > >
> > > Sathija,
> > >
> > > no, it's not my case. My axis2.war is exploded when I drop my aar file
> > > into it.
> > >
> > > Regards,
> > > Michele
> > >
> > >> I had a similar problem when the addressing module was in the right
> > >> folder.
> > >> In my case, it happened because I was deploying my app directly  
> > >> from war
> > >> without unpacking it (tomcat 5.5.20)
> > >>
> > >> Is that what you are doing too?
> > >>
> > >> - Sathija.
> > >>
> > >>
> > >>> Hi all,
> > >>>
> > >>> according to previous messages usually, if any, problems with the
> > >>> addressing module (or others) happen on the client side. I'm  
> > >>> facing the
> > >>> same problem on the server side (tomcat 5.5.20). The addressing  
> > >>> module
> > >>> is in the right folder.
> > >>>
> > >>> Any idea?
> > >>>
> > >>> Thanks,
> > >>> Michele
> > >>>
> > >>> ncl.qosp.controller.handler.Handler.send(Handler.java:411) ERROR
> > >>> [http-8081-Processor23] - Unable to forward the request
> > >>> org.apache.axis2.AxisFault: Unable to engage module : addressing
> > >>>         at
> > >>> org.apache.axis2.client.ServiceClient.engageModule 
> > >>> (ServiceClient.java:296)
> > >>>         at
> > >>> ncl.qosp.controller.handler.sender.DefaultSender.send 
> > >>> (DefaultSender.java:118)
> > >>>         at ncl.qosp.controller.handler.Handler.send(Handler.java: 
> > >>> 401)
> > >>>         at ncl.qosp.controller.handler.Handler.submit 
> > >>> (Handler.java:370)
> > >>>         at
> > >>> ncl.qosp.controller.scheduler.DefaultServiceManager.queue 
> > >>> (DefaultServiceManager.java:170)
> > >>>         at
> > >>> ncl.qosp.controller.scheduler.managed.queue.Dispatcher.queue 
> > >>> (Dispatcher.java:517)
> > >>>         at
> > >>> ncl.qosp.controller.RoutingService.forward(RoutingService.java:401)
> > >>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
> > >>> Method)
> > >>>         at
> > >>> sun.reflect.NativeMethodAccessorImpl.invoke 
> > >>> (NativeMethodAccessorImpl.java:39)
> > >>>         at
> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke 
> > >>> (DelegatingMethodAccessorImpl.java:25)
> > >>>         at java.lang.reflect.Method.invoke(Method.java:585)
> > >>>         at
> > >>> org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver.invokeBusines

> > >>> sLogic(RawXMLINOnlyMessageReceiver.java:79)
> > >>>         at
> > >>> org.apache.axis2.receivers.AbstractInMessageReceiver.receive 
> > >>> (AbstractInMessageReceiver.java:35)
> > >>>         at
> > >>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:177)
> > >>>         at
> > >>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRe

> > >>> quest(HTTPTransportUtils.java:275)
> > >>>         at
> > >>> org.apache.axis2.transport.http.AxisServlet.doPost 
> > >>> (AxisServlet.java:268)
> > >>>         at javax.servlet.http.HttpServlet.service 
> > >>> (HttpServlet.java:709)
> > >>>         at javax.servlet.http.HttpServlet.service 
> > >>> (HttpServlet.java:802)
> > >>>         at
> > >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter 
> > >>> (ApplicationFilterChain.java:252)
> > >>>         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.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:869)
> > >>>         at org.apache.coyote.http11.Http11BaseProtocol
> > >>> $Http11ConnectionHandler.processConnection 
> > >>> (Http11BaseProtocol.java:664)
> > >>>         at
> > >>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket 
> > >>> (PoolTcpEndpoint.java:527)
> > >>>         at
> > >>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt 
> > >>> (LeaderFollowerWorkerThread.java:80)
> > >>>         at org.apache.tomcat.util.threads.ThreadPool
> > >>> $ControlRunnable.run(ThreadPool.java:684)
> > >>>         at java.lang.Thread.run(Thread.java:595)
> > >>>
> > >>>
> > >>>
> > >>> --------------------------------------------------------------------

> > >>> -
> > >>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > >>> For additional commands, e-mail: axis-user-help@ws.apache.org
> > >>>
> > >>>
> > >>
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > >> For additional commands, e-mail: axis-user-help@ws.apache.org
> > >>
> > >>
> > >
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message