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:24:42 GMT
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


Mime
View raw message