You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2011/07/11 23:10:56 UTC

svn commit: r1145356 [26/28] - in /incubator/airavata/trunk/ws-messaging: ./ distribution/ distribution/axis2_releases/ distribution/axis2_releases/axis2-1.6.0/ distribution/axis2_releases/axis2-1.6.0/bin/ distribution/axis2_releases/axis2-1.6.0/conf/ ...

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/EngageToServiceGroup.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/EngageToServiceGroup.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/EngageToServiceGroup.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/EngageToServiceGroup.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,138 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants,
+                                                                             org.apache.axis2.description.AxisModule,
+                                                                             org.apache.axis2.description.AxisServiceGroup,
+                                                                             java.util.Collection" %>
+<%@ page import="java.util.HashMap"%>
+<%@ page import="java.util.Iterator"%>
+<%@ page import="org.apache.axis2.util.Utils" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<%
+    String status = (String)request.getSession().getAttribute(Constants.ENGAGE_STATUS);
+    HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
+    request.getSession().setAttribute(Constants.MODULE_MAP,null);
+    Collection moduleCol =  moduels.values();
+    Iterator servicesGroups = (Iterator)request.getSession().getAttribute(Constants.SERVICE_GROUP_MAP);
+    request.getSession().setAttribute(Constants.SERVICE_GROUP_MAP,null);
+%>
+<h1>Engage Module for a Service Group</h1>
+<p>To engage a module for a set of services grouped as an axis service group,</p>
+
+    <ol>
+        <li>select the module you want to engage </li>
+        <li>select the axis service group you like the module to be engaged.</li>
+        <li>click "Engage".</li>
+    </ol>
+
+
+<%
+	if (!moduleCol.iterator().hasNext()) {%>
+		<p>No modules are present to be engaged.</p>
+	<%} else {
+		if  (!servicesGroups.hasNext()) {%>
+		<p>No Axis service groups are present to be engaged.</p>
+		<%} else {
+%>
+<form method="get" name="selectModuleForm" action="axis2-admin/engageToServiceGroup">
+    <table border="0" width="100%" cellspacing="1" cellpadding="1">
+        <tr>
+            <td>Select a Module :</td>
+        </tr>
+        <tr>
+            <td>
+                <select name="modules">
+                    <%
+                for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
+                    AxisModule axisOperation = (AxisModule) iterator.next();
+                    String modulename = axisOperation.getName();
+            %> <option  align="left" value="<%=modulename%>"><%=modulename%></option>
+                    <%
+                }
+             %>
+            </td>
+        </tr>
+        <tr>
+            <td>
+                &nbsp;
+                &nbsp;
+            </td>
+        </tr>
+        <tr>
+            <td>Select a Service Group :</td>
+        </tr>
+        <tr>
+            <td>
+                <select name="axisService">
+                    <%
+
+                        while(servicesGroups.hasNext()){
+                            AxisServiceGroup axisServiceGroup = (AxisServiceGroup) servicesGroups.next();
+                            String serviceName = axisServiceGroup.getServiceGroupName();
+                    %> <option  align="left" value="<%=serviceName%>"><%=serviceName%></option>
+                    <%
+                        }
+
+                    %>
+                </select>
+            </td>
+        </tr>
+        <tr>
+            <td>
+                &nbsp;
+                &nbsp;
+            </td>
+        </tr>
+        <tr>
+            <td>
+                <input name="submit" type="submit" value=" Engage " >
+            </td>
+        </tr>
+        <tr>
+            <td>
+                &nbsp;
+                &nbsp;
+            </td>
+        </tr>
+        <tr>
+            <td>
+                &nbsp;
+                &nbsp;
+            </td>
+        </tr>
+        <tr>
+            <td>
+                <textarea cols="50"  <%
+                    if(status == null){
+                %>
+                          style="display:none"
+                        <%
+                            } %>
+                        ><%=Utils.sanitizeWebOutput(status)%></textarea>
+            </td>
+        </tr>
+    </table>
+</form>
+<%
+		}
+	}
+%>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
+

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/AuthError.html
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/AuthError.html?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/AuthError.html (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/AuthError.html Mon Jul 11 21:10:36 2011
@@ -0,0 +1,44 @@
+<!--
+  ~ 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.
+  -->
+
+<html>
+ <head><title>Error In Admin Application</title></head>
+ <body>
+ <table width="100%">
+  <tr>
+    <td align="left"><img src="../images/asf-logo.gif"/></td>
+    <td align="right"><img src="../images/axis_l.jpg"/></td>
+    </tr>
+</table>
+<table width="100%">
+  <tr>
+    <td align="center">Failure in Authentication! Please check your username and password</td>
+  
+    </tr>
+    <tr>  <td align="center"><a href="/axis2/Login.jsp">back</a></td></tr>
+</table>
+
+<hr/>
+<table width="100%">
+ <tr>
+   <td align="center">All rights reserved by Apache Software Foundation</td>
+   </tr>
+</table>
+ </body>
+</html>
\ No newline at end of file

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/GenError.html
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/GenError.html?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/GenError.html (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/GenError.html Mon Jul 11 21:10:36 2011
@@ -0,0 +1,44 @@
+<!--
+  ~ 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.
+  -->
+
+<html>
+ <head><title>Error In Admin Application</title></head>
+ <body>
+ <table width="100%">
+  <tr>
+    <td align="left"><img src="../images/asf-logo.gif"/></td>
+    <td align="right"><img src="../images/axis_l.jpg"/></td>
+    </tr>
+</table>
+<table width="100%">
+  <tr>
+    <td align="center">Server Encountered an Error!</td>
+  
+    </tr>
+    <tr>  <td align="center"><a href="/">home</a></td></tr>
+</table>
+
+<hr/>
+<table width="100%">
+ <tr>
+   <td align="center">All rights reserved by Apache Software Foundation</td>
+   </tr>
+</table>
+ </body>
+</html>
\ No newline at end of file

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/error404.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/error404.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/error404.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/error404.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,63 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page contentType="text/html;charset=iso-8859-1" language="java" %>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+  <head>
+    <jsp:include page="../include/httpbase.jsp"/>
+    <title>Axis2 :: Resource not found!</title>
+    <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css"/>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+  </head>
+
+  <body>
+    <table width="100%">
+      <tr>
+        <td align="left"><img src="axis2-web/images/asf-logo.gif" alt=""/></td>
+        <td align="right"><img src="axis2-web/images/axis_l.jpg" alt=""/></td>
+      </tr>
+    </table>
+    <table width="100%">
+      <tr>
+        <td>
+          <h1>Requested resource not found!</h1>
+          <br/>
+          <br/>
+          <br/>
+          <br/>
+        </td>
+      </tr>
+      <tr><td align="center"><a href="axis2-web/index.jsp">home</a></td></tr>
+    </table>
+    <table width="100%">
+      <tr><td>
+        <table width="950px">
+          <tr><td><hr size="1" noshade=""/></td></tr>
+          <tr>
+            <td align="center">Copyright &#169; 1999-2006, The Apache Software Foundation<br/>Licensed under the <a
+              href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</td>
+          </tr>
+        </table>
+      </td>
+        <td>&nbsp;</td>
+      </tr>
+    </table>
+  </body>
+</html>
\ No newline at end of file

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/error500.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/error500.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/error500.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Error/error500.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,64 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page contentType="text/html;charset=iso-8859-1" language="java" %>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+  <head>
+    <jsp:include page="../include/httpbase.jsp"/>
+    <title>Axis2 :: Internal server error</title>
+    <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css"/>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+  </head>
+
+  <body>
+    <table width="100%">
+      <tr>
+        <td align="left"><img src="axis2-web/images/asf-logo.gif" alt=""/></td>
+        <td align="right"><img src="axis2-web/images/axis_l.jpg" alt=""/></td>
+      </tr>
+    </table>
+    <table width="100%">
+      <tr>
+        <td>
+          <h1>Internal server error</h1>
+          <br/>
+          <br/>
+          <br/>
+          <br/>
+        </td>
+      </tr>
+      <tr><td align="center"><a href="axis2-web/index.jsp">home</a></td></tr>
+    </table>
+    <hr/>
+    <table width="100%">
+      <tr><td>
+        <table width="950px">
+          <tr><td><hr size="1" noshade=""/></td></tr>
+          <tr>
+            <td align="center">Copyright &#169; 1999-2006, The Apache Software Foundation<br/>Licensed under the <a
+              href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</td>
+          </tr>
+        </table>
+      </td>
+        <td>&nbsp;</td>
+      </tr>
+    </table>
+  </body>
+</html>
\ No newline at end of file

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/HappyAxis.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/HappyAxis.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/HappyAxis.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/HappyAxis.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,508 @@
+<%--
+  ~ 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.
+  --%>
+
+<html>
+<%@ page import="org.apache.axis2.AxisFault,
+                 org.apache.axis2.Constants,
+                 org.apache.axis2.addressing.EndpointReference,
+                 org.apache.axis2.client.Options,
+                 org.apache.axis2.client.ServiceClient,
+                 org.apache.axis2.context.ConfigurationContext,
+                 org.apache.axis2.context.ConfigurationContextFactory,
+                 javax.xml.parsers.SAXParser,
+                 javax.xml.parsers.SAXParserFactory,
+                 java.io.IOException,
+                 java.io.InputStream,
+                 java.io.StringWriter,
+                 org.apache.axiom.om.OMElement,
+                 org.apache.axiom.om.OMFactory,
+                 org.apache.axiom.om.OMNamespace,
+                 org.apache.axiom.om.OMAbstractFactory,
+                 javax.xml.stream.XMLOutputFactory,
+                 javax.xml.stream.XMLStreamException"
+         session="false" %>
+<head>
+    <jsp:include page="include/httpbase.jsp"/>
+    <title>Axis2 Happiness Page</title>
+    <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css">
+</head>
+
+<body>
+<jsp:include page="include/header.inc"/>
+<jsp:include page="include/link-footer.jsp"/>
+<%IP = request.getRequestURL().toString();%>
+<%!
+    /*
+    * Happiness tests for axis2. These look at the classpath and warn if things
+    * are missing. Normally addng this much code in a JSP page is mad
+    * but here we want to validate JSP compilation too, and have a drop-in
+    * page for easy re-use
+    */
+    String IP;
+
+    /**
+     * Get a string providing install information.
+     * TODO: make this platform aware and give specific hints
+     */
+    public String getInstallHints(HttpServletRequest request) {
+
+        return "<B><I>Note:</I></B> On Tomcat 4.x and Java1.4, you may need to put libraries that contain "
+                + "java.* or javax.* packages into CATALINA_HOME/common/lib"
+                + "<br>jaxrpc.jar and saaj.jar are two such libraries.";
+    }
+
+    /**
+     * test for a class existing
+     * @param classname
+     * @return class iff present
+     */
+    Class classExists(String classname) {
+        try {
+            return Class.forName(classname);
+        } catch (ClassNotFoundException e) {
+            return null;
+        }
+    }
+
+    /**
+     * test for resource on the classpath
+     * @param resource
+     * @return true iff present
+     */
+    boolean resourceExists(String resource) {
+        boolean found;
+        InputStream instream = this.getClass().getResourceAsStream(resource);
+        found = instream != null;
+        if (instream != null) {
+            try {
+                instream.close();
+            } catch (IOException e) {
+            }
+        }
+        return found;
+    }
+
+    /**
+     * probe for a class, print an error message is missing
+     * @param out stream to print stuff
+     * @param category text like "warning" or "error"
+     * @param classname class to look for
+     * @param jarFile where this class comes from
+     * @param errorText extra error text
+     * @param homePage where to d/l the library
+     * @return the number of missing classes
+     * @throws IOException
+     */
+    int probeClass(JspWriter out,
+                   String category,
+                   String classname,
+                   String jarFile,
+                   String axisOperation,
+                   String errorText,
+                   String homePage) throws IOException {
+        try {
+            Class clazz = classExists(classname);
+            if (clazz == null) {
+                String url = "";
+                if (homePage != null) {
+                    url = "<br>  See <a href=" + homePage + ">" + homePage + "</a>";
+                }
+                out.write("<p>" + category + ": could not find class " + classname
+                        + " from file <b>" + jarFile
+                        + "</b><br>  " + errorText
+                        + url
+                        + "<p>");
+                return 1;
+            } else {
+                String location = getLocation(out, clazz);
+                if (location == null) {
+                    out.write("Found " + axisOperation + " (" + classname + ")<br/>");
+                } else {
+                    out.write("Found " + axisOperation + " (" + classname + ") <br/> &nbsp;&nbsp;at " + location + "<br/>");
+                }
+                return 0;
+            }
+        } catch (NoClassDefFoundError ncdfe) {
+            String url = "";
+            if (homePage != null) {
+                url = "<br>  See <a href=" + homePage + ">" + homePage + "</a>";
+            }
+            out.write("<p>" + category + ": could not find a dependency"
+                    + " of class " + classname
+                    + " from file <b>" + jarFile
+                    + "</b><br> " + errorText
+                    + url
+                    + "<br>The root cause was: " + ncdfe.getMessage()
+                    + "<br>This can happen e.g. if " + classname + " is in"
+                    + " the 'common' classpath, but a dependency like "
+                    + " activation.jar is only in the webapp classpath."
+                    + "<p>");
+            return 1;
+        }
+    }
+
+    /**
+     * get the location of a class
+     * @param out
+     * @param clazz
+     * @return the jar file or path where a class was found
+     */
+
+    String getLocation(JspWriter out,
+                       Class clazz) {
+        try {
+            java.net.URL url = clazz.getProtectionDomain().getCodeSource().getLocation();
+            String location = url.toString();
+            if (location.startsWith("jar")) {
+                url = ((java.net.JarURLConnection) url.openConnection()).getJarFileURL();
+                location = url.toString();
+            }
+
+            if (location.startsWith("file")) {
+                java.io.File file = new java.io.File(url.getFile());
+                return file.getAbsolutePath();
+            } else {
+                return url.toString();
+            }
+        } catch (Throwable t) {
+        }
+        return "an unknown location";
+    }
+
+    /**
+     * a class we need if a class is missing
+     * @param out stream to print stuff
+     * @param classname class to look for
+     * @param jarFile where this class comes from
+     * @param errorText extra error text
+     * @param homePage where to d/l the library
+     * @throws IOException when needed
+     * @return the number of missing libraries (0 or 1)
+     */
+    int needClass(JspWriter out,
+                  String classname,
+                  String jarFile,
+                  String axisOperation,
+                  String errorText,
+                  String homePage) throws IOException {
+        return probeClass(out,
+                "<b>Error</b>",
+                classname,
+                jarFile,
+                axisOperation,
+                errorText,
+                homePage);
+    }
+
+    /**
+     * print warning message if a class is missing
+     * @param out stream to print stuff
+     * @param classname class to look for
+     * @param jarFile where this class comes from
+     * @param errorText extra error text
+     * @param homePage where to d/l the library
+     * @throws IOException when needed
+     * @return the number of missing libraries (0 or 1)
+     */
+    int wantClass(JspWriter out,
+                  String classname,
+                  String jarFile,
+                  String axisOperation,
+                  String errorText,
+                  String homePage) throws IOException {
+        return probeClass(out,
+                "<b>Warning</b>",
+                classname,
+                jarFile,
+                axisOperation,
+                errorText,
+                homePage);
+    }
+
+    /**
+     * probe for a resource existing,
+     * @param out
+     * @param resource
+     * @param errorText
+     * @throws Exception
+     */
+    int wantResource(JspWriter out,
+                     String resource,
+                     String errorText) throws Exception {
+        if (!resourceExists(resource)) {
+            out.write("<p><b>Warning</b>: could not find resource " + resource
+                    + "<br>"
+                    + errorText);
+            return 0;
+        } else {
+            out.write("found " + resource + "<br>");
+            return 1;
+        }
+    }
+
+
+    /**
+     *  get servlet version string
+     *
+     */
+
+    public String getServletVersion() {
+        ServletContext context = getServletConfig().getServletContext();
+        int major = context.getMajorVersion();
+        int minor = context.getMinorVersion();
+        return Integer.toString(major) + '.' + Integer.toString(minor);
+    }
+
+
+    /**
+     * what parser are we using.
+     * @return the classname of the parser
+     */
+    private String getParserName() {
+        SAXParser saxParser = getSAXParser();
+        if (saxParser == null) {
+            return "Could not create an XML Parser";
+        }
+
+        // check to what is in the classname
+        return saxParser.getClass().getName();
+    }
+
+    /**
+     * Create a JAXP SAXParser
+     * @return parser or null for trouble
+     */
+    private SAXParser getSAXParser() {
+        SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
+        if (saxParserFactory == null) {
+            return null;
+        }
+        SAXParser saxParser = null;
+        try {
+            saxParser = saxParserFactory.newSAXParser();
+        } catch (Exception e) {
+        }
+        return saxParser;
+    }
+
+    /**
+     * get the location of the parser
+     * @return path or null for trouble in tracking it down
+     */
+
+    private String getParserLocation(JspWriter out) {
+        SAXParser saxParser = getSAXParser();
+        if (saxParser == null) {
+            return null;
+        }
+        return getLocation(out, saxParser.getClass());
+    }
+
+    private String value;
+
+    private OMElement createEnvelope() {
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+        OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample/xsd", "ns1");
+        OMElement method = fac.createOMElement("getVersion", omNs);
+        OMElement value = fac.createOMElement("myValue", omNs);
+        method.addChild(value);
+        return method;
+    }
+
+    public boolean invokeTheService() {
+        try {
+            // since this one is an internal request we do not use public frontendHostUrl
+            // for it
+            int lastindex = IP.lastIndexOf('/');
+            IP = IP.substring(0, lastindex);
+            ///axis2/axis2-web/services/version
+            IP = IP.replaceAll("axis2-web", "");
+
+            OMElement payload = createEnvelope();
+            ConfigurationContext configctx =
+                    ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, null);
+            ServiceClient client = new ServiceClient(configctx, null);
+            EndpointReference targetEPR = new EndpointReference(IP + configctx.getServicePath() + "/Version");
+            Options options = new Options();
+            client.setOptions(options);
+            options.setTo(targetEPR);
+            options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
+
+            OMElement result = client.sendReceive(payload);
+            StringWriter writer = new StringWriter();
+            result.serialize(XMLOutputFactory.newInstance().createXMLStreamWriter(writer));
+            writer.flush();
+            value = writer.toString();
+            return true;
+        } catch (AxisFault axisFault) {
+            System.out.println(value);
+            return false;
+        } catch (XMLStreamException e) {
+            value = e.getMessage();
+            return false;
+        }
+    }
+    
+    public String getFormatedSystemProperty(String systemProperty){
+        if (systemProperty == null)
+            return "";
+    	return  systemProperty.replaceAll(":", ": ");
+    }
+%>
+
+<h1>Axis2 Happiness Page</h1>
+
+<h2>Examining webapp configuration</h2>
+
+<blockquote>
+
+<h4>Essential Components</h4>
+
+<%
+    int needed = 0,wanted = 0;
+
+    /**
+     * the essentials, without these Axis is not going to work
+     */
+    needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
+            "axis2-1.0.jar",
+            "Apache-Axis",
+            "Axis2 will not work",
+            "http://xml.apache.org/axis2/");
+    needed += needClass(out, "org.apache.commons.logging.Log",
+            "commons-logging.jar",
+            "Jakarta-Commons Logging",
+            "Axis2 will not work",
+            "http://jakarta.apache.org/commons/logging.html");
+    needed += needClass(out, "javax.xml.stream.XMLStreamReader",
+            "stax-api-1.0.1.jar",
+            "Streaming API for XML",
+            "Axis2 will not work",
+            "http://dist.codehaus.org/stax/jars/");
+    needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
+            "wstx-asl-3.0.1.jar",
+            "Streaming API for XML implementation",
+            "Axis2 will not work",
+            "http://dist.codehaus.org/stax/jars/");
+
+%>
+<%
+    /*
+    * resources on the classpath path
+    */
+    /* broken; this is a file, not a resource
+    wantResource(out,"/server-config.wsdd",
+    "There is no server configuration file;"
+    +"run AdminClient to create one");
+    */
+    /* add more libraries here */
+
+    //is everything we need here
+    if (needed == 0) {
+        //yes, be happy
+        out.write("<p><font color='green'><strong>The core axis2 libraries are present.</strong></font></p>");
+    } else {
+        //no, be very unhappy
+        response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
+        out.write("<font color='red'><i>"
+                + needed
+                + " core axis2 librar"
+                + (needed == 1 ? "y is" : "ies are")
+                + " missing</i></font>");
+    }
+    //now look at wanted stuff
+%>
+<p>
+    <B><I>Note:</I></B> Even if everything this page probes for is present,
+    there is no guarantee your Axis Service will work, because there are many configuration options
+    that we do not check for. These tests are <i>necessary</i> but not <i>sufficient</i>
+</p>
+</blockquote>
+<h2>Examining Version Service</h2>
+<%
+    boolean serviceStatus = invokeTheService();
+    if (serviceStatus) {
+%>
+<blockquote>
+    <font color="green"><strong>
+        Found Axis2 default Version service and Axis2 is working
+        properly.</strong></font>
+    <p>Now you can drop a service archive in axis2/WEB-INF/services.
+        Following output was produced while invoking Axis2 version service
+        </p>
+        <p><%= value%></p>
+</blockquote>
+
+<%
+} else {
+%>
+<p>
+    <font color="brown"> There was a problem in Axis2 version service , may be
+        the service not available or some thing has gone wrong. But this does
+        not mean system is not working !
+        Try to upload some other service and check to see whether it is
+        working.
+        <br>
+    </font>
+</p>
+
+<%
+    }
+%>
+<h2>Examining Application Server</h2>
+<blockquote>
+<table>
+    <tr><td>Servlet version</td><td><%=getServletVersion()%></td></tr>
+    <tr><td>Platform</td>
+        <td><%=getServletConfig().getServletContext().getServerInfo()%></td>
+    </tr>
+</table>
+</blockquote>
+<h2>Examining System Properties</h2>
+<%
+    /**
+     * Dump the system properties
+     */
+    java.util.Enumeration e = null;
+    try {
+        e = System.getProperties().propertyNames();
+    } catch (SecurityException se) {
+    }
+    if (e != null) {
+        out.write("<pre>");
+        out.write("<table cellpadding='5px' cellspacing='0px' style='border: .5px blue solid;'>");
+        for (; e.hasMoreElements();) {
+            out.write("<tr>");
+            String key = (String) e.nextElement();
+            out.write("<th style='border: .5px #A3BBFF solid;'>" + key + "</th>");
+            out.write("<td style='border: .5px #A3BBFF solid;'>" + getFormatedSystemProperty(System.getProperty(key)) + "&nbsp;</td>");
+            out.write("<tr>");
+        }
+        out.write("</table>");
+        out.write("</pre><p>");
+    } else {
+        out.write("System properties are not accessible<p>");
+    }
+%>
+
+<jsp:include page="include/footer.inc"/>
+</body>
+</html>
+
+

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/InActivateService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/InActivateService.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/InActivateService.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/InActivateService.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,83 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page import="org.apache.axis2.Constants,
+                 org.apache.axis2.description.AxisService,
+                 java.util.Collection,
+                 java.util.HashMap,
+                 java.util.Iterator"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Deactivate Service</h1>
+<form method="get" name="serviceInActivate" action="axis2-admin/deactivateService">
+  <table width="100%"  border="0">
+<tr>
+  <td colspan="2" >
+     <p>Only the services that are active are listed below. Note that although you can activate a service from this page, once system is restarted the service will be active again</p>
+  </td>
+  </tr>
+  <tr>
+<%
+HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
+Collection col = services.values();
+String html = "";
+int count = 0;
+
+for (Iterator iterator = col.iterator(); iterator.hasNext();) {
+	AxisService axisServices = (AxisService) iterator.next();
+	if(axisServices.isActive()){
+		count++;
+		html += "<option value='" + axisServices.getName() + "'>";
+		html += axisServices.getName() + "</option>";
+	}
+}
+request.getSession().setAttribute(Constants.SERVICE_MAP,null);
+if (count > 0) {
+%>
+
+    <td width="20%"> Select Service : </td>
+    <td width="80%">
+       <select name="axisService" class="selectBoxes">
+<%=html%>
+		</select>
+	</td>
+  </tr>
+  <tr>
+    <td width="20%">Deactivate Service </td>
+    <td width="80%"><input type="checkbox" name="turnoff">
+    </td>
+  </tr>
+  <tr>
+  <td>&nbsp;</td>
+  <td>
+    <input name="submit" type="submit" value=" Deactivate " >
+   <input name="reset" type="reset" value=" Clear " >
+  </td>
+<%
+} else {
+	%>
+	<td colspan="2">No active services present.</td>
+	<%
+}
+%>
+  </tr>
+
+</table>
+</form>
+<jsp:include page="include/adminfooter.inc"></jsp:include>

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/LeftFrame.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/LeftFrame.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/LeftFrame.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/LeftFrame.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,204 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page import="org.apache.axis2.Constants" %>
+<%@ page import="org.apache.axis2.context.ConfigurationContext" %>
+<%@ page import="org.apache.axis2.context.ServiceContext" %>
+<%@ page import="org.apache.axis2.context.ServiceGroupContext" %>
+<%@ page import="org.apache.axis2.deployment.util.PhasesInfo" %>
+<%@ page import="org.apache.axis2.description.AxisModule" %>
+<%@ page import="org.apache.axis2.description.AxisOperation" %>
+<%@ page import="org.apache.axis2.description.AxisService" %>
+<%@ page import="org.apache.axis2.description.AxisServiceGroup" %>
+<%@ page import="org.apache.axis2.description.Parameter" %>
+<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
+<%@ page import="org.apache.axis2.engine.Handler" %>
+<%@ page import="org.apache.axis2.engine.Phase" %>
+<%@ page import="org.apache.axis2.util.JavaUtils" %>
+<%@ page import="java.util.ArrayList" %>
+<%@ page import="java.util.Collection" %>
+<%@ page import="java.util.Enumeration" %>
+<%@ page import="java.util.HashMap" %>
+<%@ page import="java.util.Hashtable" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<table width="100%" style="border-right:1px solid #CCCCCC;">
+    <tr>
+     <td colspan="2" >
+       <b>Tools </b>
+     </td>
+    </tr>
+    <tr>
+       <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+       </td>
+       <td>
+         <a href="axis2-admin/upload">Upload Service</a>
+       </td>
+    </tr>
+<tr>
+     <td colspan="2" >
+      <b><nobr>System Components&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</nobr></b>
+     </td>
+  </tr>
+  <tr>
+    <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+    </td>
+    <td >
+      <a href="axis2-admin/listService">Available Services</a>
+    </td>
+ </tr>
+ <tr>
+    <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+    </td>
+    <td >
+      <a href="axis2-admin/listServiceGroups">Available Service Groups</a>
+    </td>
+ </tr>
+ <tr>
+    <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+    </td>
+    <td >
+      <a href="axis2-admin/listModules">Available Modules</a>
+    </td>
+ </tr>
+ <tr>
+    <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+    </td>
+    <td>
+      <a href="axis2-admin/globalModules">Globally Engaged Modules</a>
+    </td>
+ </tr>
+ <tr>
+    <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+    </td>
+    <td >
+      <a href="axis2-admin/listPhases">Available Phases</a>
+    </td>
+ </tr>
+  <tr>
+     <td colspan="2" >
+       <b>Execution Chains</b>
+     </td>
+  </tr>
+   <tr>
+       <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+       </td>
+       <td>
+         <a href="axis2-admin/viewGlobalHandlers">Global Chains</a>
+       </td>
+    </tr>
+    <tr>
+       <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+       </td>
+       <td>
+         <a href="axis2-admin/selectService">Operation Specific Chains</a>
+       </td>
+    </tr>
+    <tr>
+     <td colspan="2" >
+       <b>Engage Module</b>
+     </td>
+  </tr>
+   <tr>
+       <td>
+        &nbsp;&nbsp;&nbsp;&nbsp;
+       </td>
+       <td>
+         <a href="axis2-admin/engagingglobally">For all Services</a>
+       </td>
+    </tr>
+     <tr>
+        <td>
+         &nbsp;&nbsp;&nbsp;&nbsp;
+        </td>
+        <td>
+          <a href="axis2-admin/engageToServiceGroup">For a Service Group</a>
+        </td>
+     </tr>
+
+
+    <tr>
+       <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+       </td>
+       <td>
+         <a href="axis2-admin/engageToService">For a Service</a>
+       </td>
+    </tr>
+
+     <tr>
+       <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+       </td>
+       <td>
+         <a href="axis2-admin/listOperation">For an Operation</a>
+       </td>
+    </tr>
+
+    <tr>
+     <td colspan="2" >
+       <b>Services</b>
+     </td>
+  </tr>
+    <tr>
+       <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+       </td>
+       <td>
+         <a href="axis2-admin/deactivateService">Deactivate Service</a>
+       </td>
+    </tr>
+    <tr>
+       <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+       </td>
+       <td>
+         <a href="axis2-admin/activateService">Activate Service</a>
+       </td>
+    </tr>
+    <tr>
+       <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+       </td>
+       <td>
+         <a href="axis2-admin/selectServiceParaEdit">Edit Parameters</a>
+       </td>
+    </tr>
+    <tr>
+     <td colspan="2" >
+       <b>Contexts</b>
+     </td>
+    </tr>
+    <tr>
+       <td>
+       &nbsp;&nbsp;&nbsp;&nbsp;
+       </td>
+       <td>
+         <a href="axis2-admin/listContexts">View Hierarchy</a>
+       </td>
+    </tr>
+</table>

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ListServiceGroup.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ListServiceGroup.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ListServiceGroup.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ListServiceGroup.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,67 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page import="org.apache.axis2.Constants" %>
+<%@ page import="org.apache.axis2.description.AxisModule" %>
+<%@ page import="org.apache.axis2.description.AxisService" %>
+<%@ page import="org.apache.axis2.description.AxisServiceGroup" %>
+<%@ page import="java.util.Collection" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"/>
+<h1>Available Service Groups</h1>
+<%
+    Iterator axisServiceGroupIter = (Iterator) request.getSession().getAttribute(
+            Constants.SERVICE_GROUP_MAP);
+    request.getSession().setAttribute(Constants.SERVICE_GROUP_MAP,null);
+    while (axisServiceGroupIter.hasNext()) {
+        AxisServiceGroup axisServiceGroup = (AxisServiceGroup) axisServiceGroupIter.next();
+        String groupName = axisServiceGroup.getServiceGroupName();
+        Collection modules = axisServiceGroup.getEngagedModules();
+        Iterator axisServiceIter = axisServiceGroup.getServices();
+%>
+<h2><%=groupName%></h2><ul>
+    <%
+        while (axisServiceIter.hasNext()){
+            AxisService axisService = (AxisService) axisServiceIter.next();
+            String serviceName = axisService.getName();
+    %>
+    <li><font color="blue"><a href="axis2-admin/ListSingleService?serviceName=<%=serviceName%>">
+        <%=serviceName%></a></font></li>
+    <%
+        }
+    %>
+</ul>
+<%
+    if (modules.size() > 0) {
+%>
+<I>Engaged modules</I><ul>
+    <%
+        for (Iterator iterator = modules.iterator(); iterator.hasNext();) {
+            AxisModule axisOperation = (AxisModule) iterator.next();
+            String modulDesc = axisOperation.getName();
+    %>
+    <li><%=modulDesc%></li>
+    <%
+        }
+    %></ul><%
+        }
+    }
+%>
+<jsp:include page="include/adminfooter.inc"/>

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Login.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Login.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Login.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/Login.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,90 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+  <head>
+    <jsp:include page="include/httpbase.jsp"/>
+    <title>Login to Axis2 :: Administration page</title>
+    <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css">
+  </head>
+
+  <body onload="javascript:document.LoginForm.userName.focus();">
+    <jsp:include page="include/header.inc"/>
+    <jsp:include page="include/link-footer.jsp"/>
+    <table class="FULL_BLANK">
+      <tr>
+        <td valign="top">
+        	<h2>Welcome :</h2>
+        	<p>Welcome to the Axis2 administration console. From inside the Axis2 administration console you can :</p>
+	    	<ul style="list-style: none;" class="loginUL">
+	       		<li>Check on the health of your Axis2 deployment.</li>
+ 	       		<li>Change any parameters at run time.</li>
+ 	       		<li>Upload new services into Axis2 [Service hot-deployment].</li>
+ 	   		</ul>
+	        <font color="orange">Warning: Please note that configuration changes done through the administration console
+    	    will be lost when the server is restarted.</font>
+    	</td>
+        <td valign="top" align="left">
+          <form method="post" name="LoginForm" action="axis2-admin/login">
+            <table class="LOG_IN_FORM">
+              <tr>
+                <td align="center" colspan="2" bgcolor="#b0b0b0" color="#FFFFFF"><font color="#FFFFFF">Login</font></td>
+              </tr>
+              <tr>
+                 <td align="center" colspan="2">&nbsp;</td>
+               </tr>
+              <tr>
+                <td align="right">Username:</td>
+                <td><input align="left" type="text" name="userName" tabindex="1">
+                </td>
+              </tr>
+              <tr>
+                <td align="right">Password : </td>
+                <td><input align="left" type="password" name="password" tabindex="2">
+                </td>
+              </tr>
+              <tr>
+                <td colspan="2">
+                  <br>
+                </td>
+              </tr>
+              <tr>
+                <td align="center" colspan="2">
+                  <input name="cancel" type="reset" value=" Clear "> &nbsp; &nbsp;
+                  <input name="submit" type="submit" value=" Login ">
+                </td>
+              </tr>
+              <tr>
+                <td align="center" colspan="2">
+                  <font color="red">&nbsp;<% if (request.getAttribute("errorMessage") != null) {%><%= request.getAttribute("errorMessage")%><% } %>&nbsp;</font>
+                </td>
+              </tr>
+            </table>
+          </form>
+          <br/><br/><br/><br/><br/><br/>
+        </td>
+      </tr>
+    </table>
+    <p>Test</p>
+    <jsp:include page="include/footer.inc"/>
+  </body>
+</html>
+
+

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/MainFrame.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/MainFrame.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/MainFrame.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/MainFrame.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,29 @@
+<%--
+  ~ 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.
+  --%>
+
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Axis2 Administration </title>
+    <style type="text/css">
+    </style></head>
+
+  <body>
+  </body>
+</html>

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/SelectService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/SelectService.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/SelectService.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/SelectService.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,79 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page import="org.apache.axis2.Constants,
+                 org.apache.axis2.description.AxisService,
+                 java.util.Collection,
+                 java.util.HashMap,
+                 java.util.Iterator"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+
+  <%
+      String action ="";
+      String buttonName="" ;
+      String status = (String)request.getSession().getAttribute(Constants.SELECT_SERVICE_TYPE);
+      String heading = "";
+      String disc = "";
+      if(status != null && status.equals("MODULE")) {
+          action = "listOperations";
+          buttonName = " View Operations";
+          heading = "Select a service to view operation specific chains";
+          disc = "Select an Axis service from the combo and click on the 'View Operations' button to view operation specific Chains.";
+      } else if(status != null && status.equals("VIEW")){
+          buttonName = " View ";
+          action = "viewServiceHandlers";
+          heading = "Select a service to view service handlers";
+          disc = "Select an Axis service from the combo and click on the 'View' button to view service handlers.";
+      } else if (status != null && status.equals("SERVICE_PARAMETER")){
+          buttonName = " Edit Parameters ";
+          action = "editServicePara"; // Constants.EDIR_SERVICE_PARA;
+          heading = "Select a Service to Edit Parameters";
+          disc = "Select an Axis service from the combo and click on the 'Edit Parameters' button to edit parameters.";
+      }
+  %>
+<h1><%=heading%></h1>
+<p><%=disc%></p>
+<form method="get" name="selectServiceForm" action="axis2-admin/<%=action%>">
+<table border="0" width="50%" cellspacing="1" cellpadding="1">
+         <tr>
+        <td width="35%">Select a Service :</td><td width="65%">
+            <select name="axisService">
+            <%
+                HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
+                Collection serviceCol =  services.values();
+                for (Iterator iterator = serviceCol.iterator(); iterator.hasNext();) {
+                    AxisService axisService = (AxisService)iterator.next();
+                    String serviceName = axisService.getName();
+            %> <option  align="left" value="<%=serviceName%>"><%=serviceName%></option>
+             <%
+                }
+                request.getSession().setAttribute(Constants.SERVICE_MAP,null);
+             %>
+           </td>
+        </tr>
+	<tr><td colspan="2">&nbsp;</td></tr>
+        <tr><td>&nbsp;</td>
+             <td colspan="2" align="left">
+                <input name="submit" type="submit" value="<%=buttonName%>" >
+             </td>
+         </tr>
+      </table>
+   </form>
+<jsp:include page="include/adminfooter.inc"></jsp:include>

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ServiceParaEdit.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ServiceParaEdit.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ServiceParaEdit.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ServiceParaEdit.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,122 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page import="org.apache.axis2.Constants,
+                 org.apache.axis2.description.AxisOperation,
+                 org.apache.axis2.description.AxisService,
+                 org.apache.axis2.description.Parameter,
+                 java.util.ArrayList,
+                 java.util.Iterator"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Edit Service Parameters</h1>
+  <form method="get" name="editServicepara" action="axis2-admin/editServicepara">
+   <%
+            AxisService axisService = (AxisService)request.getSession().
+                    getAttribute(Constants.SERVICE);
+             if(axisService != null ){
+   %>     <table width="100%">
+
+            <tr>
+                 <td colspan="2" ><b>
+           <%
+                 String servicName =  axisService.getName();
+                 %>Service Parameters :: <%=servicName%>
+                 </b></td>
+             </tr>
+             <tr>
+             <td colspan="2" ><input style="display:none"  name="axisService" value="<%=servicName%>"></td>
+            </tr>
+             <%
+                 ArrayList service_para = axisService.getParameters();
+                 for (int i = 0; i < service_para.size(); i++) {
+                     Parameter parameter = (Parameter) service_para.get(i);
+                     if (parameter.getParameterType()==Parameter.OM_PARAMETER) {
+                         continue;
+                     }
+                     %>
+                     <tr>
+                     <td><%=parameter.getName()%></td>
+                     <td><input type="text" value="<%=parameter.getValue()%>"
+                           name="<%=(servicName + "_" + parameter.getName())%>" size="50">
+                           </td>
+                     </tr>
+                     <%
+                 }
+                Iterator operations =  axisService.getOperations();
+                if(operations.hasNext()){
+                    %>
+                    <tr>
+                      <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
+                      <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
+                    </tr>
+                    <tr>
+                       <td colspan="2" > <b>Operation Paramaters :: </b>
+                       </td>
+                    </tr>
+                    <%
+                }
+
+                 ArrayList op_paras ;
+                        operations = axisService.getOperations();
+                 while (operations.hasNext()) {
+                     AxisOperation axisOperation = (AxisOperation) operations.next();
+                     String operationName = axisOperation.getName().getLocalPart();
+                     %>
+                     <tr>
+                       <td colspan="2" > &nbsp;&nbsp;&nbsp;&nbsp;</td>
+                     </tr>
+                     <tr>
+                       <td colspan="2" ><b>Operation : <%=operationName%></b></td>
+                     </tr>
+                    <%
+                     op_paras = axisOperation.getParameters();
+                     for (int i = 0; i < op_paras.size(); i++) {
+                         Parameter parameter = (Parameter) op_paras.get(i);
+                         if (parameter.getParameterType()==Parameter.OM_PARAMETER) {
+                             continue;
+                         }
+                     %>
+                     <tr>
+                     <td><%=parameter.getName()%></td>
+                     <td><input type="text" value="<%=parameter.getValue()%>"
+                           name="<%=(operationName + "_" + parameter.getName())%>" size="50">
+                           </td>
+                     </tr>
+                     <%
+                  }
+                 }
+                 %>
+                 <tr>
+                    <td>&nbsp;</td>
+                <td>
+                     <input name="changePara" type="submit" value=" Change " >
+               </td>
+               </tr>
+                 </table>
+                 <%
+             } else {
+            	%>
+            	<p><%=request.getAttribute("status")%></p>
+            	<%
+             }
+
+       %>
+       <form>
+<jsp:include page="include/adminfooter.inc"></jsp:include>

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/TopFrame.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/TopFrame.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/TopFrame.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/TopFrame.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,30 @@
+<%--
+  ~ 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.
+  --%>
+
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Untitled Document</title>
+    <style type="text/css">
+    </style></head>
+
+  <body>
+    <jsp:include page="include/adminheader.inc"/>
+  </body>
+</html>

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewContexts.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewContexts.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewContexts.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewContexts.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,64 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page import="org.apache.axis2.Constants"%>
+<%@ page import="org.apache.axis2.context.ConfigurationContext"%>
+<%@ page import="org.apache.axis2.context.ServiceContext"%>
+<%@ page import="org.apache.axis2.context.ServiceGroupContext"%>
+<%@ page import="java.util.Iterator"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Running Context Hierarchy</h1>
+<%
+    ConfigurationContext configContext = (ConfigurationContext) request.getSession().getAttribute(
+            Constants.CONFIG_CONTEXT);
+
+    String[] serviceGroupIds = configContext.getServiceGroupContextIDs();
+    if (serviceGroupIds.length > 0) {
+%>
+<ul>
+    <%
+
+   for (int i = 0; i < serviceGroupIds.length; i++) {
+        String groupContextID = serviceGroupIds[i];
+        ServiceGroupContext groupContext = configContext.getServiceGroupContext(groupContextID);
+        %>
+           <li><%=groupContextID%><font color="blue"><a href="axis2-admin/viewServiceGroupConetxt?TYPE=VIEW&ID=<%=groupContextID%>">
+                    View</a></font>  <font color="red"><a href="axis2-admin/viewServiceGroupConetxt?TYPE=DELETE&ID=<%=groupContextID%>">
+                    Remove</a> </font></li>
+        <%
+        Iterator serviceContextItr = groupContext.getServiceContexts();
+            %><ul><%
+        while (serviceContextItr.hasNext()) {
+            ServiceContext serviceContext = (ServiceContext)serviceContextItr.next();
+             String serviceConID = serviceContext.getAxisService().getName();
+        %>
+            <li><%=serviceConID%><font color="blue"><a href="axis2-admin/viewServiceContext?TYPE=VIEW&ID=<%=serviceConID%>&PID=<%=groupContextID%>">
+                    View</a></font></li>
+        <%
+        }
+                %></ul><hr><%
+    }
+    %>  </ul>
+        <%
+            } else {%>
+	<p>No running contexts were found on the system.</p>
+            <%}
+%>
+<jsp:include page="include/adminfooter.inc"></jsp:include>

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewGlobalHandlers.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewGlobalHandlers.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewGlobalHandlers.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewGlobalHandlers.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,137 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page import="org.apache.axis2.Constants,
+                 org.apache.axis2.engine.AxisConfiguration,
+                 org.apache.axis2.engine.Handler,
+                 org.apache.axis2.engine.Phase,
+                 java.util.List"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>View Global Execution Chains</h1>
+   <%
+            AxisConfiguration axisConfig = (AxisConfiguration)request.getSession().
+                    getAttribute(Constants.GLOBAL_HANDLERS);
+             if(axisConfig != null ){
+                 List handlers ;
+                 List phases = axisConfig.getInFlowPhases();
+                 %>
+                 <h3> In Flow Up To and Including Dispatcher </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name :  <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+                 phases = axisConfig.getInFaultFlowPhases();
+                 %>
+                 <h3> In Fault Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name  : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+
+                 phases = axisConfig.getOutFlowPhases();
+                 %>
+                 <h3> Out Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+                 phases = axisConfig.getOutFaultFlowPhases();
+                 %>
+                 <h3> Out Fault Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+
+             }
+              %>
+<jsp:include page="include/adminfooter.inc"></jsp:include>

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewServiceHandlers.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewServiceHandlers.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewServiceHandlers.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/ViewServiceHandlers.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,147 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page import="org.apache.axis2.Constants,
+                 org.apache.axis2.description.AxisOperation,
+                 org.apache.axis2.description.AxisService,
+                 org.apache.axis2.engine.Handler,
+                 org.apache.axis2.engine.Phase,
+                 java.util.ArrayList,
+                 java.util.List,
+                 java.util.Iterator"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>View Operation Specific Chains</h1>
+   <%
+            AxisService axisService = (AxisService)request.getSession().
+                    getAttribute(Constants.SERVICE_HANDLERS);
+             if(axisService != null ){
+                List handlers ;
+                Iterator operations =  axisService.getOperations();
+                 while (operations.hasNext()) {
+                     AxisOperation axisOperationon = (AxisOperation) operations.next();
+                     %><h2>Operation Name : <%=axisOperationon.getName().getLocalPart()%></h2><%
+                     ArrayList phases = axisOperationon.getRemainingPhasesInFlow();
+                 %>
+                 <h3> In Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name :  <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+                 phases = axisOperationon.getPhasesInFaultFlow();
+                 %>
+                 <h3> In Fault Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name  : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+
+                 phases = axisOperationon.getPhasesOutFlow();
+                 %>
+                 <h3> Out Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+                 phases = axisOperationon.getPhasesOutFaultFlow();
+                 %>
+                 <h3> Out Fault Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+
+             }
+                 }
+
+              %>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
\ No newline at end of file

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/admin.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/admin.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/admin.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/admin.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,31 @@
+<%--
+  ~ 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.
+  --%>
+
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Welcome to Axis2 Web Admin Module !!</h1>
+<p>You are now logged into the Axis2 administration console from inside
+the console you will be able to</p>
+    <ul>
+        <li>to check on the health of your Axis2 deployment.</li>
+        <li>to change any parameters at run time.</li>
+        <li>to upload new services into Axis2 [Service hot-deployment].</li>
+    </ul>
+
+<jsp:include page="include/adminfooter.inc"></jsp:include>

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/css/axis-style.css
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/css/axis-style.css?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/css/axis-style.css (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/css/axis-style.css Mon Jul 11 21:10:36 2011
@@ -0,0 +1,50 @@
+/*
+ * 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.
+ */
+BODY         {
+	background-color : "#FFFFFF";
+	leftmargin:"0";
+	topmargin:"0";
+	font-family:Arial;
+	font-size:11pt;
+}
+h1           { font-family: Arial; font-size: 16pt; font-weight: bold }
+h2           { font-family: Arial; font-size: 13pt; font-weight: bold; color: #5D0D7D }
+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 }
+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 ;
+}
+
+UL.loginUL LI{
+	padding: 10pt;
+}
\ No newline at end of file

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/deleteService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/deleteService.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/deleteService.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/deleteService.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,23 @@
+<%--
+  ~ 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.
+  --%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"/>
+<p><%=request.getSession().getAttribute("status")%></p>
+<p>Click <a href="services/listServices">here</a> to go to the service list page</p>
+<jsp:include page="include/adminfooter.inc" />
\ No newline at end of file