You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by de...@apache.org on 2006/03/08 10:01:53 UTC

svn commit: r384160 [1/4] - in /webservices/axis2/trunk/archive/java/scratch/Axis_Management_module: ./ management/ management/etc/ management/resources/ management/resources/management-console/ management/resources/management-console/css/ management/r...

Author: deepal
Date: Wed Mar  8 01:01:46 2006
New Revision: 384160

URL: http://svn.apache.org/viewcvs?rev=384160&view=rev
Log:
-applying Chathura's patch on Management module

Added:
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/maven.xml
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/project.properties
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/project.xml
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/maven.xml
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/project.xml
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/css/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/css/axis-style.css
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/images/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/images/asf-logo.gif   (with props)
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/images/axis.jpg   (with props)
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/web.xml
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-module/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-module/module.xml
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-services/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-services/services.xml
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/readme.txt
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2Console.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2DynamicStatsConsole.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2ModulesConsole.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2OperationsConsole.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2ServiceGroupsConsole.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2ServicesConsole.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2TransportsConsole.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Error.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Login.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/AbstractStub.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/AxisDynamicStatsStub.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/AxisGlobalsStub.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/AxisModulesStub.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/AxisOperationStatsStub.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/AxisOperationsStub.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/AxisServiceGroupsStub.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/AxisServiceStatsStub.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/AxisServicesStub.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/stubs/AxisTransportsStub.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/admin/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/admin/DMAdmin.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/managers/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/managers/DynamicStatsManager.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/managers/GlobalManager.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/managers/ModuleManager.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/managers/OperationManager.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/managers/ServiceGroupManager.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/managers/ServiceManager.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/managers/TransportManager.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/utils/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/utils/OperationStats.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/core/utils/ServiceStats.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/AbstractDMService.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/AxisDynamicStats.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/AxisGlobals.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/AxisModules.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/AxisOperationStats.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/AxisOperations.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/AxisServiceGroups.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/AxisServiceStats.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/AxisServices.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/interfaces/ws/AxisTransports.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/invoker/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/invoker/DMHandler.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/invoker/DMModule.java
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/xdocs/
    webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/xdocs/management.html

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/maven.xml?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/maven.xml (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/maven.xml Wed Mar  8 01:01:46 2006
@@ -0,0 +1,248 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2003-2004 The Apache Software Foundation
+
+    Licensed 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.
+-->
+
+
+<!-- $Rev: 330371 $ $Date: 2005-11-02 16:57:37 -0500 (Wed, 02 Nov 2005) $ -->
+
+<project default="default"
+    xmlns:j="jelly:core"
+    xmlns:u="jelly:util"
+    xmlns:ant="jelly:ant"
+    xmlns:maven="jelly:maven"
+    xmlns:define="jelly:define"
+    xmlns:velocity="jelly:velocity"
+    >
+
+    <!-- ================= -->
+    <!-- Global Properties -->
+    <!-- ================= -->
+
+    <!-- Determine what the top-level project root is -->
+    <j:set var="project.root" value="${pom.parentBasedir().getParentFile().getCanonicalFile()}"/>
+
+    <!-- ==================== -->
+    <!-- Default Global Goals -->
+    <!-- ==================== -->
+
+    <goal name="default">
+        <attainGoal name="jar:install"/>
+    </goal>
+
+    <goal name="build">
+        <attainGoal name="default"/>
+    </goal>
+
+    <goal name="rebuild">
+        <attainGoal name="clean"/>
+        <attainGoal name="build"/>
+    </goal>
+
+    <!-- For testing -->
+    <goal name="hello">
+        <ant:echo>
+            H E L L O
+            ---------
+            Module Name ${pom.name} [${pom.currentVersion}]
+            Axis2: ${axis2_version}
+        </ant:echo>
+    </goal>
+
+    <postGoal name="java:prepare-filesystem">
+      <u:file var="file" name="${maven.home}/lib/jalopy.jar"/>
+      <j:if test="${file.exists()}">
+        <ant:path id="jalopy.library">
+          <ant:fileset dir="${maven.home}/lib">
+            <ant:include name="jalopy.jar"/>
+          </ant:fileset>
+        </ant:path>
+        <maven:addPath id="maven.dependency.classpath" refid="jalopy.library"/>
+      </j:if>
+    </postGoal>
+
+    <!-- Remove classes which depend on changed files, so they will rebuild. -->
+    <!-- TODO: Fix me
+    <preGoal name="java:compile">
+        <j:if test="${sourcesPresent}">
+            <ant:depend srcdir="${maven.compile.source}"
+                destdir="${maven.build.dest}"
+                dump="false"
+                closure="false">
+                <j:forEach var="sm" items="${pom.build.sourceModifications}">
+                    <ant:available property="classPresent" classname="${sm.className}"/>
+                    <j:if test="${classPresent != 'true'}">
+                        <j:forEach var="exclude" items="${sm.excludes}">
+                            <ant:exclude name="${exclude}"/>
+                        </j:forEach>
+                        <j:forEach var="include" items="${sm.includes}">
+                            <ant:include name="${include}"/>
+                        </j:forEach>
+                    </j:if>
+                </j:forEach>
+            </ant:depend>
+        </j:if>
+    </preGoal>
+    -->
+
+    <!-- Construct dependency lists for inclusion in generated jar. -->
+    <!-- putting this goal here produces a circular dependency -->
+
+    <!-- Remove the log files -->
+    <goal name="clobber"
+        description="Removes all (non-repository installed) build generated files">
+
+        <!-- Let clean:clean do some work first -->
+        <attainGoal name="clean:clean"/>
+
+        <j:jelly xmlns="jelly:ant">
+            <delete quiet="false" failonerror="false">
+                <fileset dir="${basedir}">
+                    <include name="maven.log"/>
+                    <include name="velocity.log*"/>
+                    <include name="junit*.properties"/>
+                </fileset>
+            </delete>
+        </j:jelly>
+
+    </goal>
+
+    <!-- Cleanse source files -->
+    <goal name="cleanse-sources"
+        description="Cleanse source files, removing tabs and translating CRLF -> LF">
+
+        <j:scope xmlns="jelly:ant">
+
+            <!-- Cleanse sources -->
+            <j:set var="srcdir" value="${basedir}/src/java"/>
+            <u:available file="">
+                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*.java"/>
+                </fixcrlf>
+                <fixcrlf srcdir="${basedir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*.xml"/>
+                    <include name="**/*.html"/>
+                </fixcrlf>
+            </u:available>
+
+            <!-- Cleanse test sources -->
+            <j:set var="srcdir" value="${basedir}/src/test"/>
+            <u:available file="${srcdir}">
+                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*.java"/>
+                    <include name="**/*.xml"/>
+                    <include name="**/*.html"/>
+                </fixcrlf>
+                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*.xml"/>
+                    <include name="**/*.html"/>
+                </fixcrlf>
+            </u:available>
+
+            <!-- Cleanse xdocs -->
+            <j:set var="srcdir" value="${basedir}/src/xdocs"/>
+            <u:available file="${srcdir}">
+                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*.xml"/>
+                    <include name="**/*.html"/>
+                </fixcrlf>
+            </u:available>
+
+            <!-- Cleanse build files -->
+            <fixcrlf srcdir="." eol="lf" tab="remove" eof="remove" tablength="4">
+                <include name="project.xml"/>
+                <include name="maven.xml"/>
+            </fixcrlf>
+
+            <!-- Cleanse scripts -->
+            <j:set var="srcdir" value="${basedir}/src/bin"/>
+            <u:available file="${srcdir}">
+                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*"/>
+                </fixcrlf>
+            </u:available>
+
+        </j:scope>
+
+    </goal>
+
+    <goal name="java-src"
+        description="Creates an archive containing only java source.">
+
+        <u:available file="${basedir}/src/java">
+            <j:set var="javaSrcBuilt" value="true"/>
+            <ant:mkdir dir="${basedir}/target"/>
+            <ant:jar destfile="${basedir}/target/${pom.artifactId}-${pom.currentVersion}-java-src.jar">
+                <fileset dir="${basedir}/src/java"/>
+                <u:available file="${basedir}/target/xmlbeans">
+                    <fileset dir="${basedir}/target/xmlbeans"/>
+                </u:available>
+            </ant:jar>
+        </u:available>
+
+        <j:if test="${javaSrcBuilt != 'true'}">
+            <u:available file="${basedir}/target/xmlbeans">
+                <j:set var="java-src.built" value="true"/>
+                <ant:mkdir dir="${basedir}/target"/>
+                <ant:jar destfile="${basedir}/target/${pom.artifactId}-${pom.currentVersion}-java-src.jar">
+                    <fileset dir="${basedir}/target/xmlbeans"/>
+                </ant:jar>
+            </u:available>
+        </j:if>
+    </goal>
+
+    <!-- If there is no src/test directory you can
+    turn off clover in that module by overriding this goal to do nothing -->
+    <goal name="clover.wrapper">
+        <attainGoal name="clover"/>
+    </goal>
+
+    <preGoal name="clover:test">
+        <j:set var="cloveroverride" value="true"/>
+    </preGoal>
+
+    <!-- Check if the tests need to run -->
+    <!--
+    <preGoal name="test:test">
+        <j:if test="${context.getVariable('maven.test.force') == null}">
+            <j:if test="${cloveroverride != 'true'}">
+                <j:set var="uptodatePropName" value="tests.uptodate"/>
+                <j:remove var="${uptodatePropName}"/>
+                <ant:mkdir dir="${basedir}/target/test-reports/"/>
+                <j:set var="uptodateFile" value="${basedir}/target/test-reports/tstamp"/>
+
+                <ant:uptodate property="${uptodatePropName}" targetfile="${uptodateFile}">
+                    <ant:srcfiles dir="${basedir}/src/" includes="**/*"/>
+                </ant:uptodate>
+
+                <j:if test="${context.getVariable(uptodatePropName) == 'true'}">
+                    <ant:echo>NOTICE: Skipping tests; they seem to have passed already</ant:echo>
+                    <j:set var="maven.test.skip" value="true"/>
+                    <j:set var="unitTestSourcesPresent" value="false"/>
+                </j:if>
+            </j:if>
+        </j:if>
+    </preGoal>
+    -->
+    <!-- Update the timestamp of the last successful test -->
+    <!--
+    <postGoal name="test:test">
+        <j:if test="${context.getVariable('maven.test.failure') == null}">
+            <ant:touch file="${basedir}/target/test-reports/tstamp"/>
+        </j:if>
+    </postGoal>
+    -->
+</project>

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/project.properties
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/project.properties?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/project.properties (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/project.properties Wed Mar  8 01:01:46 2006
@@ -0,0 +1,139 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+#
+# Licensed 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.
+# -------------------------------------------------------------------
+
+
+# -------------------------------------------------------------------
+#                Project Information
+# -------------------------------------------------------------------
+version_number=0.95
+version_affix=SNAPSHOT
+axis2_version=${version_number}-${version_affix}
+addressing_version=${version_number}-${version_affix}
+security_version=${version_number}-${version_affix}
+
+# -------------------------------------------------------------------
+#                Dependency Repositories
+# -------------------------------------------------------------------
+maven.repo.remote=\
+http://www.ibiblio.org/maven,\
+http://cvs.apache.org/repository/,\
+http://www.apache.org/dist/java-repository/,\
+http://www.openejb.org/maven,\
+http://dist.codehaus.org/,\
+http://mirrors.sunsite.dk/maven/
+
+
+# -------------------------------------------------------------------
+#                Multiproject includes and excludes
+# -------------------------------------------------------------------
+
+optional.includes=
+
+maven.multiproject.includes=\
+modules/common/project.xml,\
+modules/adb/project.xml,\
+modules/codegen/project.xml,\
+modules/wsdl/project.xml,\
+modules/core/project.xml,\
+modules/addressing/project.xml,\
+modules/tool/project.xml,\
+modules/samples/project.xml,\
+modules/security/project.xml,\
+modules/integration/project.xml,\
+modules/saaj/project.xml,\
+modules/doom/project.xml,\
+${optional.includes}
+
+#maven.multiproject.excludes=modules/tool/project.xml
+
+# -------------------------------------------------------------------
+#                JUnit
+# -------------------------------------------------------------------
+maven.junit.jvmargs=-Xmx256m -Djava.awt.headless=true
+maven.junit.fork=true
+
+# -------------------------------------------------------------------
+#                Compile
+# -------------------------------------------------------------------
+maven.compile.optimize=false
+maven.compile.fork=true
+maven.compile.target=1.4
+maven.compile.source=1.4
+
+# -------------------------------------------------------------------
+#                Versions of dependencies
+# -------------------------------------------------------------------
+#for JAM
+annogen.version=0.1.0
+ant.version=1.6.5
+axiom.version=1.0-SNAPSHOT
+axis.wsdl4j.version=1.2
+backport_util_concurrent.version=2.0_01_pd
+bcprov.version=jdk13-128
+commons.codec.version=1.3
+commons.discovery.version=0.2
+commons.fileupload.version=1.0
+commons.httpclient.version=3.0
+commons.logging.version=1.0.4
+geronimo.spec.activation.version=1.0.2-rc4
+geronimo.spec.javamail.version=1.3.1-rc5
+geronimo.spec.jms.version=1.1-rc4
+geronimo.spec.servlet.version=2.4-rc4
+servletapi.version=2.3
+groovy.all.version=1.0-jsr-01
+jaxen.version=1.1-beta-7
+jaxme.version=0.5.1
+junit.version=3.8.1
+log4j.version=1.2.12
+maven.itest.plugin.version=1.0
+opensaml.version=1.0.1
+policy.version=1.0-SNAPSHOT
+stax.api.version=1.0
+stax.impl.groupid=woodstox
+stax.impl.artifactid=wstx
+stax.impl.version=asl-2.8.2
+wss4j.version=SNAPSHOT
+xalan.version=2.6.0
+xbean.version=2.1.0
+xerces.version=2.7.1
+xml_apis.version=1.3.02
+XmlSchema.version=1.0-SNAPSHOT
+xmlsec.version=1.2.1
+xmlunit.version=1.0
+
+
+#stax.impl.groupid=stax
+#stax.impl.artifactid=stax
+#stax.impl.version=1.1.2-dev
+
+# -------------------------------------------------------------------
+#                Clover
+# -------------------------------------------------------------------
+maven.clover.build = ${maven.build.dir}
+#maven.clover.includes=**/org/apache/**.java
+maven.clover.excludes=sample/**/*.java,userguide/**/*.java, test/**/*.java
+maven.clover.license.path=clover.license
+
+# -------------------------------------------------------------------
+#                xdoc
+# -------------------------------------------------------------------
+maven.xdoc.date=left
+maven.xdoc.version=${pom.currentVersion}
+maven.xdoc.includeProjectDocumentation=no
+maven.html2xdoc.enabled=false
+maven.html2xdoc.dir=./xdocs
+maven.pdf.navigationFile=navigation-pdf.xml
+maven.allreports.disable=true

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/project.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/project.xml?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/project.xml (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/etc/project.xml Wed Mar  8 01:01:46 2006
@@ -0,0 +1,327 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+ -->
+ 
+<project>
+	<name>Axis2.0</name>
+	<pomVersion>3</pomVersion>
+	<!-- a unique name for this project -->
+	<name>Apache Axis 2.0</name>
+	<id>axis2</id>
+	<groupId>axis2</groupId>
+	<package>org.apache.axis2</package>
+	<currentVersion>${axis2_version}</currentVersion>
+	<!-- details about the organization that 'owns' the project -->
+	<organization>
+		<name>Apache Software Foundation</name>
+		<url>http://www.apache.org/</url>
+		<logo>http://www.apache.org/images/asf-logo.gif</logo>
+	</organization>
+	<inceptionYear>2004</inceptionYear>
+	<package>org.apache.axis2</package>
+	<logo>http://ws.apache.org/axis2/images/axis.jpg</logo>
+	<description> Axis2 is an effort to re-design and totally re-implement both Axis/Java and (eventually) Axis/C++ on a new architecture. Evolving from the now standard "handler chain" model which Axis1 pioneered, Axis2 is developing a more flexible pipeline architecture which can yet be managed and packaged in a more organized manner. This new design acknowledges the maturing of the Web services space in terms of new protocols such as WS-ReliableMessaging, WS-Security and WS-Addressing that are built on top of the base SOAP system. At the time Axis1 was designed, while it was fully expected that other protocols such as WS-ReliableMessaging would be built on top of it, there was not a proper extension architecture defined to enable clean composition of such layers. Thus, one of the key motivations for Axis2 is to provide a clean and simple environment for like Apache Sandesha and Apache WSS4J to layer on top of the base SOAP system. Another driving force for Axis2 as well as t
 he move away from RPC oriented Web services towards more document-oriented, message style asynchronous service interactions. The Axis2 project is centered on a new representation for SOAP messages called AXIOM (AXIs Object Model). AXIOM consists of two parts: a complete XML Infoset representation and a SOAP Infoset representation on top of that. The XML Infoset representation provides a JDOM-like simple API but is built on a deferred model via a StAX-based (Streaming API for XML) pull parsing API. A key feature of AXIOM is that it allows one to stop building the XML tree and just access the pull stream directly; thus enabling both maximum flexibility and maximum performance. This approach allows us to support multiple levels of abstraction for consuming and offering Web services: using plain AXIOM, using generated code and statically data-bound data types and so on. At the time of Axis1's design, RPC-style, synchronous, request-response interactions were the order of the day
  for Web services. Today service interactions are much more message
+-oriented and exploit many different message exchange patterns. The Axis2 engine architecture is careful to not build in any assumptions of request-response patterns to ensure that it can be used easily to support arbitrary message exchange patterns.</description>
+	<shortDescription>Axis 2.0</shortDescription>
+	<!-- the project home page -->
+	<url>http://ws.apache.org/axis2/</url>
+	<issueTrackingUrl>http://issues.apache.org/jira/browse/AXIS2</issueTrackingUrl>
+	<siteAddress>ws.apache.org/axis2</siteAddress>
+	<siteDirectory>/www/ws.apache.org/axis2/</siteDirectory>
+	<distributionDirectory>/www/ws.apache.org/builds/</distributionDirectory>
+	<!-- repository>
+<connection>scm|svn|http://svn.apache.org/repos/asf/webservices/axis2/trunk</connection>
+<developerConnection>scm|svn|https://svn.apache.org/repos/asf/webservices/axis2/trunk</developerConnection>
+<url>http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/?root=Apache-SVN</url>
+</repository -->
+	<mailingLists>
+		<mailingList>
+			<name>Axis Developer List</name>
+			<subscribe>axis-dev-subscribe@ws.apache.org</subscribe>
+			<unsubscribe>axis-dev-unsubscribe@ws.apache.org</unsubscribe>
+			<archive>http://marc.theaimsgroup.com/?l=axis-dev&amp;r=1&amp;w=2</archive>
+		</mailingList>
+		<mailingList>
+			<name>Axis User List</name>
+			<subscribe>axis-user-subscribe@ws.apache.org</subscribe>
+			<unsubscribe>axis-user-unsubscribe@ws.apache.org</unsubscribe>
+			<archive>http://marc.theaimsgroup.com/?l=axis-user&amp;r=1&amp;w=2</archive>
+		</mailingList>
+	</mailingLists>
+	<!-- ========== -->
+	<!-- Developers -->
+	<!-- ========== -->
+	<developers>
+		<developer>
+			<name>Davanum Srinivas</name>
+			<id>dims</id>
+			<email>dims AT wso2.com</email>
+			<organization>WSO2</organization>
+		</developer>
+		<developer>
+			<name>Sanjiva Weerawarana</name>
+			<id>sanjiva</id>
+			<email>sanjiva AT wso2.com</email>
+			<organization>WSO2</organization>
+		</developer>
+		<developer>
+			<name>Glen Daniels</name>
+			<id>gdaniels</id>
+			<email>gdaniels AT apache.org</email>
+			<organization>Sonic Software</organization>
+		</developer>
+		<developer>
+			<name>Aleksander Slominski</name>
+			<id>alek</id>
+			<email>aslom AT cs.indiana.edu</email>
+			<organization>Indiana University Extreme! Computing Lab</organization>
+		</developer>
+		<developer>
+			<name>Srinath Perera</name>
+			<id>hemapani</id>
+			<email>hemapani AT apache.org</email>
+			<organization>Lanka Software Foundation</organization>
+			<url>http://www.apache.org/~hemapani</url>
+		</developer>
+		<developer>
+			<name>Eran Chinthaka</name>
+			<id>chinthaka</id>
+			<email>chinthaka AT wso2.com</email>
+			<organization>WSO2</organization>
+			<url>http://www.apache.org/~chinthaka</url>
+		</developer>
+		<developer>
+			<name>Dasarath Weerathunga</name>
+			<id>dasarath</id>
+			<email>dasarath AT opensource.lk</email>
+			<organization>Lanka Software Foundation</organization>
+		</developer>
+		<developer>
+			<name>Jaliya Ekanayake</name>
+			<id>jaliya</id>
+			<email>jaliya AT opensource.lk</email>
+			<organization>Virtusa / Lanka Software Foundation</organization>
+			<url>http://www.apache.org/~jaliya</url>
+		</developer>
+		<developer>
+			<name>Chathura Herath</name>
+			<id>chathura</id>
+			<email>chathura AT opensource.lk</email>
+			<organization>LSF/MIT</organization>
+			<url>www.apache.org/~chathura</url>
+		</developer>
+		<developer>
+			<name>Deepal Jayasinghe</name>
+			<id>deepal</id>
+			<email>deepal AT wso2.com</email>
+			<organization>WSO2</organization>
+			<url>http://www.apache.org/~deepal</url>
+		</developer>
+		<developer>
+			<name>Ajith Ranabahu</name>
+			<id>ajith</id>
+			<email>ajith AT wso2.com</email>
+			<organization>WSO2</organization>
+			<url>http://www.apache.org/~ajith</url>
+		</developer>
+		<developer>
+			<name>Venkat Reddy</name>
+			<id>venkat</id>
+			<email>vreddyp AT gmail.com</email>
+			<organization>Computer Associates</organization>
+		</developer>
+		<developer>
+			<name>Ashutosh Shahi</name>
+			<id>ashu</id>
+			<email>Ashutosh.Shahi AT ca.com</email>
+			<organization>Computer Associates</organization>
+		</developer>
+		<developer>
+			<name>Jayachandra Sekhara Rao Sunkara</name>
+			<id>jaya</id>
+			<email>jayachandra AT gmail.com</email>
+			<organization>Computer Associates</organization>
+		</developer>
+		<developer>
+			<name>Thilina Gunarathne</name>
+			<id>thilina</id>
+			<email>thilina AT opensource.lk</email>
+			<organization>Lanka Software Foundation</organization>
+		</developer>
+		<developer>
+			<name>Ruchith Fernando</name>
+			<id>ruchith</id>
+			<email>ruchith AT wso2.com</email>
+			<organization>WSO2</organization>
+		</developer>
+		<developer>
+			<name>Saminda Abeyruwan</name>
+			<id>saminda</id>
+			<email>saminda AT wso2.com</email>
+			<organization>WSO2</organization>
+		</developer>
+		<developer>
+			<name>Chamil Thanthrimudalige</name>
+			<id>chamil</id>
+			<email>chamil AT wso2.com</email>
+			<organization>WSO2</organization>
+		</developer>
+		<developer>
+			<name>Sanka Samaranayake</name>
+			<id>sanka</id>
+			<email>sanka AT wso2.com</email>
+			<organization>WSO2</organization>
+		</developer>
+	</developers>
+	<contributors>
+		<contributor>
+			<name>Farhaan Mohideen</name>
+			<email>fmohideen AT valista.com</email>
+			<organization>Lanka Software Foundation</organization>
+		</contributor>
+		<contributor>
+			<name>Changshin Lee</name>
+			<email>iasandcb AT hotmail.com</email>
+			<organization>Tmax Soft, Korea</organization>
+		</contributor>
+		<contributor>
+			<name>Afkham Azeez</name>
+			<email>azeez AT wso2.com</email>
+			<organization>WSO2</organization>
+		</contributor>
+		<contributor>
+			<name>Nadana Gunarathna</name>
+			<email>nadana AT opensource.lk</email>
+			<organization>Lanka Software Foundation</organization>
+		</contributor>
+		<contributor>
+			<name>Gayan Asanka</name>
+			<email>gayan AT opensource.lk</email>
+			<organization>Lanka Software Foundation</organization>
+		</contributor>
+		<contributor>
+			<name>Anushka Kumara</name>
+			<email>anushkakumar AT gmail.com</email>
+			<organization>Lanka Software Foundation / University of Moratuwa</organization>
+		</contributor>
+		<contributor>
+			<name>Chinthaka Thilakarathne</name>
+			<email/>
+			<organization>Lanka Software Foundation / University of Moratuwa</organization>
+		</contributor>
+		<contributor>
+			<name>Dharshana Dias</name>
+			<email/>
+			<organization>Lanka Software Foundation / University of Moratuwa</organization>
+		</contributor>
+		<contributor>
+			<name>Chatra Nakkawita</name>
+			<email>chatra AT WSO2.com</email>
+			<organization>WSO2</organization>
+		</contributor>
+		<contributor>
+			<name>Thilini Gunawardhana</name>
+			<email>thilini AT WSO2.com</email>
+			<organization>WSO2</organization>
+		</contributor>
+	</contributors>
+	<!-- build information for the project -->
+	<build>
+		<nagEmailAddress>axis-dev@ws.apache.org</nagEmailAddress>
+		<sourceDirectory>src</sourceDirectory>
+		<unitTestSourceDirectory>test</unitTestSourceDirectory>
+		<!--
+            <sourceModifications>
+                <sourceModification>
+                    <className>fakeClass</className>
+                    <excludes>
+                        <exclude>org/apache/axis2</exclude>
+                        <exclude>**/_*.java</exclude>
+                    </excludes>
+                </sourceModification>
+            </sourceModifications
+        -->
+		<unitTest>
+			<excludes>
+				<exclude>**/*Abstract*.java</exclude>
+				<exclude>**/*Util*.java</exclude>
+				<exclude>**/*PhaseResolvingTest.java</exclude>
+			</excludes>
+			<includes>
+				<include>**/*Test.java</include>
+			</includes>
+			<resources>
+				<resource>
+					<directory>${basedir}/test-resources</directory>
+				</resource>
+				<resource>
+					<directory>conf</directory>
+					<includes>
+						<include>**/*.properties</include>
+					</includes>
+				</resource>
+				<resource>
+					<directory>src</directory>
+					<includes>
+						<include>**/*.properties</include>
+						<include>**/*.xml</include>
+						<include>**/*.xsl</include>
+					</includes>
+				</resource>
+				<resource>
+					<directory>test</directory>
+					<includes>
+						<include>**/*.properties</include>
+						<include>**/*.xml</include>
+					</includes>
+				</resource>
+			</resources>
+		</unitTest>
+		<resources>
+			<resource>
+				<directory>conf</directory>
+				<includes>
+					<include>**/*.properties</include>
+				</includes>
+			</resource>
+			<resource>
+				<directory>src</directory>
+				<includes>
+					<include>**/*.properties</include>
+					<include>**/*.xml</include>
+					<include>**/*.xsl</include>
+				</includes>
+			</resource>
+		</resources>
+	</build>
+	<!-- ======= -->
+	<!-- Reports -->
+	<!-- ======= -->
+	<reports>
+		<!-- report>maven-license-plugin</report>
+        
+        <report>maven-pmd-plugin</report>
+        <report>maven-jdepend-plugin</report>
+        <report>maven-jxr-plugin</report>
+        <report>maven-javadoc-plugin</report>
+        <report>maven-clover-plugin</report>
+        <report>maven-junit-report-plugin</report -->
+		<report>maven-changes-plugin</report>
+	</reports>
+</project>

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/maven.xml?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/maven.xml (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/maven.xml Wed Mar  8 01:01:46 2006
@@ -0,0 +1,43 @@
+<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:u="jelly:util">
+  <goal name="all" prereqs="java:compile">
+
+	<jar jarfile="target/management.jar" basedir="target/classes">
+		<include name="org/apache/axis2/management/core/**/*" /> 
+	</jar>
+
+
+	<mkdir dir="target/classes/META-INF" />
+	<copy file="resources/management-services/services.xml" tofile="target/classes/META-INF/services.xml" />
+	<jar jarfile="target/management.aar" basedir="target/classes">
+		<include name="org/apache/axis2/management/interfaces/ws/**/*" /> 
+		<include name="META-INF/services.xml" />
+	</jar>
+
+	<copy file="resources/management-module/module.xml" tofile="target/classes/META-INF/module.xml" />
+	<jar jarfile="target/management.mar" basedir="target/classes">
+		<include name="org/apache/axis2/management/invoker/**/*" /> 
+		<include name="META-INF/module.xml" />
+	</jar>
+
+	<mkdir dir="target/temp-war/WEB-INF/lib" />
+	<mkdir dir="target/temp-war/images" />
+	<mkdir dir="target/temp-war/css" />
+	<copy file="resources/management-console/web.xml" tofile="target/temp-war/WEB-INF/web.xml" />
+	<copy todir="target/temp-war/images">
+		<fileset dir="resources/management-console/images" />
+	</copy>
+	<copy todir="target/temp-war/css">
+		<fileset dir="resources/management-console/css" />
+	</copy>
+	<jar jarfile="target/temp-war/WEB-INF/lib/axis2console.jar" basedir="target/classes">
+		<include name="org/apache/axis2/management/console/web/**/*" /> 
+	</jar>
+	<jar jarfile="target/axis2console.war" basedir="target/temp-war">
+		<include name="**/*" /> 
+	</jar>
+	<delete includeEmptyDirs="true">
+		<fileset dir="target/temp-war" />
+	</delete>
+
+ </goal>
+</project>

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/project.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/project.xml?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/project.xml (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/project.xml Wed Mar  8 01:01:46 2006
@@ -0,0 +1,208 @@
+<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">
+  <pomVersion>3</pomVersion>
+  <extend>etc/project.xml</extend>
+  <id>axis2-management</id>
+  <groupId>axis2</groupId>
+  <artifactId>mytest</artifactId>
+  <name>Apache Axis2 - Management</name>
+  <inceptionYear>2006</inceptionYear>
+  <dependencies>
+        <dependency>
+            <groupId>ws-commons</groupId>
+            <artifactId>axiom</artifactId>
+            <version>${axiom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>axis2</groupId>
+            <artifactId>axis2-common</artifactId>
+            <version>${pom.currentVersion}</version>
+        </dependency>
+        <dependency>
+            <groupId>axis2</groupId>
+            <artifactId>axis2-wsdl</artifactId>
+            <version>${pom.currentVersion}</version>
+        </dependency>
+        <dependency>
+            <groupId>axis2</groupId>
+            <artifactId>axis2-codegen</artifactId>
+            <version>${pom.currentVersion}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>axis2</groupId>
+            <artifactId>axis2-core</artifactId>
+            <version>${pom.currentVersion}</version>
+        </dependency>        
+        <dependency>
+            <groupId>axis2</groupId>
+            <artifactId>axis2-doom</artifactId>
+            <version>${pom.currentVersion}</version>
+        </dependency>      
+        <!-- external JARs -->
+        <dependency>
+            <groupId>axis</groupId>
+            <artifactId>axis-wsdl4j</artifactId>
+            <version>${axis.wsdl4j.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>${commons.logging.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <version>${log4j.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+            <url>http://dist.codehaus.org/stax/jars/</url>
+        </dependency>
+        <dependency>
+            <groupId>${stax.impl.groupid}</groupId>
+            <artifactId>${stax.impl.artifactid}</artifactId>
+            <version>${stax.impl.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>stax</groupId>
+            <artifactId>stax-api</artifactId>
+            <version>${stax.api.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>geronimo-spec</groupId>
+            <artifactId>geronimo-spec-activation</artifactId>
+            <version>${geronimo.spec.activation.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+	  <dependency>
+            <groupId>servletapi</groupId>
+            <artifactId>servletapi</artifactId>
+            <version>2.3</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>commons-httpclient</groupId>
+            <artifactId>commons-httpclient</artifactId>
+            <version>${commons.httpclient.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>commons-codec</groupId>
+            <artifactId>commons-codec</artifactId>
+            <version>${commons.codec.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>wss4j</groupId>
+            <artifactId>wss4j</artifactId>
+            <version>${wss4j.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>xml-security</groupId>
+            <artifactId>xmlsec</artifactId>
+            <version>${xmlsec.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>bouncycastle</groupId>
+            <artifactId>bcprov</artifactId>
+            <version>${bcprov.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>opensaml</groupId>
+            <artifactId>opensaml</artifactId>
+            <version>${opensaml.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>xmlbeans</groupId>
+            <artifactId>xbean</artifactId>
+            <version>${xbean.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>xml-apis</groupId>
+            <artifactId>xml-apis</artifactId>
+            <version>${xml_apis.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xercesImpl</artifactId>
+            <version>${xerces.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>jaxen</groupId>
+            <artifactId>jaxen</artifactId>
+            <version>${jaxen.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>backport-util-concurrent</groupId>
+            <artifactId>backport-util-concurrent</artifactId>
+            <version>${backport_util_concurrent.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+         <dependency>
+            <groupId>ws-commons</groupId>
+            <artifactId>XmlSchema</artifactId>
+            <version>${XmlSchema.version}</version>
+        </dependency>
+	<!-- For WS-Policy support -->
+	<dependency>
+		<groupId>ws-commons</groupId>
+		<artifactId>policy</artifactId>
+		<version>${policy.version}</version>
+		<properties>
+			<module>true</module>
+		</properties>
+	</dependency>
+  </dependencies>
+
+  
+  <build>
+	<sourceDirectory>src</sourceDirectory>
+  </build>
+</project>

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/css/axis-style.css
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/css/axis-style.css?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/css/axis-style.css (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/css/axis-style.css Wed Mar  8 01:01:46 2006
@@ -0,0 +1,32 @@
+BODY         {
+	background-color : "#FFFFFF";
+	leftmargin:"0";
+	topmargin:"0";
+	font-family:Arial;
+	font-size:11pt;
+}
+h1           { font-family: Arial; font-size: 14pt; font-weight: bold }
+h2           { font-family: Arial; font-size: 13pt; font-weight: bold }
+ul           { font-family: Arial; font-size: 11pt }
+input        { font-family: Arial; font-size: 8pt; font-weight: bold }
+td           { font-family: Arial; font-size: 10pt }
+h3           { font-family: Arial; font-size: 12pt; font-weight:bold }
+a:active     { color: #FFFFFF }
+a:link       { color: #FFFFFF }
+a:visited    { color: #FFFFFF }
+
+TABLE.FULL_BLANK {
+	width : 100%;
+	height : 100%;
+	border : 0;
+	padding : 0;
+}
+
+TABLE.LOG_IN_FORM{
+	height: 200px%;
+	border:1px solid #000000;
+	width: 300px%;
+	cellspacing:1px;
+	cellpadding:1px;
+	background-color: #f7f7f7 ;
+}
\ No newline at end of file

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/images/asf-logo.gif
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/images/asf-logo.gif?rev=384160&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/images/asf-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/images/axis.jpg
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/images/axis.jpg?rev=384160&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/images/axis.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/web.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/web.xml?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/web.xml (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-console/web.xml Wed Mar  8 01:01:46 2006
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!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>
+
+	<servlet>
+		<servlet-name>Login</servlet-name>
+		<servlet-class>org.apache.axis2.management.console.web.Login</servlet-class>
+	</servlet>
+
+	<servlet>
+		<servlet-name>Axis2Console</servlet-name>
+		<servlet-class>org.apache.axis2.management.console.web.Axis2Console</servlet-class>
+	</servlet>
+
+	<servlet>
+		<servlet-name>Axis2ModulesConsole</servlet-name>
+		<servlet-class>org.apache.axis2.management.console.web.Axis2ModulesConsole</servlet-class>
+	</servlet>
+
+	<servlet>
+		<servlet-name>Axis2TransportsConsole</servlet-name>
+		<servlet-class>org.apache.axis2.management.console.web.Axis2TransportsConsole</servlet-class>
+	</servlet>
+
+	<servlet>
+		<servlet-name>Axis2ServiceGroupsConsole</servlet-name>
+		<servlet-class>org.apache.axis2.management.console.web.Axis2ServiceGroupsConsole</servlet-class>
+	</servlet>
+
+	<servlet>
+		<servlet-name>Axis2ServicesConsole</servlet-name>
+		<servlet-class>org.apache.axis2.management.console.web.Axis2ServicesConsole</servlet-class>
+	</servlet>
+
+	<servlet>
+		<servlet-name>Axis2OperationsConsole</servlet-name>
+		<servlet-class>org.apache.axis2.management.console.web.Axis2OperationsConsole</servlet-class>
+	</servlet>
+
+	<servlet>
+		<servlet-name>Axis2DynamicStatsConsole</servlet-name>
+		<servlet-class>org.apache.axis2.management.console.web.Axis2DynamicStatsConsole</servlet-class>
+	</servlet>
+
+	<servlet>
+		<servlet-name>Error</servlet-name>
+		<servlet-class>org.apache.axis2.management.console.web.Error</servlet-class>
+	</servlet>
+	
+
+	<servlet-mapping>
+		<servlet-name>Login</servlet-name>
+		<url-pattern>/login</url-pattern>
+	</servlet-mapping>
+
+	<servlet-mapping>
+		<servlet-name>Axis2Console</servlet-name>
+		<url-pattern>/axis2console</url-pattern>
+	</servlet-mapping>
+
+	<servlet-mapping>
+		<servlet-name>Axis2ModulesConsole</servlet-name>
+		<url-pattern>/modules</url-pattern>
+	</servlet-mapping>
+
+	<servlet-mapping>
+		<servlet-name>Axis2TransportsConsole</servlet-name>
+		<url-pattern>/transports</url-pattern>
+	</servlet-mapping>
+		
+	<servlet-mapping>
+		<servlet-name>Axis2ServiceGroupsConsole</servlet-name>
+		<url-pattern>/service_groups</url-pattern>
+	</servlet-mapping>	
+
+	<servlet-mapping>
+		<servlet-name>Axis2ServicesConsole</servlet-name>
+		<url-pattern>/services</url-pattern>
+	</servlet-mapping>
+
+	<servlet-mapping>
+		<servlet-name>Axis2OperationsConsole</servlet-name>
+		<url-pattern>/operations</url-pattern>
+	</servlet-mapping>
+
+	<servlet-mapping>
+		<servlet-name>Axis2DynamicStatsConsole</servlet-name>
+		<url-pattern>/dynamicstats</url-pattern>
+	</servlet-mapping>	
+
+	<servlet-mapping>
+		<servlet-name>Error</servlet-name>
+		<url-pattern>/error</url-pattern>
+	</servlet-mapping>
+	
+
+</web-app>

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-module/module.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-module/module.xml?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-module/module.xml (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-module/module.xml Wed Mar  8 01:01:46 2006
@@ -0,0 +1,25 @@
+<module name="management" class="org.apache.axis2.management.invoker.DMModule">
+	<inflow>
+		<handler name="InFlowLogHandler" class="org.apache.axis2.management.invoker.DMHandler">
+			<order phase="monitorPhase"/>
+		</handler>
+	</inflow>
+
+	<outflow>
+		<handler name="OutFlowLogHandler" class="org.apache.axis2.management.invoker.DMHandler">
+			<order phase="monitorPhase"/>
+		</handler>
+	</outflow>
+
+	<Outfaultflow>
+		<handler name="FaultOutFlowLogHandler" class="org.apache.axis2.management.invoker.DMHandler">
+			<order phase="monitorPhase"/>
+		</handler>
+	</Outfaultflow>
+
+	<INfaultflow>
+		<handler name="FaultInFlowLogHandler" class="org.apache.axis2.management.invoker.DMHandler">
+			<order phase="monitorPhase"/>
+		</handler>
+	</INfaultflow>
+</module>
\ No newline at end of file

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-services/services.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-services/services.xml?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-services/services.xml (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/management-services/services.xml Wed Mar  8 01:01:46 2006
@@ -0,0 +1,336 @@
+<serviceGroup>
+
+
+<service name="AxisGlobals">
+	<description>
+		Global manager.
+	</description>
+	<parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.management.interfaces.ws.AxisGlobals</parameter>
+
+	<operation name="getInfo">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getGlobalParameters">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isGlobalParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="addGlobalParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="editGlobalParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getModules">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isModuleAvailable">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getGloballyEngagedModules">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="engageModuleGlabally">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getTransportIns">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isTransportInAvailable">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getTransportOuts">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isTransportOutAvailable">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getServices">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isServiceAvailable">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="removeService">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+</service>
+
+
+<service name="AxisModules">
+	<description>
+		Module manager.
+	</description>
+	<parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.management.interfaces.ws.AxisModules</parameter>
+
+	<operation name="getInfo">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getModuleParameters">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isModuleParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="addModuleParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="editModuleParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isEngagedGlobally">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getEngagedServices">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getEngagedOperations">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+</service>
+
+
+<service name="AxisTransports">
+	<description>
+		Transport manager.
+	</description>
+	<parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.management.interfaces.ws.AxisTransports</parameter>
+
+	<operation name="getInfo">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getTransportInParameters">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isTransportInParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="addTransportInParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="editTransportInParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getTransportOutParameters">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isTransportOutParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="addTransportOutParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="editTransportOutParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+</service>
+
+
+<service name="AxisServiceGroups">
+	<description>
+		ServiceGroup manager.
+	</description>
+	<parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.management.interfaces.ws.AxisServiceGroups</parameter>
+
+	<operation name="getInfo">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getServices">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getServiceGroupEngagedModules">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="engageModuleToServiceGroup">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+</service>
+
+
+<service name="AxisServices">
+	<description>
+		Service manager.
+	</description>
+	<parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.management.interfaces.ws.AxisServices</parameter>
+
+	<operation name="getInfo">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getServiceParameters">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isServiceParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="addServiceParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="editServiceParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getOperations">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getServiceEngagedModules">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="engageModuleToService">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+</service>
+
+
+<service name="AxisOperations">
+	<description>
+		Operation manager.
+	</description>
+	<parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.management.interfaces.ws.AxisOperations</parameter>
+
+	<operation name="getInfo">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isOperationAvailable">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getOperationParameters">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="isOperationParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="addOperationParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="editOperationParameter">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getOperationEngagedModules">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="engageModuleToOperation">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+</service>
+
+
+<service name="AxisDynamicStats">
+	<description>
+		Dynamic statistics manager.
+	</description>
+	<parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.management.interfaces.ws.AxisDynamicStats</parameter>
+
+	<operation name="getInfo">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getMonitoredData">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getInMessages">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="clearInMessages">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+</service>
+
+
+<service name="AxisServiceStats">
+	<description>
+		Service statistics manager.
+	</description>
+	<parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.management.interfaces.ws.AxisServiceStats</parameter>
+
+	<operation name="getInfo">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="setServiceToMonitor">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getInMessages">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="clearInMessages">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+</service>
+
+
+<service name="AxisOperationStats">
+	<description>
+		Operation statistics manager.
+	</description>
+	<parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.management.interfaces.ws.AxisOperationStats</parameter>
+
+	<operation name="getInfo">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="setOperationToMonitor">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="getInMessages">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+
+	<operation name="clearInMessages">
+		<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	</operation>
+</service>
+
+
+</serviceGroup>

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/readme.txt
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/readme.txt?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/readme.txt (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/resources/readme.txt Wed Mar  8 01:01:46 2006
@@ -0,0 +1,35 @@
+
+==============================================	
+			BUILD
+==============================================
+
+- Open the build.xml and set the "axis2.jars" property to the axis2\lib directory
+
+- Run Ant
+
+- All the target files will be created in the target\dist directory
+
+
+==============================================
+			DEPLOY
+==============================================
+
+- Copy the dm.jar to axis2\lib directory
+
+- Copy management.mar to axis2\modules directory
+
+- Copy dmservices.aar to axis2\services directory
+
+- Deploy axis2web.war in a servlet engine
+
+
+===============================================
+			RUN
+===============================================
+
+- Start Axis2 and go to the URL http://<ip-address>:<port>/axis2web/login (e.g. http://localhost:8080/axis2web/login)
+
+- This will display the login screen of the management console
+
+- Enter the URL of the remote axis2 directory and click "Login" to enter the management console
+  
\ No newline at end of file

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2Console.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2Console.java?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2Console.java (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2Console.java Wed Mar  8 01:01:46 2006
@@ -0,0 +1,159 @@
+package org.apache.axis2.management.console.web;
+
+import org.apache.axis2.management.console.web.stubs.AxisGlobalsStub;
+
+import java.io.PrintWriter;
+import java.io.IOException;
+import java.util.StringTokenizer;
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpSession;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+public class Axis2Console extends HttpServlet{
+
+	PrintWriter writer = null;
+
+	AxisGlobalsStub axisGlobalsStub = null;
+
+	public void init(ServletConfig config) throws ServletException{
+
+	}
+
+	public void doGet(HttpServletRequest request, HttpServletResponse response)
+		throws ServletException, IOException{
+
+			writer = response.getWriter();
+
+			response.setContentType("text/html");
+			response.setHeader("Cache-Control", "no-store");
+
+			PrintWriter out = response.getWriter();
+
+			String docType = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " + "Transitional//EN\">\n";
+
+			out.println(docType +
+						"<html>\n" +
+						"<head><title>Axis2Console</title><link href=\"css/axis-style.css\" rel=\"stylesheet\" type=\"text/css\"/></head>\n" +
+						"<body>");
+
+
+
+			process(request, response);
+
+			out.println("</body></html>");
+
+	}
+
+
+	public void process(HttpServletRequest request, HttpServletResponse response){
+
+		echo("<table width=\"100%\" height=\"100%\"><tr><td><table width=\"100%\"><tr><td aligns=\"left\"><img src= \"images/asf-logo.gif\" /></td><td align=\"right\"><img src = \"images/axis.jpg\" /></td></table></tr><tr><td align=\"center\"><h1>Management Console</h1></tr>");
+
+		try {
+
+			HttpSession session = request.getSession(false);
+			String host = session.getAttribute("host").toString();
+			axisGlobalsStub = new AxisGlobalsStub(host);
+
+			processParameters(request);
+			processModules(request);
+
+			echo("<tr><td bgcolor=\"#000080\"><font color=\"#FFFFFF\"><a href=\"axis2console\">Axis2 Globals</a> | " +
+					"<a href=\"modules\">Modules</a> | " +
+					"<a href=\"transports\">Transports</a> | " +
+					"<a href=\"service_groups\">ServiceGroups</a> | " +
+					"<a href=\"services\">Services</a> | " +
+					"<a href=\"operations\">Operations</a> | " +
+					"<a href=\"dynamicstats\">Statistics</a> | " +
+					"<a href=\"login\">Log out</a></td></tr>" +
+					"<tr><td colspan=\"2\"></font></td></tr>");
+
+			echo("<tr><td height=\"100%\">");
+			displayParameters();
+			displayModuleConfig();
+			echo("</td></tr></table>");
+
+		} catch(Exception e) {
+			try {
+				response.sendRedirect("error");
+			} catch(Exception error) {
+				echo("<tr><td><hr />Exception occured.\n" + error.getMessage() + "</td></tr>");
+			}
+		}
+
+	}
+
+	private void displayParameters() throws Exception {
+		// display global parameters
+		echo("<h3>Axis2 Parameters</h3>");
+		echo("<form action=\"axis2console\" method=\"get\"><table width=\"50%\">");
+		echo("<input name=\"parameter\" type=\"hidden\" value=\"parameter\" />");
+		String[] parameters = axisGlobalsStub.getGlobalParameters();
+		for(int i=0; i<parameters.length; i++) {
+			StringTokenizer tokens = new StringTokenizer(parameters[i], ":");
+			String name = tokens.nextToken();
+			String value = tokens.nextToken();
+			echo("<tr><td>"+name+"</td><td><input name=\""+name+"\" type=\"text\" value=\""+value+"\" size=\"25\"/></td></tr>");
+		}
+		echo("<tr><td></td><td><input type=\"submit\" value=\"Update\" /></td></tr>");
+		echo("</table></form>");
+	}
+	
+	
+	private void displayModuleConfig() {
+		echo("<h3>Modules engaged globally</h3>");
+		String[] globalModules = axisGlobalsStub.getGloballyEngagedModules();
+		if(globalModules.length == 0) {
+			echo("No modules are engaged globally.");
+		} else {
+			echo("<ul>");
+			for(int i=0; i<globalModules.length; i++) {
+				echo("<li>"+globalModules[i]+"</li>");
+			}
+			echo("</ul>");
+		}
+		
+		echo("<h3>Engage module globally</h3>");
+		echo("<form action=\"axis2console\" method=\"get\">" +
+				"<select name=\"module\">");
+		
+		String[] modules = axisGlobalsStub.getModules();
+		for(int i=0; i<modules.length; i++) {
+			echo("<option align=\"left\" value=\""+modules[i]+"\">"+modules[i]+"</option>");
+		}
+		echo("</select>" +
+				"<input type=\"hidden\" name=\"modules\" value=\"modules\" />" +
+				"<input type=\"submit\" value=\"Engage\" /></form>");		
+	}
+
+	  
+	private void processParameters(HttpServletRequest request) throws Exception {
+		String param = request.getParameter("parameter");
+		if(param != null) {
+			String[] parameters =axisGlobalsStub.getGlobalParameters();
+			for(int i=0; i<parameters.length; i++) {
+				StringTokenizer tokens = new StringTokenizer(parameters[i], ":");
+				String name = tokens.nextToken();
+				String value = request.getParameter(name);
+	
+				axisGlobalsStub.editGlobalParameter(name, value);
+			}
+		}
+	}
+	
+	private void processModules(HttpServletRequest request) throws Exception {
+		String modules = request.getParameter("modules");
+		if(modules != null) {
+			String module = request.getParameter("module");
+			axisGlobalsStub.engageModuleGlobally(module);
+		}
+	}
+
+	private void echo(String info){
+		writer.println("<p>" + info + "</p>");
+	}
+
+}
\ No newline at end of file

Added: webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2DynamicStatsConsole.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2DynamicStatsConsole.java?rev=384160&view=auto
==============================================================================
--- webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2DynamicStatsConsole.java (added)
+++ webservices/axis2/trunk/archive/java/scratch/Axis_Management_module/management/src/org/apache/axis2/management/console/web/Axis2DynamicStatsConsole.java Wed Mar  8 01:01:46 2006
@@ -0,0 +1,209 @@
+package org.apache.axis2.management.console.web;
+
+import org.apache.axis2.management.console.web.stubs.AxisDynamicStatsStub;
+import org.apache.axis2.management.console.web.stubs.AxisServiceStatsStub;
+import org.apache.axis2.management.console.web.stubs.AxisOperationStatsStub;
+import org.apache.axis2.management.console.web.stubs.AxisGlobalsStub;
+import org.apache.axis2.management.console.web.stubs.AxisServicesStub;
+
+import java.io.PrintWriter;
+import java.io.IOException;
+import java.util.StringTokenizer;
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpSession;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+public class Axis2DynamicStatsConsole extends HttpServlet{
+
+	PrintWriter writer = null;
+
+	AxisDynamicStatsStub axisDynamicStatsStub = null;
+	AxisServiceStatsStub axisServiceStatsStub = null;
+	AxisOperationStatsStub axisOperationStatsStub = null;
+	AxisGlobalsStub axisGlobalsStub = null;
+	AxisServicesStub axisServicesStub = null;
+
+	public void init(ServletConfig config) throws ServletException{
+
+	}
+
+	public void doGet(HttpServletRequest request, HttpServletResponse response)
+		throws ServletException, IOException{
+
+			writer = response.getWriter();
+
+			response.setContentType("text/html");
+			response.setHeader("Cache-Control", "no-store");
+
+			PrintWriter out = response.getWriter();
+
+			String docType = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " + "Transitional//EN\">\n";
+
+			out.println(docType +
+						"<html>\n" +
+						"<head><title>Axis2Console</title><link href=\"css/axis-style.css\" rel=\"stylesheet\" type=\"text/css\"/></head>\n" +
+						"<body>");
+
+
+
+			process(request, response);
+
+			out.println("</body></html>");
+
+	}
+
+
+	public void process(HttpServletRequest request, HttpServletResponse response){
+
+		echo("<table width=\"100%\" height=\"100%\"><tr><td><table width=\"100%\"><tr><td aligns=\"left\"><img src= \"images/asf-logo.gif\" /></td><td align=\"right\"><img src = \"images/axis.jpg\" /></td></table></tr><tr><td align=\"center\"><h1>Management Console</h1></tr>");
+
+		try {
+
+			HttpSession session = request.getSession(false);
+			String host = session.getAttribute("host").toString();
+			axisDynamicStatsStub = new AxisDynamicStatsStub(host);
+			axisServiceStatsStub = new AxisServiceStatsStub(host);
+			axisOperationStatsStub = new AxisOperationStatsStub(host);
+			axisGlobalsStub = new AxisGlobalsStub(host);
+			axisServicesStub = new AxisServicesStub(host);
+			
+			if(request.getParameter("level") != null) {
+				monitorService(request);
+				monitorOperation(request);
+			}
+
+			echo("<tr><td bgcolor=\"#000080\"><font color=\"#FFFFFF\"><a href=\"axis2console\">Axis2 Globals</a> | " +
+					"<a href=\"modules\">Modules</a> | " +
+					"<a href=\"transports\">Transports</a> | " +
+					"<a href=\"service_groups\">ServiceGroups</a> | " +
+					"<a href=\"services\">Services</a> | " +
+					"<a href=\"operations\">Operations</a> | " +
+					"<a href=\"dynamicstats\">Statistics</a> | " +
+					"<a href=\"login\">Log out</a></td></tr>" +
+					"<tr><td colspan=\"2\"></font></td></tr>");
+
+			echo("<tr><td width=\"100%\" align=\"left\" valign=\"top\">");
+			displayServiceMonitorPanel();
+			displayOperationMonitorPanel(request.getParameter("service"));
+			echo("</td></tr>");
+			echo("<tr><td height=\"100%\" width=\"100%\" align=\"left\" valign=\"top\">");
+			displayDynamicStats();
+			echo("</td></tr></table>");
+
+		} catch(Exception e) {
+			try {
+				response.sendRedirect("error");
+			} catch(Exception error) {
+				echo("<tr><td><hr />Exception occured.\n" + error.getMessage() + "</td></tr>");
+			}
+		}
+
+	}
+	
+	private void displayMonitorPanel() throws Exception {
+		
+	}
+	
+	private void displayServiceMonitorPanel() {
+		
+		echo("<h2>Monitor service</h2>");
+		
+		echo("<form action=\"dynamicstats\" method=\"get\">" +
+				"<input type=\"hidden\" name=\"level\" value=\"service\" />" +
+				"<select name=\"service\">");
+		String[] services = axisGlobalsStub.getServices();
+		for(int i=0; i<services.length; i++) {
+			echo("<option align=\"left\" value=\""+services[i]+"\">"+services[i]+"</option>");
+		}
+		echo("</select>" +
+		"<input type=\"submit\" value=\"Monitor\" /></form>");
+	}
+	
+	private void displayOperationMonitorPanel(String serviceName) {
+		
+		echo("<h2>Monitor operation</h2>");
+		
+		echo("<form action=\"dynamicstats\" method=\"get\" name=\"operationMonitorForm\">" +
+				"<input type=\"hidden\" name=\"level\" value=\"operation\" />" +
+				"<input type=\"hidden\" name=\"serviceChanged\"/>" +
+				"<select name=\"service\" onChange=\"document.operationMonitorForm.serviceChanged.value=true;document.operationMonitorForm.submit()\">");
+		String[] services = axisGlobalsStub.getServices();
+		for(int i=0; i<services.length; i++) {
+			String selected = "";
+			if(services[i].equals(serviceName)) {
+				selected = "selected=\"true\"";
+			}
+			echo("<option "+selected+"align=\"left\" value=\""+services[i]+"\">"+services[i]+"</option>");
+		}
+		echo("</select>" +
+				"<select name=\"operation\">");
+		
+		if(serviceName == null) {
+			String[] deployedServices = axisGlobalsStub.getServices();
+			if(deployedServices.length == 0)
+				echo("<option>-No services are deployed-</option>");
+			else
+				serviceName = deployedServices[0];
+		} 
+		
+		String[] operations = axisServicesStub.getOperations(serviceName);
+		for(int i=0; i<operations.length; i++) {
+			echo("<option align=\"left\" value=\""+operations[i]+"\">"+operations[i]+"</option>");
+		}
+		
+		echo("</select>" +
+				"<input type=\"submit\" value=\"Monitor\" /></form>");
+	}
+
+	private void displayDynamicStats() throws Exception {
+		// display dynamic statistics
+		echo("<h3>Axis2 Dynamic Statistics</h3>");
+		echo("<table width=\"100%\">" +
+				"<tr><td></td><td></td><td align=\"center\">In messages</td><td align=\"center\">Out messages</td><td align=\"center\">Fault in messages</td><td align=\"center\">Fault out messages</td></tr>");
+		String[] data = axisDynamicStatsStub.getMonitoredData();
+		for(int i=0; i<data.length; i++) {
+			StringTokenizer tokens = new StringTokenizer(data[i], ":");
+			String ID = tokens.nextToken();
+			if(ID.equals("All")) {
+				echo("<tr bgcolor=\"#99CCFF\"><td>"+ID+"</td><td>"+tokens.nextToken()+"</td><td align=\"right\">"+tokens.nextToken()+"</td><td align=\"right\">"+tokens.nextToken()+"</td><td align=\"right\"><font color=\"#FF0000\">"+tokens.nextToken()+"</font></td><td align=\"right\"><font color=\"#FF0000\">"+tokens.nextToken()+"</font></td></tr>");
+			} else if(ID.equals("Service")) {
+				echo("<tr bgcolor=\"#CCCCFF\"><td>"+ID+"</td><td>"+tokens.nextToken()+"</td><td align=\"right\">"+tokens.nextToken()+"</td><td align=\"right\">"+tokens.nextToken()+"</td><td align=\"right\"><font color=\"#FF0000\">"+tokens.nextToken()+"</font></td><td align=\"right\"><font color=\"#FF0000\">"+tokens.nextToken()+"</font></td></tr>");
+			} else if(ID.equals("Operation")) {
+				echo("<tr bgcolor=\"#CCFFFF\"><td>"+ID+"</td><td>"+tokens.nextToken()+"</td><td align=\"right\">"+tokens.nextToken()+"</td><td align=\"right\">"+tokens.nextToken()+"</td><td align=\"right\"><font color=\"#FF0000\">"+tokens.nextToken()+"</font></td><td align=\"right\"><font color=\"#FF0000\">"+tokens.nextToken()+"</font></td></tr>");
+			}
+		}
+		echo("</table>");
+	}
+	
+	private void monitorService(HttpServletRequest request) {
+		
+		if(request.getParameter("level").equals("service")) {
+			String service = request.getParameter("service");
+			
+			if(service != null) {
+				axisServiceStatsStub.setServiceToMonitor(service);
+			}
+		}
+	}
+	
+	private void monitorOperation(HttpServletRequest request) {
+		
+		if(request.getParameter("level").equals("operation")) {
+			String service = request.getParameter("service");
+			String operation = request.getParameter("operation");
+			
+			if(service != null && operation != null && !request.getParameter("serviceChanged").equals("true")) {
+				axisOperationStatsStub.setOperationToMonitor(service, operation);
+			}
+		}
+	}
+	
+	private void echo(String info){
+		writer.println("<p>" + info + "</p>");
+	}
+}
+	
+	
\ No newline at end of file