Author: veithen
Date: Sun Aug 22 11:44:59 2010
New Revision: 987873

URL: http://svn.apache.org/viewvc?rev=987873&view=rev
Log:
Added a sample configuration for the SOAP monitor servlet and include the 
applet classes in the webapp. To use the SOAP monitor, it is now sufficient to 
uncomment the servlet configuration in web.xml and to engage the soapmonitor 
module.

Modified:
    axis/axis2/java/core/trunk/modules/webapp/conf/web.xml
    axis/axis2/java/core/trunk/modules/webapp/pom.xml

Modified: axis/axis2/java/core/trunk/modules/webapp/conf/web.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/webapp/conf/web.xml?rev=987873&r1=987872&r2=987873&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/webapp/conf/web.xml (original)
+++ axis/axis2/java/core/trunk/modules/webapp/conf/web.xml Sun Aug 22 11:44:59 
2010
@@ -45,6 +45,18 @@
         <servlet-class>
             org.apache.axis2.webapp.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>1</load-on-startup>
+    </servlet -->
+    
     <servlet-mapping>
         <servlet-name>AxisServlet</servlet-name>
         <url-pattern>/servlet/AxisServlet</url-pattern>
@@ -65,6 +77,11 @@
         <url-pattern>/axis2-admin/*</url-pattern>
     </servlet-mapping>
 
+    <!-- servlet-mapping>
+        <servlet-name>SOAPMonitorService</servlet-name>
+        <url-pattern>/SOAPMonitor</url-pattern>
+    </servlet-mapping -->
+    
     <mime-mapping>
         <extension>inc</extension>
         <mime-type>text/plain</mime-type>

Modified: axis/axis2/java/core/trunk/modules/webapp/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/webapp/pom.xml?rev=987873&r1=987872&r2=987873&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/webapp/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/webapp/pom.xml Sun Aug 22 11:44:59 2010
@@ -278,6 +278,22 @@
                 </executions>
             </plugin>
             <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>unpack-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            
<outputDirectory>${project.build.directory}/webResources</outputDirectory>
+                            
<includeArtifactIds>soapmonitor-servlet</includeArtifactIds>
+                            
<includes>org/apache/axis2/soapmonitor/applet/**/*.class</includes>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <artifactId>maven-war-plugin</artifactId>
                 <configuration>
                     <warName>axis2</warName>


Reply via email to