axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: problem with dispatch phase
Date Fri, 01 Feb 2008 05:14:52 GMT
On Jan 30, 2008 9:25 PM, mathieu fabre <mathieufab@gmail.com> wrote:

> here is the full stacktrace :
>
> jvm 1    | javax.servlet.ServletException: The "Dispatch" phase is not
> found on the global "InFlow" phase of the axis2.xml file. Make sure the
> phase is within the axis2.xml file.
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> ServletHolder.java:437)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.doStart(
> ServletHolder.java:256)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.initialize(
> ServletHandler.java:612)
> jvm 1    |      at org.mortbay.jetty.servlet.Context.startContext(
> Context.java:139)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.startContext(
> WebAppContext.java:1216)
> jvm 1    |      at org.mortbay.jetty.handler.ContextHandler.doStart(
> ContextHandler.java:509)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.doStart(
> WebAppContext.java:447)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerCollection.doStart(
> HandlerCollection.java:147)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerWrapper.doStart(
> HandlerWrapper.java:117)
> jvm 1    |      at org.mortbay.jetty.Server.doStart(Server.java:222)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at
> com.wimba.napoleon.marshal.app.jetty.NapoleonMarshal.main(
> NapoleonMarshal.java:94)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at java.lang.reflect.Method.invoke(Unknown Source)
> jvm 1    |      at org.tanukisoftware.wrapper.WrapperStartStopApp.run(
> WrapperStartStopApp.java:238)
> jvm 1    |      at java.lang.Thread.run(Unknown Source)
> jvm 1    | 2008-01-30 16:47:24.144::WARN:  Nested in
> javax.servlet.ServletException: The "Dispatch" phase is not found on the
> global "InFlow" phase of the axis2.xml file. Make sure the phase is within
> the axis2.xml file.:
> jvm 1    | javax.servlet.ServletException: The "Dispatch" phase is not
> found on the global "InFlow" phase of the axis2.xml file. Make sure the
> phase is within the axis2.xml file.
> jvm 1    |      at org.apache.axis2.transport.http.AxisServlet.init(
> AxisServlet.java:424)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> ServletHolder.java:433)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.doStart(
> ServletHolder.java:256)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.initialize(
> ServletHandler.java:612)
> jvm 1    |      at org.mortbay.jetty.servlet.Context.startContext(
> Context.java:139)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.startContext(
> WebAppContext.java:1216)
> jvm 1    |      at org.mortbay.jetty.handler.ContextHandler.doStart(
> ContextHandler.java:509)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.doStart(
> WebAppContext.java:447)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerCollection.doStart(
> HandlerCollection.java:147)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerWrapper.doStart(
> HandlerWrapper.java:117)
> jvm 1    |      at org.mortbay.jetty.Server.doStart(Server.java:222)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at
> com.wimba.napoleon.marshal.app.jetty.NapoleonMarshal.main(
> NapoleonMarshal.java:94)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at java.lang.reflect.Method.invoke(Unknown Source)
> jvm 1    |      at org.tanukisoftware.wrapper.WrapperStartStopApp.run(
> WrapperStartStopApp.java:238)
> jvm 1    |      at java.lang.Thread.run(Unknown Source)
> jvm 1    | 2008-01-30 16:47:24.144::WARN:  Nested in
> javax.servlet.ServletException: The "Dispatch" phase is not found on the
> global "InFlow" phase of the axis2.xml file. Make sure the phase is within
> the axis2.xml file.:
> jvm 1    | javax.servlet.ServletException: The "Dispatch" phase is not
> found on the global "InFlow" phase of the axis2.xml file. Make sure the
> phase is within the axis2.xml file.
> jvm 1    |      at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(
> AxisServlet.java:492)
> jvm 1    |      at org.apache.axis2.transport.http.AxisServlet.init(
> AxisServlet.java:406)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> ServletHolder.java:433)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.doStart(
> ServletHolder.java:256)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.initialize(
> ServletHandler.java:612)
> jvm 1    |      at org.mortbay.jetty.servlet.Context.startContext(
> Context.java:139)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.startContext(
> WebAppContext.java:1216)
> jvm 1    |      at org.mortbay.jetty.handler.ContextHandler.doStart(
> ContextHandler.java:509)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.doStart(
> WebAppContext.java:447)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerCollection.doStart(
> HandlerCollection.java:147)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerWrapper.doStart(
> HandlerWrapper.java:117)
> jvm 1    |      at org.mortbay.jetty.Server.doStart(Server.java:222)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at
> com.wimba.napoleon.marshal.app.jetty.NapoleonMarshal.main(
> NapoleonMarshal.java:94)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at java.lang.reflect.Method.invoke(Unknown Source)
> jvm 1    |      at org.tanukisoftware.wrapper.WrapperStartStopApp.run(
> WrapperStartStopApp.java:238)
> jvm 1    |      at java.lang.Thread.run(Unknown Source)
> jvm 1    | 2008-01-30 16:47:24.184::WARN:  Nested in
> javax.servlet.ServletException: The "Dispatch" phase is not found on the
> global "InFlow" phase of the axis2.xml file. Make sure the phase is within
> the axis2.xml file.:
> jvm 1    | org.apache.axis2.deployment.DeploymentException: The "Dispatch"
> phase is not found on the global "InFlow" phase of the axis2.xml file.
> Make sure the phase is within the axis2.xml file.
> jvm 1    |      at
> org.apache.axis2.deployment.util.PhasesInfo.getGlobalInflow(
> PhasesInfo.java:111)
> jvm 1    |      at
> org.apache.axis2.engine.AxisConfiguration.validateSystemPredefinedPhases(
> AxisConfiguration.java:1022)
> jvm 1    |      at
> org.apache.axis2.deployment.DeploymentEngine.loadFromClassPath(
> DeploymentEngine.java:150)
> jvm 1    |      at
> org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(
> WarBasedAxisConfigurator.java:225)
> jvm 1    |      at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
> (ConfigurationContextFactory.java:60)
> jvm 1    |      at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(
> AxisServlet.java:486)
> jvm 1    |      at org.apache.axis2.transport.http.AxisServlet.init(
> AxisServlet.java:406)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> ServletHolder.java:433)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.doStart(
> ServletHolder.java:256)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.initialize(
> ServletHandler.java:612)
> jvm 1    |      at org.mortbay.jetty.servlet.Context.startContext(
> Context.java:139)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.startContext(
> WebAppContext.java:1216)
> jvm 1    |      at org.mortbay.jetty.handler.ContextHandler.doStart(
> ContextHandler.java:509)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.doStart(
> WebAppContext.java:447)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerCollection.doStart(
> HandlerCollection.java:147)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerWrapper.doStart(
> HandlerWrapper.java:117)
> jvm 1    |      at org.mortbay.jetty.Server.doStart(Server.java:222)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at
> com.wimba.napoleon.marshal.app.jetty.NapoleonMarshal.main(
> NapoleonMarshal.java:94)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at java.lang.reflect.Method.invoke(Unknown Source)
> jvm 1    |      at org.tanukisoftware.wrapper.WrapperStartStopApp.run(
> WrapperStartStopApp.java:238)
> jvm 1    |      at java.lang.Thread.run(Unknown Source)
> jvm 1    | 2008-01-30 16:47:24.224::WARN:  Failed startup of context
> org.mortbay.jetty.webapp.WebAppContext@1217e67{/,../webapp}
> jvm 1    | javax.servlet.ServletException: The "Dispatch" phase is not
> found on the global "InFlow" phase of the axis2.xml file. Make sure the
> phase is within the axis2.xml file.
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> ServletHolder.java:437)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.doStart(
> ServletHolder.java:256)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.initialize(
> ServletHandler.java:612)
> jvm 1    |      at org.mortbay.jetty.servlet.Context.startContext(
> Context.java:139)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.startContext(
> WebAppContext.java:1216)
> jvm 1    |      at org.mortbay.jetty.handler.ContextHandler.doStart(
> ContextHandler.java:509)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.doStart(
> WebAppContext.java:447)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerCollection.doStart(
> HandlerCollection.java:147)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerWrapper.doStart(
> HandlerWrapper.java:117)
> jvm 1    |      at org.mortbay.jetty.Server.doStart(Server.java:222)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at
> com.wimba.napoleon.marshal.app.jetty.NapoleonMarshal.main(
> NapoleonMarshal.java:94)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at java.lang.reflect.Method.invoke(Unknown Source)
> jvm 1    |      at org.tanukisoftware.wrapper.WrapperStartStopApp.run(
> WrapperStartStopApp.java:238)
> jvm 1    |      at java.lang.Thread.run(Unknown Source)
> jvm 1    | 2008-01-30 16:47:24.224::WARN:  Nested in
> javax.servlet.ServletException: The "Dispatch" phase is not found on the
> global "InFlow" phase of the axis2.xml file. Make sure the phase is within
> the axis2.xml file.:
> jvm 1    | javax.servlet.ServletException: The "Dispatch" phase is not
> found on the global "InFlow" phase of the axis2.xml file. Make sure the
> phase is within the axis2.xml file.
> jvm 1    |      at org.apache.axis2.transport.http.AxisServlet.init(
> AxisServlet.java:424)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> ServletHolder.java:433)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.doStart(
> ServletHolder.java:256)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.initialize(
> ServletHandler.java:612)
> jvm 1    |      at org.mortbay.jetty.servlet.Context.startContext(
> Context.java:139)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.startContext(
> WebAppContext.java:1216)
> jvm 1    |      at org.mortbay.jetty.handler.ContextHandler.doStart(
> ContextHandler.java:509)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.doStart(
> WebAppContext.java:447)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerCollection.doStart(
> HandlerCollection.java:147)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerWrapper.doStart(
> HandlerWrapper.java:117)
> jvm 1    |      at org.mortbay.jetty.Server.doStart(Server.java:222)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at
> com.wimba.napoleon.marshal.app.jetty.NapoleonMarshal.main(
> NapoleonMarshal.java:94)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at java.lang.reflect.Method.invoke(Unknown Source)
> jvm 1    |      at org.tanukisoftware.wrapper.WrapperStartStopApp.run(
> WrapperStartStopApp.java:238)
> jvm 1    |      at java.lang.Thread.run(Unknown Source)
> jvm 1    | 2008-01-30 16:47:24.224::WARN:  Nested in
> javax.servlet.ServletException: The "Dispatch" phase is not found on the
> global "InFlow" phase of the axis2.xml file. Make sure the phase is within
> the axis2.xml file.:
> jvm 1    | javax.servlet.ServletException: The "Dispatch" phase is not
> found on the global "InFlow" phase of the axis2.xml file. Make sure the
> phase is within the axis2.xml file.
> jvm 1    |      at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(
> AxisServlet.java:492)
> jvm 1    |      at org.apache.axis2.transport.http.AxisServlet.init(
> AxisServlet.java:406)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> ServletHolder.java:433)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.doStart(
> ServletHolder.java:256)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.initialize(
> ServletHandler.java:612)
> jvm 1    |      at org.mortbay.jetty.servlet.Context.startContext(
> Context.java:139)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.startContext(
> WebAppContext.java:1216)
> jvm 1    |      at org.mortbay.jetty.handler.ContextHandler.doStart(
> ContextHandler.java:509)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.doStart(
> WebAppContext.java:447)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerCollection.doStart(
> HandlerCollection.java:147)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerWrapper.doStart(
> HandlerWrapper.java:117)
> jvm 1    |      at org.mortbay.jetty.Server.doStart(Server.java:222)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at
> com.wimba.napoleon.marshal.app.jetty.NapoleonMarshal.main(
> NapoleonMarshal.java:94)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at java.lang.reflect.Method.invoke(Unknown Source)
> jvm 1    |      at org.tanukisoftware.wrapper.WrapperStartStopApp.run(
> WrapperStartStopApp.java:238)
> jvm 1    |      at java.lang.Thread.run(Unknown Source)
> jvm 1    | 2008-01-30 16:47:24.294::WARN:  Nested in
> javax.servlet.ServletException: The "Dispatch" phase is not found on the
> global "InFlow" phase of the axis2.xml file. Make sure the phase is within
> the axis2.xml file.:
> jvm 1    | org.apache.axis2.deployment.DeploymentException: The "Dispatch"
> phase is not found on the global "InFlow" phase of the axis2.xml file.
> Make sure the phase is within the axis2.xml file.
> jvm 1    |      at
> org.apache.axis2.deployment.util.PhasesInfo.getGlobalInflow(
> PhasesInfo.java:111)
> jvm 1    |      at
> org.apache.axis2.engine.AxisConfiguration.validateSystemPredefinedPhases(
> AxisConfiguration.java:1022)
> jvm 1    |      at
> org.apache.axis2.deployment.DeploymentEngine.loadFromClassPath(
> DeploymentEngine.java:150)
> jvm 1    |      at
> org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(
> WarBasedAxisConfigurator.java:225)
> jvm 1    |      at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
> (ConfigurationContextFactory.java:60)
> jvm 1    |      at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(
> AxisServlet.java:486)
> jvm 1    |      at org.apache.axis2.transport.http.AxisServlet.init(
> AxisServlet.java:406)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> ServletHolder.java:433)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.doStart(
> ServletHolder.java:256)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.initialize(
> ServletHandler.java:612)
> jvm 1    |      at org.mortbay.jetty.servlet.Context.startContext(
> Context.java:139)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.startContext(
> WebAppContext.java:1216)
> jvm 1    |      at org.mortbay.jetty.handler.ContextHandler.doStart(
> ContextHandler.java:509)
> jvm 1    |      at org.mortbay.jetty.webapp.WebAppContext.doStart(
> WebAppContext.java:447)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerCollection.doStart(
> HandlerCollection.java:147)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at org.mortbay.jetty.handler.HandlerWrapper.doStart(
> HandlerWrapper.java:117)
> jvm 1    |      at org.mortbay.jetty.Server.doStart(Server.java:222)
> jvm 1    |      at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
> jvm 1    |      at
> com.wimba.napoleon.marshal.app.jetty.NapoleonMarshal.main(
> NapoleonMarshal.java:94)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> jvm 1    |      at java.lang.reflect.Method.invoke(Unknown Source)
> jvm 1    |      at org.tanukisoftware.wrapper.WrapperStartStopApp.run(
> WrapperStartStopApp.java:238)
> jvm 1    |      at java.lang.Thread.run(Unknown Source)
>
> Error occur during the initialization of AxisServlet. I try to put an
> absolute path of the axis2.xml configuration file.
> My axis2.xml file is in the directory : C:\Documents and
> Settings\M\...long path....\webapp\WEB-INF\conf\
>
> i put this entry in the web.xml :
>
> <init-param>
>         <param-name>axis2.repository.path</param-name>
>         <param-value>C:\Documents and Settings\M\...long
> path....\webapp\WEB-INF\conf\</param-value>
> </init-param>


I went through the code and saw the axis2 reads the axis2.xml using the
parameter axis2.xml.path So it should be something like this (axis2.xml has
to be given)

<init-param>
        <param-name>axis2.xml.path</param-name>
        <param-value>C:\Documents and Settings\M\...long
path....\webapp\WEB-INF\conf\axis2.xml<
>
> /param-value>
> </init-param>


and for repository it uses axis2.repository.path (only upto WEB-INF)

<init-param>
        <param-name>axis2.repository.path</param-name>
        <param-value>C:\Documents and Settings\M\...long
path....\webapp\WEB-INF\</param-value>

> </init-param>


try with this.

thanks,
Amila.





>
> but it did not change anything. I don't know what to do. I read in an
> forum that this issue is fixed with the 2.3 version but i don't want to
> change my version (2.2)
>
> the link : http://wso2.org/forum/thread/2527
>
> thanks in advance,
>
> Mat
>
>
> 2008/1/29, Afkham Azeez <afkham@gmail.com>:
>
> > This stacktrace doesn't show the Axis2 classes, hence it is difficult to
> > tell what is wrong. Is it possible to get a full stacktrace? Also  can you
> > check whether the axis2.xml System property is pointing to some other
> > axis2.xml file. If not, can you try setting the absolute path to your
> > axis2.xml file as the axis2.xml System property and retry.
> >
> > HTH
> > Azeez
> >
> > On Tue, Jan 29, 2008 at 10:49 PM, mathieu fabre <mathieufab@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > I work on a project under java and i need to use an AxisServlet with
> > > specific transport (not http transport).
> > > I add an axis2.xml configuration file in the /WEB-INF/conf/ directory.
> > >
> > > I lauch my webapp with jetty.
> > >
> > > When i start my webapp, the AxisServlet fail and give me this
> > > exception :
> > >
> > > javax.servlet.ServletException: The "Dispatch" phase is not found on
> > > the global "InFlow" phase of the axis2.xml file. Make sure the phase
> > > is within the axis2.xml file.
> > >      at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> > > ServletHolder.java:437)
> > >      at org.mortbay.jetty.servlet.ServletHolder.doStart(
> > > ServletHolder.java:256)
> > >      at org.mortbay.component.AbstractLifeCycle.start(
> > > AbstractLifeCycle.java:40)
> > >
> > > But, if i look at the axis2.xml i found the dispatch phase (I use the
> > > default configuration ) :
> > >
> > > <phaseOrder type="InFlow">
> > >         <!--  System predefined phases       -->
> > >         <phase name="Transport">
> > >             <handler name="RequestURIBasedDispatcher" class="
> > > org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
> > >                 <order phase="Transport"/>
> > >             </handler>
> > >             <handler name="SOAPActionBasedDispatcher" class="
> > > org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
> > >                 <order phase="Transport"/>
> > >             </handler>
> > >         </phase>
> > >         <phase name="Addressing">
> > >              <handler name="AddressingBasedDispatcher" class="
> > > org.apache.axis2.dispatchers.AddressingBasedDispatcher">
> > >                  <order phase="Addressing"/>
> > >             </handler>
> > >         </phase>
> > >         <phase name="Security"/>
> > >         <phase name="PreDispatch"/>
> > >
> > >         <!-- HERE -->
> > >         <phase name="Dispatch" class="
> > > org.apache.axis2.engine.DispatchPhase">
> > >             <handler name="RequestURIBasedDispatcher" class="
> > > org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
> > >             <handler name="SOAPActionBasedDispatcher" class="
> > > org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
> > >             <handler name="RequestURIOperationDispatcher" class="
> > > org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
> > >             <handler name="SOAPMessageBodyBasedDispatcher" class="
> > > org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
> > >             <handler name="HTTPLocationBasedDispatcher" class="
> > > org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
> > >         </phase>
> > >
> > >         <phase name="RMPhase"/>
> > >         <!--  System predefined phases       -->
> > >         <!--   After Postdispatch phase module author or service
> > > author can add any phase he want      -->
> > >         <phase name="OperationInPhase"/>
> > >         <phase name="soapmonitorPhase"/>
> > >     </phaseOrder>
> > >
> > >   i don't know why the AxisServlet fail..... :(
> > >
> > > if you have any idea ? (i use the jar axis-kernel-1.2)
> > >
> > > thanks in advance,
> > >
> > > Mat
> > >
> >
> >
> >
> > --
> > Thanks
> > Afkham Azeez
> >
> > http://azeez78.blogspot.com
> > http://www.wso2.org
> > GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760
>
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message