axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne" <cset...@gmail.com>
Subject Re: javax.servlet.ServletException: Invalid phases please recheck axis2.xml
Date Sun, 15 Oct 2006 17:51:35 GMT
Hi Anthony,
We recently did the following refactoring's to the FLOW names for the
sake of consistency... That might be the reason behind your errors..

s/inflow/InFlow
s/outflow/OutFlow
s/INfaultflow/InFaultFlow
s/Outfaultflow/OutFaultFlow
s/disEngage/disengage

Please have a look at the following commits to if you need more details..
http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/conf/axis2.xml?r1=452309&r2=452365&diff_format=h
http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/conf/axis2.xml?view=markup

~Thilina

PS: s/X/Y means substitute 'X' with 'Y'


On 10/15/06, Anthony v <anthonyv@cvsol.com> wrote:
> Hi guys have a look at this and see what you think. I am moving a working
> AXIS2 app from my local machine to a test server. As far as I can tell
> everything is the same except that there is a slight difference in nightly
> builds that are on the test server to what the code was complied in but I
> don't think this would be the difference...
> Thanks in advance.
> Anthony
>
> Here is a stack trace:
>
> An unhandled exception of type 'System.InvalidOperationException' occurred
> in System.Web.Services.dll
>
> Additional information: Client found response content type of
> 'text/html;charset=utf-8', but expected 'text/xml'.
> The request failed with the error message:
> --
> <html><head><title>Apache Tomcat/5.5.17 - Error report</title><style><!--H1
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
> nt-size:22px;} H2
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
> nt-size:16px;} H3
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
> nt-size:14px;} BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> P
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:
> 12px;}A {color : black;}A.name {color : black;}HR {color :
> #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR
size="1"
> noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b>
> <u></u></p><p><b>description</b> <u>The server
encountered an internal error
> () that prevented it from fulfilling this
> request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException:
> Invalid phases please recheck axis2.xml {0} for the handler {1}
>
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:195)
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> )
>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> onnection(Http11BaseProtocol.java:664)
>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
>  java.lang.Thread.run(Unknown Source)
> </pre></p><p><b>root cause</b> <pre>javax.servlet.ServletException:
Invalid
> phases please recheck axis2.xml {0} for the handler {1}
>
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.ja
> va:218)
>
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> )
>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> onnection(Http11BaseProtocol.java:664)
>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
>  java.lang.Thread.run(Unknown Source)
> </pre></p><p><b>root cause</b>
> <pre>org.apache.axis2.deployment.DeploymentException: Invalid phases please
> recheck axis2.xml {0} for the handler {1}
>
> org.apache.axis2.deployment.util.PhasesInfo.getGlobalInflow(PhasesInfo.java:
> 111)
>
> org.apache.axis2.deployment.DeploymentEngine.validateSystemPredefinedPhases(
> DeploymentEngine.java:817)
>
> org.apache.axis2.deployment.DeploymentEngine.loadFromClassPath(DeploymentEng
> ine.java:126)
>
> org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(Wa
> rBasedAxisConfigurator.java:118)
>
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationCont
> ext(ConfigurationContextFactory.java:38)
>
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.ja
> va:213)
>
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> )
>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> onnection(Http11BaseProtocol.java:664)
>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
>  java.lang.Thread.run(Unknown Source)
> </pre></p><p><b>note</b> <u>The full stack trace
of the root cause is
> available in the Apache Tomcat/5.5.17 logs.</u></p><HR size="1"
> noshade="noshade"><h3>Apache Tomcat/5.5.17</h3></body></html>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

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


Mime
View raw message