robert lazarski a écrit :
Did you edit the web.xml ? Please read the docs carefully - the
required info is all there.

HTH,
Robert

On 10/9/07, Antonio Manuel Muñiz Martín <[EMAIL PROTECTED]> wrote:
This is exactly what I do. And the response is "The requested resource is
not available" when I try /axis2/SOAPMonitor
Another idea?
Thanks.


2007/10/9, Fátima Milla Olaya < [EMAIL PROTECTED]>:
Unzip the applet classes and place them at the root of the war - for
example axis2/SOAPMonitorApplet*.class

Suerte!

Antonio Manuel Muñiz Martín a écrit :
Ok. Thanks.

I extract the soapmonitor.jar file in root directory (/axis2) and I
configured the axis2.xml and web.xml in axis2 distribution.
When I put the URL localhost:8080/axis2/SOAPMonitor in
the browser the
response is "The requested resource is not available".
I forgot anything?

Thanks a lot for your effort.
Regards,
Antonio.

axis2-soapmonitor.jar got renamed to soapmonitor.jar during the
conversion to maven2 for the 1.3 release. Thanks for pointing that
out, I'll update the docs.
HTH,
Robert

On 10/9/07, Antonio Manuel Muñiz Martín < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:

Hi.

 Where is axis2-soapmonitor.jar ? This file appears in the doc but I
do
not find it.
 The command javac -classpath axis2-soapmonitor.jar
SOAPMonitorApplet-java uses it.

 Regards.



________________________________
 Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede
contener información clasificada por su emisor como confidencial en el
marco de su Sistema de Gestión de Seguridad de la Información siendo
para uso exclusivo del destinatario, quedando prohibida su divulgación
copia o distribución a terceros sin la autorización expresa del
remitente. Si Vd. ha recibido este mensaje erróneamente, se ruega lo
notifique al remitente y proceda a su borrado. Gracias por su
colaboración.
________________________________
 This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are
addressed. Any unauthorised copy, disclosure or distribution of this
message is strictly forbidden. If you have received this transmission
in error, please notify the sender immediately and delete it.
________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[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]


These are the two files that I have written. Take a look or copy them. Bye

*Web.xml*

<?xml version="1.0" encoding="ISO-8859-1"?>

<!--
 ~ Licensed to the Apache Software Foundation (ASF) under one
 ~ or more contributor license agreements. See the NOTICE file
 ~ distributed with this work for additional information
 ~ regarding copyright ownership. The ASF licenses this file
 ~ to you under the Apache License, Version 2.0 (the
 ~ "License"); you may not use this file except in compliance
 ~ with the License. You may obtain a copy of the License at
 ~
 ~ http://www.apache.org/licenses/LICENSE-2.0
 ~
 ~ Unless required by applicable law or agreed to in writing,
 ~ software distributed under the License is distributed on an
 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 ~ KIND, either express or implied. See the License for the
 ~ specific language governing permissions and limitations
 ~ under the License.
 -->
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>
   <display-name>Apache-Axis2</display-name>
   <servlet>
       <servlet-name>AxisServlet</servlet-name>
       <display-name>Apache-Axis Servlet</display-name>
<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
       <!--<init-param>-->
       <!--<param-name>axis2.xml.path</param-name>-->
       <!--<param-value>/WEB-INF/conf/axis2.xml</param-value>-->
       <!--<param-name>axis2.xml.url</param-name>-->
       <!--<param-value>http://localhot/myrepo/axis2.xml</param-value>-->
       <!--<param-name>axis2.repository.path</param-name>-->
       <!--<param-value>/WEB-INF</param-value>-->
       <!--<param-name>axis2.repository.url</param-name>-->
       <!--<param-value>http://localhot/myrepo</param-value>-->
       <!--</init-param>-->
       <load-on-startup>1</load-on-startup>
   </servlet>
   <servlet>
       <servlet-name>AxisAdminServlet</servlet-name>
<display-name>Apache-Axis AxisAdmin Servlet (Web Admin)</display-name>
       <servlet-class>
           org.apache.axis2.transport.http.AxisAdminServlet</servlet-class>
   </servlet>
   <servlet>
      <servlet-name>SOAPMonitorService</servlet-name>
      <display-name>SOAPMonitorService</display-name>
      <servlet-class>
        org.apache.axis2.soapmonitor.servlet.SOAPMonitorService
      </servlet-class>
      <init-param>
         <param-name>SOAPMonitorPort</param-name>
         <param-value>5001</param-value>
      </init-param>
      <load-on-startup>100</load-on-startup>
   </servlet>

   <servlet-mapping>
       <servlet-name>SOAPMonitorService</servlet-name>
       <url-pattern>/SOAPMonitor</url-pattern>
   </servlet-mapping>


   <servlet-mapping>
       <servlet-name>AxisServlet</servlet-name>
       <url-pattern>/servlet/AxisServlet</url-pattern>
   </servlet-mapping>

   <servlet-mapping>
       <servlet-name>AxisServlet</servlet-name>
       <url-pattern>*.jws</url-pattern>
   </servlet-mapping>

   <servlet-mapping>
       <servlet-name>AxisServlet</servlet-name>
       <url-pattern>/services/*</url-pattern>
   </servlet-mapping>

   <servlet-mapping>
       <servlet-name>AxisAdminServlet</servlet-name>
       <url-pattern>/axis2-admin/*</url-pattern>
   </servlet-mapping>

   <mime-mapping>
       <extension>inc</extension>
       <mime-type>text/plain</mime-type>
   </mime-mapping>

  <welcome-file-list>
     <welcome-file>index.jsp</welcome-file>
     <welcome-file>index.html</welcome-file>
     <welcome-file>/axis2-web/index.jsp</welcome-file>
   </welcome-file-list>

   <error-page>
     <error-code>404</error-code>
     <location>/axis2-web/Error/error404.jsp</location>
   </error-page>

   <error-page>
       <error-code>500</error-code>
       <location>/axis2-web/Error/error500.jsp</location>
   </error-page>
</web-app>

*Axis2.xml*

FaultFlow">
       <phase name="Addressing">
            <handler name="AddressingBasedDispatcher"
class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
                <order phase="Addressing"/>
           </handler>
       </phase>
       <phase name="Security"/>
       <phase name="PreDispatch"/>
<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"/>
       <!--      user can add his own phases to this area  -->
       <phase name="userphase1"/>
       <phase name="OperationInFaultPhase"/>
       <phase name="soapmonitorPhase"/>
   </phaseOrder>
   <phaseOrder type="OutFaultFlow">
       <!--      user can add his own phases to this area  -->
       <phase name="userphase1"/>
       <phase name="soapmonitorPhase"/>
       <phase name="OperationOutFaultPhase"/>
       <phase name="RMPhase"/>
       <phase name="PolicyDetermination"/>
       <phase name="MessageOut"/>
   </phaseOrder>
</axisconfig>



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

Reply via email to