Smitha

Firstly, you should take a refresh of the Savan build - they just removed
the phases/handlers, so the new build will work fine with a standard
axis2.xml.

Secondly, the way phases work, you don't need to define the handlers
directly (except in special cases). The normal way is that the axis2 defines
the phases without any handlers - and the module *injects* the handlers into
the phases. The only exception is some of the dispatching handlers which are
defined inline in the axis2.xml.

Paul

On 5/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

   I am getting the following exception when I am starting the server.

    I have the following entries in axis2.xml

<phaseOrder type="inflow">

        <!--  System pre defined phases       -->

        <phase name="TransportIn"/>

        <phase name="PreDispatch"/>

        <phase name="Dispatch" class="
org.apache.axis2.engine.DispatchPhase">

            <handler name="AddressingBasedDispatcher"

                     class="
org.apache.axis2.engine.AddressingBasedDispatcher">

                <order phase="Dispatch"/>

            </handler>



            <handler name="RequestURIBasedDispatcher"

                     class="
org.apache.axis2.engine.RequestURIBasedDispatcher">

                <order phase="Dispatch"/>

            </handler>



            <handler name="SOAPActionBasedDispatcher"

                     class="
org.apache.axis2.engine.SOAPActionBasedDispatcher">

                <order phase="Dispatch"/>

            </handler>



            <handler name="SOAPMessageBodyBasedDispatcher"

                     class="
org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">

                <order phase="Dispatch"/>

            </handler>

            <handler name="InstanceDispatcher"

                     class="org.apache.axis2.engine.InstanceDispatcher">

                <order phase="PostDispatch"/>

            </handler>

        </phase>

*     <phase name=OpPhase>*

*                         <handler name="SavanInHandler" class="
org.apache.savan.handlers.SavanInHandler">*

*         <order phase="Dispatch"/>*

*       </phase>*

        <!--  System pre defined phases       -->

        <!--   After Postdispatch phase module author or or service author
can add any phase he want      -->



                          <phase name="userphase1"/>







    </phaseOrder



Is there any thing wrong in the way I've configured it.

I attached the module.xml also



BR

Smitha Aldrin





org.apache.axis2.phaseresolver.PhaseException: Invalid phases please
recheck ax

s2.xml OpPhase for the handler SavanInHandler

        at org.apache.axis2.phaseresolver.PhaseHolder.addHandler(
PhaseHolder.ja

a:66)

        at
org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToOperation

PhaseResolver.java:191)

        at
org.apache.axis2.description.AxisOperation.engageModuleToOperation(A

isOperation.java:151)

        at org.apache.axis2.description.AxisOperation.engageModule
(AxisOperatio

.java:125)

        at org.apache.axis2.description.AxisService.engageModule(
AxisService.ja

a:525)

        at org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup
(Deploy

entEngine.java:416)

        at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup
(Deploym

ntEngine.java:356)

        at org.apache.axis2.deployment.DeploymentEngine.doDeploy
(DeploymentEngi

e.java:532)

        at org.apache.axis2.deployment.repository.util.WSInfoList.update
(WSInfo

ist.java:196)

        at org.apache.axis2.deployment.RepositoryListener.update
(RepositoryList

ner.java:227)

        at org.apache.axis2.deployment.RepositoryListener.checkServices
(Reposit

ryListener.java:174)

        at org.apache.axis2.deployment.DeploymentEngine.loadServices
(Deployment

ngine.java:88)

        at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(Wa

BasedAxisConfigurator.java:252)

        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigura

ionContext(ConfigurationContextFactory.java:72)

        at org.apache.axis2.transport.http.AxisServlet.initConfigContext
(AxisSe

vlet.java:392)

        at org.apache.axis2.transport.http.AxisServlet.init(
AxisServlet.java:33

)

        at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper

java:1091)

        at org.apache.catalina.core.StandardWrapper.load(
StandardWrapper.java:9

5)

        at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardConte

t.java:3857)

        at org.apache.catalina.core.StandardContext.start(
StandardContext.java:

118)

        at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBas

.java:759)

        at org.apache.catalina.core.ContainerBase.addChild(
ContainerBase.java:7

9)

        at org.apache.catalina.core.StandardHost.addChild(
StandardHost.java:524



        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl

java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcce

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.apache.commons.modeler.BaseModelMBean.invoke(
BaseModelMBean.java

503)

        at org.jboss.mx.server.RawDynamicInvoker.invoke(
RawDynamicInvoker.java:

50)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java
:644)

        at org.apache.catalina.core.StandardContext.init(
StandardContext.java:5

05)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl

java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcce

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.apache.commons.modeler.BaseModelMBean.invoke(
BaseModelMBean.java

503)

        at org.jboss.mx.server.RawDynamicInvoker.invoke(
RawDynamicInvoker.java:

50)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java
:644)

        at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal
(Tomcat

eployer.java:274)

        at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy
(TomcatDeployer

java:91)

        at org.jboss.web.AbstractWebDeployer.start(
AbstractWebDeployer.java:357



        at org.jboss.web.WebModule.startModule(WebModule.java:68)

        at org.jboss.web.WebModule.startService(WebModule.java:46)

        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart
(ServiceMBean

upport.java:272)

        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle
(ServiceM

eanSupport.java:222)

        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcce

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatc

er.java:141)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker

java:249)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java
:644)

        at org.jboss.system.ServiceController$ServiceProxy.invoke
(ServiceContro

ler.java:897)

        at $Proxy0.start(Unknown Source)

        at org.jboss.system.ServiceController.start(ServiceController.java
:418)

        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcce

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatc

er.java:141)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker

java:249)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java
:644)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

        at $Proxy28.start(Unknown Source)

        at org.jboss.web.AbstractWebContainer.start(
AbstractWebContainer.java:3

4)

        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)

        at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcce

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatc

er.java:141)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke
(AbstractIntercep

or.java:121)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke
(Model

BeanOperationInterceptor.java:127)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker

java:249)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java
:644)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

        at $Proxy8.deploy(Unknown Source)

        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy
(URLDeployme

tScanner.java:325)

        at org.jboss.deployment.scanner.URLDeploymentScanner.scan
(URLDeployment

canner.java:501)

        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread

doScan(AbstractDeploymentScanner.java:204)

        at
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(

bstractDeploymentScanner.java:277)

        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart
(ServiceMBean

upport.java:272)

        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle
(ServiceM

eanSupport.java:222)

        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcce

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatc

er.java:141)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker

java:249)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java
:644)

        at org.jboss.system.ServiceController$ServiceProxy.invoke
(ServiceContro

ler.java:897)

        at $Proxy0.start(Unknown Source)



The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.

www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

Reply via email to