axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <robertlazar...@gmail.com>
Subject Re: Userguide Logging Module does not work
Date Fri, 21 Apr 2006 20:30:37 GMT
This is fixed in the latest svn - simply renaming LoggingModule.mar to
logging.mar should make it to work.

HTH,
Robert
http://www.braziloutsource.com

On 4/21/06, f.linz@gmx.de <f.linz@gmx.de> wrote:
>
> Hi!
>
> I tried to get the logging module working as described in
> http://ws.apache.org/axis2/0_95/userguide4.html. Unforunately it does not
> work. I get the following error:
>
> Invalid service  MyService1.jar due to Invalid phases please recheck
> axis2.xml loggingPhase for the handler InFlowLogHandler
>
> I added the tag <phase name="loggingPhase"/> in the axis2.xml and used the
> LoggingModule.mar provided with the userguide samples.
>
> Can somebody help me here.
>
> Thanks!!
>
> P.S. Is the SOAP-Monitor already useable for Axis2?
>
>
>
>
> <!-- ================================================= -->
>     <!-- Phases  -->
>     <!-- ================================================= -->
>     <phaseOrder type="inflow">
>         <!--  System pre defined phases       -->
>         <phase name="TransportIn"/>
>         <phase name="PreDispatch"/>
>         <phase name="Dispatch"
> class="org.apache.axis2.engine.DispatchPhase">
>             <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="AddressingBasedDispatcher"
>
> class="org.apache.axis2.engine.AddressingBasedDispatcher">
>                 <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>
>         <!--  System pre defined phases       -->
>         <!--   After Postdispatch phase module author or or service author
> can add any phase he want      -->
>         <phase name="loggingPhase"/>
>         <phase name="OperationInPhase"/>
>     </phaseOrder>
>     <phaseOrder type="outflow">
>         <!--      user can add his own phases to this area  -->
>         <phase name="OperationOutPhase"/>
>         <phase name="loggingPhase"/>
>         <!--system predefined phase-->
>         <!--these phase will run irrespective of the service-->
>         <phase name="PolicyDetermination"/>
>         <phase name="MessageOut"/>
>     </phaseOrder>
>     <phaseOrder type="INfaultflow">
>         <!--      user can add his own phases to this area  -->
>         <phase name="loggingPhase"/>
>         <phase name="OperationFaultInPhase"/>
>     </phaseOrder>
>     <phaseOrder type="Outfaultflow">
>         <!--      user can add his own phases to this area  -->
>         <phase name="loggingPhase"/>
>         <phase name="OperationOutPhase"/>
>         <phase name="PolicyDetermination"/>
>         <phase name="MessageOut"/>
>     </phaseOrder>
>
> --
> Echte DSL-Flatrate dauerhaft für 0,- Euro*!
> "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
>
>
> --
> GMX Produkte empfehlen und ganz einfach Geld verdienen!
> Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
>

Mime
View raw message