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: [axis2] DeploymentException during module deployment
Date Fri, 18 Jan 2008 09:53:38 GMT
David,

thanks very much, that did the job.


Michele


p.s. Wouldn't it be better to ignore lower/upper case?


On 17 Jan 2008, at 18:36, David Illsley wrote:

> Michele,
> You should use the fist approach, but I believe the inflow element is
> actually InFlow
> See the addressing module for an example [1].
> David
>
> [1] http://svn.apache.org/viewvc/webservices/axis2/trunk/java/ 
> modules/addressing/src/META-INF/module.xml?revision=559011&view=markup
>
> On Jan 17, 2008 6:13 PM, Michele Mazzucco  
> <Michele.Mazzucco@ncl.ac.uk> wrote:
>> I forgot to mention that the module is globally engaged.
>>
>>
>> Michele
>>
>>
>> On Thu, 2008-01-17 at 18:12 +0000, Michele Mazzucco wrote:
>>> Hi all,
>>>
>>> I have a problem with a module, the handler doesn't get called.
>>>
>>> This is the module.xml
>>> <module name="router-module"
>>> class="ncl.qosp.modules.manager.RouterModule">
>>>       <inflow>
>>>               <handler name="RouterDispatcher"
>>>                        
>>> class="ncl.qosp.modules.manager.RouterDispatcher">
>>>                       <order phase="Routing" />
>>>               </handler>
>>>       </inflow>
>>> </module>
>>>
>>> and this is the portion of axis2.xml
>>> <phaseOrder type="InFlow">
>>>       <phase name="Routing" />
>>> ....
>>>
>>>
>>>
>>>
>>> If the axis2.xml looks like this:
>>>  <phaseOrder type="InFlow">
>>>       <phase name="Routing">
>>>               <handler name="RouterDispatcher"
>>>               class="ncl.qosp.modules.manager.RouterDispatcher">
>>>               <order phase="Routing" />
>>>               </handler>
>>>       </phase>
>>>       ....
>>>
>>>
>>> I get the following error, even if the class is indeed included  
>>> into the
>>> mar file
>>> -bash-3.00$ jar tf ../webapps/axis2/WEB-INF/modules/routing.mar |  
>>> grep
>>> RouterDispatcher
>>> ncl/qosp/modules/manager/RouterDispatcher.class
>>>
>>>
>>>
>>> INFO: Initializing Coyote HTTP/1.1 on http-8081
>>> Jan 17, 2008 6:10:27 PM org.apache.catalina.startup.Catalina load
>>> INFO: Initialization processed in 888 ms
>>> Jan 17, 2008 6:10:27 PM org.apache.catalina.core.StandardService  
>>> start
>>> INFO: Starting service Catalina
>>> Jan 17, 2008 6:10:27 PM org.apache.catalina.core.StandardEngine  
>>> start
>>> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
>>> Jan 17, 2008 6:10:27 PM org.apache.catalina.core.StandardHost start
>>> INFO: XML validation disabled
>>> Jan 17, 2008 6:10:28 PM org.apache.catalina.startup.HostConfig  
>>> deployWAR
>>> INFO: Deploying web application archive axis2.war
>>> [ERROR] ncl.qosp.modules.manager.RouterDispatcher
>>> org.apache.axis2.deployment.DeploymentException:
>>> ncl.qosp.modules.manager.RouterDispatcher
>>>         at
>>> org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:132)
>>>         at
>>> org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList 
>>> (AxisConfigBuilder.java:405)
>>>         at
>>> org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders 
>>> (AxisConfigBuilder.java:433)
>>>         at
>>> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig 
>>> (AxisConfigBuilder.java:133)
>>>         at
>>> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfigurati 
>>> on(DeploymentEngine.java:615)
>>>         at
>>> org.apache.axis2.deployment.WarBasedAxisConfigurator.<init> 
>>> (WarBasedAxisConfigurator.java:146)
>>>         at
>>> org.apache.axis2.transport.http.AxisServlet.initConfigContext 
>>> (AxisServlet.java:500)
>>>         at
>>> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java: 
>>> 420)
>>>         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)
>>> Caused by: java.lang.ClassNotFoundException:
>>> ncl.qosp.modules.manager.RouterDispatcher
>>>         at
>>> org.apache.catalina.loader.WebappClassLoader.loadClass 
>>> (WebappClassLoader.java:1355)
>>>         at
>>> org.apache.catalina.loader.WebappClassLoader.loadClass 
>>> (WebappClassLoader.java:1201)
>>>         at java.lang.ClassLoader.loadClassInternal 
>>> (ClassLoader.java:319)
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:164)
>>>         at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
>>>         at org.apache.axis2.util.Loader.loadClass(Loader.java:229)
>>>         at
>>> org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:117)
>>>         ... 33 more
>>>
>>>
>>>
>>> Any idea?
>>>
>>> Thanks in advance,
>>> Michele
>>>
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> 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
>>
>>
>
>
>
> -- 
> David Illsley - IBM Web Services Development
>
> ---------------------------------------------------------------------
> 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