I'm not completely clear on your setup but it seems to me you are
creating a ConfigurationContext yourself or are not loading the same
axis2.xml as you showed me - which is why putting axis2 in debug would
help as it would confirm the soapmonitorPhase is  being loaded in
inflow.

Anywhich way though, what you are lacking is getting the
soapmonitorPhase configured in inflow - be it via axis2.xml,
ConfigurationContext etc. Are you able to engage and run the other
modules like logging and ping ok in your embedded setup? Can you load
the phases programtically in your embedded setup? See the unit tests
in the src tree for how to do phase loading programtically - sorry for
being a bit vague here but looking at the source is the quickest way
to tackle advance cases like this.

HTH,
Robert

On Jan 4, 2008 12:39 PM, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
> Robert,
>
> I get that error if I run an embedded version of axis2. If I deploy
> it to tomcat (clean setup) it works fine.
>
> Jan 4, 2008 3:36:45 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Jan 4, 2008 3:36:45 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1011 ms
> Jan 4, 2008 3:36:46 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Jan 4, 2008 3:36:46 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
> Jan 4, 2008 3:36:46 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive axis2.war
> [INFO] Deploying module: addressing-1.3
> [INFO] Deploying module: metadataExchange-1.3
> [INFO] Deploying module: ping-1.3
> [INFO] Deploying module: script-1.3
> [INFO] Deploying module: soapmonitor-1.3
> [INFO] script module activated
> [INFO] HTTP Sender starting
> [INFO] Deploying Web service: version.aar
> Jan 4, 2008 3:36:50 PM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Jan 4, 2008 3:36:50 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Jan 4, 2008 3:36:50 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/52  config=null
> Jan 4, 2008 3:36:50 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 5161 ms
>
>
> Any idea?
> Michele
>
>
> On 4 Jan 2008, at 14:50, robert lazarski wrote:
>
> > Michele, can you post your entire stacktrace please? I can't match the
> > error you get with current svn. The error you are getting indicates no
> > soapmonitorPhase in inflow, yet your axis2.xml does have it.  So
> > sorry, no clear indication of the problem yet.  You could try putting
> > axis2 in debug to see the phases loaded, which may flush out the error
> > by confirming the phase isn't loaded.
> >
> > Alternatively, try out tcpmon ;-) .
> >
> > Good luck,
> > Robert
> >
> > On Jan 4, 2008 10:11 AM, Michele Mazzucco
> > <[EMAIL PROTECTED]> wrote:
> >> Robert,
> >>
> >> if the module is globally engaged I get the error I mentioned in my
> >> previous email. The same happens also if I "dynamically" engage the
> >> module.
> >>
> >> Michele
> >>
> >>
> >> On 4 Jan 2008, at 12:01, robert lazarski wrote:
> >>
> >>> You need to engage the module. Search for:
> >>>
> >>> <module ref="addressing"/>
> >>>
> >>> Then in the same place, add:
> >>>
> >>> <module ref="soapmonitor"/>
> >>>
> >>> HTH,
> >>> Robert
> >>>
> >>> On Jan 4, 2008 8:44 AM, Michele Mazzucco
> >>> <[EMAIL PROTECTED]> wrote:
> >>>> Robert,
> >>>>
> >>>> in axis2 1.3 all the phases needed by the soap monitor module are
> >>>> already included.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Michele
> >>>>
> >>>> On 4 Jan 2008, at 11:07, robert lazarski wrote:
> >>>>
> >>>>> The exception is pretty self descriptive... show us the entire
> >>>>> axis2.xml and maybe we can help.
> >>>>>
> >>>>> Robert
> >>>>>
> >>>>> On Jan 4, 2008 7:39 AM, Michele Mazzucco
> >>>>> <[EMAIL PROTECTED]> wrote:
> >>>>>> Hi all,
> >>>>>>
> >>>>>> I can't enage the soapmonitor module under Axis2 1.3 because
> >>>>>> of the
> >>>>>> following error
> >>>>>>   org.apache.axis2.phaseresolver.PhaseException: Did not find the
> >>>>>> desired phase 'soapmonitorPhase' while deploying handler
> >>>>>> 'InFlowSOAPMonitorHandler'.
> >>>>>>
> >>>>>> My axis2.xml differs from the default one only because of the NIO
> >>>>>> transport listener.
> >>>>>>
> >>>>>>
> >>>>>> Any idea?
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Michele
> >>>>>>
> >>>>>>
> >>>>>> -----------------------------------------------------------------
> >>>>>> --
> >>>>>> --
> >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> ------------------------------------------------------------------
> >>>>> --
> >>>>> -
> >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> -------------------------------------------------------------------
> >>>> --
> >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>
> >>>
> >>> --------------------------------------------------------------------
> >>> -
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > ---------------------------------------------------------------------
>
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to