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/05/14 20:35:02 UTC

svn commit: r1103180 [19/23] - in /incubator/airavata/donations/ogce-donation: ./ modules/ modules/utils/ modules/utils/schemas/ modules/utils/schemas/gfac-schema-utils/ modules/utils/schemas/gfac-schema-utils/generated/ modules/utils/schemas/gfac-sche...

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/error.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/error.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/error.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/error.jsp Sat May 14 18:34:50 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" %>
+<%@page isErrorPage="true" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+  <table>
+  <tr>
+  <td align="center">An error has occured!. Please check the details below</td>
+  </tr>
+  <tr>
+  <td align="center"><%=exception.getMessage()%></td>
+  </tr>
+  </table>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
\ No newline at end of file

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/errorModule.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/errorModule.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/errorModule.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/errorModule.jsp Sat May 14 18:34:50 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.
+  --%>
+
+<%@ page import="org.apache.axis2.Constants,
+                 java.util.Hashtable"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+  <%
+      Hashtable errornessModules =(Hashtable)request.getSession().getAttribute(Constants.ERROR_MODULE_MAP);
+      String moduleName = request.getParameter("moduleName");
+  %> <h3>The Module has deployment faults</h3><%
+  %><font color="red" ><%=(String)errornessModules.get(moduleName) %></font><%
+  %>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
\ No newline at end of file

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/globalModules.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/globalModules.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/globalModules.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/globalModules.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,55 @@
+ <%--
+  ~ 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.AxisModule,
+                 java.util.Collection,
+                 java.util.Iterator"%>
+ <%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Globally Engaged Modules</h1>
+     <%
+         boolean foundModules = false;
+         boolean wroteUL = false;
+         String modulename = "";
+         Collection moduleCol = (Collection) request.getSession().getAttribute(Constants.MODULE_MAP);
+         request.getSession().setAttribute(Constants.MODULE_MAP, null);
+         if (moduleCol != null && moduleCol.size() > 0) {
+             for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
+                 AxisModule axisOperation = (AxisModule) iterator.next();
+                 modulename = axisOperation.getName();
+                 if (!wroteUL) {
+                     wroteUL = true;
+     %>
+	<ul>
+<%
+		}
+     %><li><%=modulename%></li>
+     <br> <%
+             }
+		if (wroteUL){
+%>
+	</ul>
+<%
+		}
+         } else{
+     %>
+    <h2><font color="blue">There are no modules engaged globally</font></h2> 
+                 <%
+         }
+                 %>
+<jsp:include page="include/adminfooter.inc"></jsp:include>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/asf-logo.gif
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/asf-logo.gif?rev=1103180&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/asf-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/axis.gif
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/axis.gif?rev=1103180&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/axis.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/axis.jpg
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/axis.jpg?rev=1103180&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/axis.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/axis_l.jpg
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/axis_l.jpg?rev=1103180&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/images/axis_l.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminfooter.inc
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminfooter.inc?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminfooter.inc (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminfooter.inc Sat May 14 18:34:50 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.
+  -->
+</td></tr>
+</table>
+<jsp:include page="footer.inc"></jsp:include>
+</body>
+</html>
\ No newline at end of file

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminheader.inc
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminheader.inc?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminheader.inc (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminheader.inc Sat May 14 18:34:50 2011
@@ -0,0 +1,28 @@
+<!--
+  ~ 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.
+  -->
+<table width="100%">
+  <tr>
+    <td align="left"><img src="axis2-web/images/asf-logo.gif"/><h1>Axis 2</h1></td>
+    <td align="right"><img src="axis2-web/images/axis.jpg"/></td>
+    </tr>
+    <tr>
+    <td>.</td>
+   <td align="right"><a href="logout" target="_parent" >Log out</a></td>
+   </tr>
+</table>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminheader.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminheader.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminheader.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/adminheader.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,81 @@
+<%--
+  ~ 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" %>
+<%--
+~ 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 HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <jsp:include page="../include/httpbase.jsp"/>
+    <title>Axis2 :: Administration Page</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>
+    <jsp:include page="header.inc"/>
+    <table class="FULL_BLANK">
+      <tr>
+        <td valign="top" width="20%">
+          <jsp:include page="../LeftFrame.jsp"/>
+        </td>
+        <td valign="top" align="left" width="80%">
+        <table width="100%">
+          <tr>
+            <td align="right" colspan="2"><a href="#" onclick="javascript:history.back();">Back</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
+              href="axis2-admin/logout">Log out</a></td>
+          </tr>
+        </table>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/footer.inc
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/footer.inc?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/footer.inc (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/footer.inc Sat May 14 18:34:50 2011
@@ -0,0 +1,37 @@
+<!--
+  ~ 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.
+  -->
+</td>
+</tr>
+<tr height="20px">
+	<td>
+	<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>
+	</td>
+</tr>
+</table>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/header.inc
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/header.inc?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/header.inc (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/header.inc Sat May 14 18:34:50 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.
+  -->
+<table class="FULL_BLANK"><tr height="100%"><td valign="top">
+<table width="100%">
+<tr><td>
+<table width="950px">
+  <tr>
+    <td align="left"><img src="axis2-web/images/asf-logo.gif"/></td>
+    <td align="right"><img src="axis2-web/images/axis_l.jpg"/></td>
+    </tr>
+</table>
+</td>
+<td>&nbsp;</td></tr></table>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/httpbase.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/httpbase.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/httpbase.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/httpbase.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,92 @@
+<%--
+  ~ 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.AxisFault" %>
+<%@ page import="org.apache.axis2.Constants" %>
+<%@ page import="org.apache.axis2.addressing.EndpointReference" %>
+<%@ page import="org.apache.axis2.client.Options" %>
+<%@ page import="org.apache.axis2.client.ServiceClient" %>
+<%@ page import="org.apache.axis2.context.ConfigurationContext" %>
+<%@ page import="org.apache.axis2.context.ConfigurationContextFactory" %>
+<%@ 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.transport.http.AxisServlet" %>
+<%@ page import="org.apache.axis2.util.JavaUtils" %>
+<%@ page import="javax.xml.parsers.SAXParser" %>
+<%@ page import="javax.xml.parsers.SAXParserFactory" %>
+<%@ page import="java.io.IOException" %>
+<%@ page import="java.io.InputStream" %>
+<%@ page import="java.io.StringWriter" %>
+<%@ 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" %>
+<%!
+  private String frontendHostUrl;
+
+  public void jspInit() {
+    ServletContext context = this.getServletConfig().getServletContext();
+    ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
+    if (configctx != null){
+        Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
+        if (parameter != null) {
+          frontendHostUrl = (String) parameter.getValue();
+        }
+    }
+  }
+
+  public String calculateHttpBase(HttpServletRequest aRequest) {
+    StringBuffer stringBuffer = new StringBuffer();
+    if (frontendHostUrl != null) {
+      stringBuffer.append(frontendHostUrl);
+    } else {
+      String scheme = aRequest.getScheme();
+      stringBuffer.append(scheme);
+      stringBuffer.append("://");
+      stringBuffer.append(aRequest.getServerName());
+      if (("http".equalsIgnoreCase(scheme) && aRequest.getServerPort() != 80) || "https".equalsIgnoreCase(scheme) && aRequest.getServerPort() != 443)
+      {
+        stringBuffer.append(":");
+        stringBuffer.append(aRequest.getServerPort());
+      }
+      // I think i saw web containers return null for root web context
+      if (aRequest.getContextPath() != null) {
+        stringBuffer.append(aRequest.getContextPath());
+      }
+    }
+    // append / char if needed
+    if (stringBuffer.charAt(stringBuffer.length() - 1) != '/') {
+      stringBuffer.append("/");
+    }
+    String curentUrl = stringBuffer.toString();
+    aRequest.setAttribute("frontendHostUrl", curentUrl);
+    return curentUrl;
+  }
+%><base href="<%= calculateHttpBase(request)%>"/>
\ No newline at end of file

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/link-footer.inc
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/link-footer.inc?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/link-footer.inc (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/link-footer.inc Sat May 14 18:34:50 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.
+  -->
+<table width="100%">
+ <tr>
+   <td align="center"><a href="index.jsp">Back Home</a></td>
+   </tr>
+</table>
\ No newline at end of file

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/link-footer.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/link-footer.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/link-footer.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/include/link-footer.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,69 @@
+<%--
+  ~ 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.AxisFault" %>
+<%@ page import="org.apache.axis2.Constants" %>
+<%@ page import="org.apache.axis2.addressing.EndpointReference" %>
+<%@ page import="org.apache.axis2.client.Options" %>
+<%@ page import="org.apache.axis2.client.ServiceClient" %>
+<%@ page import="org.apache.axis2.context.ConfigurationContext" %>
+<%@ page import="org.apache.axis2.context.ConfigurationContextFactory" %>
+<%@ page import="org.apache.axis2.description.AxisOperation" %>
+<%@ page import="org.apache.axis2.description.AxisService" %>
+<%@ page import="org.apache.axis2.description.Parameter" %>
+<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
+<%@ page import="org.apache.axis2.util.JavaUtils" %>
+<%@ page import="javax.xml.parsers.SAXParser" %>
+<%@ page import="javax.xml.parsers.SAXParserFactory" %>
+<%@ page import="java.io.IOException" %>
+<%@ page import="java.io.InputStream" %>
+<%@ page import="java.io.StringWriter" %>
+<%@ 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" %>
+<%--
+~ 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.
+--%>
+<table width="100%">
+	<tr><td>
+		<table width="950px">
+			<tr>
+				<td align="right"><a href="axis2-web/index.jsp">Back Home</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a href="#" onclick="javascript:window.location.reload(true);return false;">Refresh</a></td>
+			</tr>
+		</table>
+	</td>
+	<td>&nbsp;</td></tr>
+</table>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/index.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/index.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/index.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/index.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,58 @@
+<%--
+  ~ 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>Axis 2 - Home</title>
+    <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css"/>
+  </head>
+
+  <body>
+    <jsp:include page="include/header.inc" />
+    <br/>
+
+    <h1>Welcome!</h1>
+    Welcome to the new generation of Axis. If you can see this page you have
+    successfully deployed the Axis2 Web Application. However, to ensure that Axis2
+    is properly working, we encourage you to click on the validate link.
+    <br/>
+    <ul>
+      <li><a href="services/listServices">Services</a>
+        <br/>
+        View the list of all the available services deployed in this server.
+      </li>
+      <li><a href="axis2-web/HappyAxis.jsp">Validate</a>
+        <br/>
+        Check the system to see whether all the required libraries are in place
+        and view the system information.
+      </li>
+      <%--<li><a href="interop.jsp">Do an interop test</a>
+      <br/>
+      You can run Interoperability tests here
+      </li>--%>
+      <li><a href="axis2-admin/">Administration</a>
+        <br/>
+        Console for administering this Axis2 installation.
+      </li>
+    </ul>
+    <jsp:include page="include/footer.inc"/>
+  </body>
+</html>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listFaultyService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listFaultyService.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listFaultyService.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listFaultyService.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,85 @@
+<%--
+  ~ 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"%>
+<%@ page import="org.apache.axis2.description.AxisService"%>
+<%@ page import="java.util.Hashtable"%>
+<%@ page import="java.util.Iterator"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+  <head>
+    <jsp:include page="include/httpbase.jsp"/>
+    <title>List Single service</title>
+    <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css">
+  </head>
+  <body>
+  <jsp:include page="include/header.inc"></jsp:include>
+    <jsp:include page="include/link-footer.jsp"></jsp:include>
+  <%
+        String prifix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) +"services/";
+    %>
+        <%
+            String isFault = (String)request.getSession().getAttribute(Constants.IS_FAULTY);
+            String servicName = request.getParameter("serviceName");
+            if(Constants.IS_FAULTY.equals(isFault)){
+                Hashtable errornessservices =(Hashtable)request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
+                %>
+                    <h3>This Web axisService has deployment faults</h3><%
+                     %><font color="red" ><%=(String)errornessservices.get(servicName) %></font>
+                <%
+
+                    }else {
+
+                    AxisService axisService =
+                            (AxisService) request.getSession().getAttribute(Constants.SINGLE_SERVICE);
+                    if(axisService!=null){
+           Iterator opItr = axisService.getOperations();
+            //operationsList = operations.values();
+          String  serviceName = axisService.getName();
+            %><h2><font color="blue"><a href="<%=prifix + axisService.getName()%>?wsdl"><%=serviceName%></a></font></h2>
+           <font color="blue">Service EPR : </font><font color="black"><%=prifix + axisService.getName()%></font><br>
+           <h4>Service Description : <font color="black"><%=axisService.getServiceDescription()%></font></h4>
+           <i><font color="blue">Service Status : <%=axisService.isActive()?"Active":"InActive"%></font></i><br>
+           <%
+            if (opItr.hasNext()) {
+                %><i>Available operations</i><%
+            } else {
+                %><i> There are no Operations specified</i><%
+            }
+               opItr = axisService.getOperations();
+           %><ul><%
+            while (opItr.hasNext()) {
+                AxisOperation axisOperation = (AxisOperation) opItr.next();
+                %><li><%=axisOperation.getName().getLocalPart()%></li>
+                <%
+            }
+           %></ul>
+           <%
+                    } else{
+                           %>
+                <h3><font color="red" >No services found in this location.</font></h3>
+ <%
+                    }
+
+            }
+        %>
+<jsp:include page="include/footer.inc"></jsp:include>
+        </body>
+</html>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listGroupService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listGroupService.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listGroupService.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listGroupService.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,107 @@
+<%--
+  ~ 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.AxisOperation" %>
+<%@ page import="org.apache.axis2.description.AxisService" %>
+<%@ page import="java.util.Collection" %>
+<%@ page import="java.util.HashMap" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+<head>
+  <jsp:include page="include/httpbase.jsp"/>
+  <title>List Services</title>
+  <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+<jsp:include page="include/adminheader.jsp">
+</jsp:include>
+<h1>Available services</h1>
+<%
+  String prifix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) +"/";
+%>
+<%
+  HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP);
+  request.getSession().setAttribute(Constants.SERVICE_MAP,null);
+  String servicName = request.getParameter("serviceName");
+  AxisService axisService = (AxisService) serviceMap.get(servicName);
+  if (axisService != null) {
+    Iterator operations;
+    String serviceName;
+    operations = axisService.getOperations();
+    serviceName = axisService.getName();
+%><hr>
+
+<h2><font color="blue"><a href="<%=prifix + axisService.getName()%>?wsdl"><%=serviceName%></a>
+</font></h2>
+<font color="blue">Service EPR :</font><font color="black"><%=prifix + axisService.getName()%></font>
+<h4>Service Description : <font color="black"><%=axisService.getServiceDescription()%></font></h4>
+<i><font color="blue">Service Status : <%=axisService.isActive() ? "Active" : "InActive"%></font></i><br/>
+<%
+  Collection engagedModules = axisService.getEngagedModules();
+  String moduleName;
+  if (engagedModules.size() > 0) {
+%>
+<i>Engaged Modules for the Axis Service</i><ul>
+  <%
+    for (Iterator iteratorm = engagedModules.iterator(); iteratorm.hasNext();) {
+      AxisModule axisOperation = (AxisModule) iteratorm.next();
+      moduleName = axisOperation.getName();
+  %><li><%=moduleName%></li>
+  <%
+    }%>
+</ul>
+<%
+  }
+  if (operations.hasNext()) {
+%><br><i>Available operations</i><%
+} else {
+%><i> There are no operations specified</i><%
+  }
+%><ul><%
+  operations = axisService.getOperations();
+  while (operations.hasNext()) {
+    AxisOperation axisOperation = (AxisOperation) operations.next();
+%><li><%=axisOperation.getName().getLocalPart()%></li>
+  <%
+    engagedModules = axisOperation.getEngagedModules();
+    if (engagedModules.size() > 0) {
+  %>
+  <br><i>Engaged Modules for the Operation</i><ul>
+  <%
+    for (Iterator iterator2 = engagedModules.iterator(); iterator2.hasNext();) {
+      AxisModule moduleDecription = (AxisModule) iterator2.next();
+      moduleName = moduleDecription.getName();
+  %><li><%=moduleName%></li><br><%
+  }
+%></ul><%
+    }
+
+  }
+%></ul>
+<%
+  }
+%>
+<jsp:include page="include/adminfooter.inc">
+</jsp:include>
+</body>
+</html>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listModules.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listModules.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listModules.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listModules.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,81 @@
+ <%--
+  ~ 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.AxisModule,
+                 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" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+  <h1>Available Modules</h1>
+     <%
+         boolean foundModules = false;
+	boolean wroteUL = false;
+         HashMap moduleMap = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
+         request.getSession().setAttribute(Constants.MODULE_MAP,null);
+         Hashtable errornesModules =(Hashtable)request.getSession().getAttribute(Constants.ERROR_MODULE_MAP);
+         if (moduleMap!=null && !moduleMap.isEmpty()){
+             String modulename ;
+             String moduleDescription ;
+             Collection moduleNames = moduleMap.values();
+             for (Iterator iterator = moduleNames.iterator(); iterator.hasNext();) {
+                 foundModules = true;
+                 AxisModule  moduleQName = (AxisModule) iterator.next();
+                 modulename = moduleQName.getName();
+                 moduleDescription = moduleQName.getModuleDescription();
+                 if(moduleDescription==null){
+                     moduleDescription = "[ --  No module description found  --]";
+                 }
+        if (!wroteUL){
+			wroteUL = true;
+%>
+	<ul>
+<%
+		}
+     %><li><b><%=modulename%></b> : <%=moduleDescription%></li>
+      <%
+             }
+		if (wroteUL){
+%>
+	</ul>
+<%
+		}
+        }
+      %>
+      <%if(errornesModules.size()>0){
+          %>
+      <h3><font color="red">Faulty Modules</font></h3>
+             <%
+             Enumeration faultyModules = errornesModules.keys();
+             while (faultyModules.hasMoreElements()) {
+                 foundModules = true;
+                 String faultyModuleName = (String) faultyModules.nextElement();
+             %><a href="errorModule.jsp?moduleName=<%=faultyModuleName%>">
+                    <%=faultyModuleName%></a>
+                    <%
+             }
+      }
+             if(! foundModules) {
+                 %>
+                 <h2><font color="blue">There are no modules deployed in the system.</font></h2>
+                 <%
+             }
+     %>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
\ No newline at end of file

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listService.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listService.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listService.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,157 @@
+<%--
+  ~ 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.AxisModule" %>
+<%@ page import="org.apache.axis2.description.AxisOperation" %>
+<%@ page import="org.apache.axis2.description.AxisService" %>
+<%@ page import="org.apache.axis2.description.Parameter" %>
+<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
+<%@ page import="org.apache.axis2.util.JavaUtils" %>
+<%@ 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" %>
+<jsp:include page="include/adminheader.jsp"/>
+
+<h1>Available Services</h1>
+<% String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/";
+%>
+<%
+    HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP);
+    request.getSession().setAttribute(Constants.SERVICE_MAP, null);
+    Hashtable errornessservice = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
+    boolean status = false;
+    if (serviceMap != null && !serviceMap.isEmpty()) {
+        Iterator operations;
+        String serviceName;
+        Collection servicecol = serviceMap.values();
+        for (Iterator iterator = servicecol.iterator(); iterator.hasNext();) {
+            AxisService axisService = (AxisService) iterator.next();
+            operations = axisService.getOperations();
+            serviceName = axisService.getName();
+%><h2><font color="blue"><a href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a></font></h2>
+<font color="blue">Service EPR : </font><font color="black"><%=prefix + axisService.getName()%></font><br>
+<%
+    // do we need to enable REST in the main servlet so that it handles both REST and SOAP messages
+    boolean disableREST = false;
+    AxisConfiguration axisConfiguration = axisService.getAxisConfiguration();
+
+    Parameter parameter ;
+
+    // do we need to completely disable REST support
+    parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST);
+    if (parameter != null) {
+        disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue());
+    }
+    if (!disableREST) {
+%>
+
+<%
+%>
+<%
+    }
+
+
+    String serviceDescription = axisService.getServiceDescription();
+    if (serviceDescription == null || "".equals(serviceDescription)) {
+        serviceDescription = "No description available for this service";
+    }
+%>
+        <h4>Service Description : <font color="black"><%=serviceDescription%></font></h4>
+<i><font color="blue">Service Status : <%=axisService.isActive() ? "Active" : "InActive"%></font></i><br>
+<%
+    Collection engagedModules = axisService.getEngagedModules();
+    String moduleName;
+    boolean modules_present = false;
+    if (engagedModules.size() > 0) {
+%>
+<i>Engaged modules for the service</i>
+<%
+    for (Iterator iteratorm = engagedModules.iterator(); iteratorm.hasNext();) {
+        AxisModule axisOperation = (AxisModule) iteratorm.next();
+        moduleName = axisOperation.getName();
+        if (!modules_present) {
+            modules_present = true;
+%>
+<ul>
+    <% }
+    %><li><%=moduleName%> :: <a href="axis2-admin/disengageModule?type=service&serviceName=<%=serviceName%>&module=<%=moduleName%>">Disengage</a></li>
+    <br>
+    <%
+        }
+        if (modules_present) {%>
+</ul>
+<%
+        }
+    }
+    if (operations.hasNext()) {
+%><br><i>Available operations</i><%
+} else {
+%><i> There are no Operations specified</i><%
+    }
+%><ul><%
+    operations = axisService.getOperations();
+    while (operations.hasNext()) {
+        AxisOperation axisOperation = (AxisOperation) operations.next();
+%><li><%=axisOperation.getName().getLocalPart()%></li>
+    <%--                 <br>Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%>
+    <%
+        engagedModules = axisOperation.getEngagedModules();
+        if (engagedModules.size() > 0) {
+    %>
+    <br><i>Engaged Modules for the Operation</i><ul>
+    <%
+        for (Iterator iterator2 = engagedModules.iterator(); iterator2.hasNext();) {
+            AxisModule moduleDecription = (AxisModule) iterator2.next();
+            moduleName = moduleDecription.getName();
+    %><li><%=moduleName%> :: <a href="axis2-admin/disengageModule?type=operation&serviceName=<%=serviceName%>&operation=<%=axisOperation.getName().getLocalPart()%>&module=<%=moduleName%>">Disengage</a></li><br><%
+    }
+%></ul><%
+        }
+
+    }
+%></ul>
+<%
+            status = true;
+        }
+    }
+    if (errornessservice != null) {
+        if (errornessservice.size() > 0) {
+            request.getSession().setAttribute(Constants.IS_FAULTY, Constants.IS_FAULTY);
+%>
+<h3><font color="red">Faulty Services</font></h3>
+<%
+    Enumeration faultyservices = errornessservice.keys();
+    while (faultyservices.hasMoreElements()) {
+        String faultyserviceName = (String) faultyservices.nextElement();
+%><h3><font color="blue"><a href="services/ListFaultyServices?serviceName=<%=faultyserviceName%>">
+    <%=faultyserviceName%></a></font></h3>
+<%
+            }
+        }
+        status = true;
+    }
+    if (!status) {
+%> No services listed! Try hitting refresh. <%
+    }
+%>
+<jsp:include page="include/adminfooter.inc" />

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listServices.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listServices.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listServices.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listServices.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,131 @@
+<%--
+  ~ 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" %>
+<%@ page import="org.apache.axis2.description.AxisService" %>
+<%@ page import="org.apache.axis2.description.Parameter" %>
+<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
+<%@ page import="org.apache.axis2.util.JavaUtils" %>
+<%@ 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" %>
+<html>
+<jsp:include page="include/httpbase.jsp"/>
+<head><title>List Services</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" />
+<h1>Available services</h1>
+<% String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/";
+%>
+<%
+    HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP);
+    request.getSession().setAttribute(Constants.SERVICE_MAP, null);
+    Hashtable errornessservice = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
+    boolean status = false;
+    if (serviceMap != null && !serviceMap.isEmpty()) {
+        Iterator opItr;
+        //HashMap operations;
+        String serviceName;
+        Collection servicecol = serviceMap.values();
+        // Collection operationsList;
+        for (Iterator iterator = servicecol.iterator(); iterator.hasNext();) {
+            AxisService axisService = (AxisService) iterator.next();
+            opItr = axisService.getOperations();
+            //operationsList = operations.values();
+            serviceName = axisService.getName();
+%><h2><font color="blue"><a href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a></font></h2>
+<font color="blue">Service EPR : </font><font color="black"><%=prefix + axisService.getName()%></font><br>
+<%
+    boolean disableREST = false;
+    AxisConfiguration axisConfiguration = axisService.getAxisConfiguration();
+
+    Parameter parameter ;
+
+    // do we need to completely disable REST support
+    parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST);
+    if (parameter != null) {
+        disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue());
+    }
+
+    if (!disableREST ) {
+
+%>
+<%
+    }
+
+
+    String serviceDescription = axisService.getServiceDescription();
+    if (serviceDescription == null || "".equals(serviceDescription)) {
+        serviceDescription = "No description available for this service";
+    }
+%>
+<h4>Service Description : <font color="black"><%=serviceDescription%></font></h4>
+<i><font color="blue">Service Status : <%=axisService.isActive() ? "Active" : "InActive"%></font></i><br>
+<%
+    if (opItr.hasNext()) {
+%><i>Available Operations</i><%
+} else {
+%><i> There are no Operations specified</i><%
+    }
+    opItr = axisService.getOperations();
+%><ul><%
+    while (opItr.hasNext()) {
+        AxisOperation axisOperation = (AxisOperation) opItr.next();
+%><li><%=axisOperation.getName().getLocalPart()%></li>
+    <%--                <br>Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%>
+    <%
+        }
+    %></ul>
+<%
+            status = true;
+        }
+    }
+    if (errornessservice != null) {
+        if (errornessservice.size() > 0) {
+            request.getSession().setAttribute(Constants.IS_FAULTY, Constants.IS_FAULTY);
+%>
+<hr>
+
+<h3><font color="blue">Faulty Services</font></h3>
+<%
+    Enumeration faultyservices = errornessservice.keys();
+    while (faultyservices.hasMoreElements()) {
+        String faultyserviceName = (String) faultyservices.nextElement();
+%><h3><font color="blue"><a href="services/ListFaultyServices?serviceName=<%=faultyserviceName%>">
+    <%=faultyserviceName%></a></font></h3>
+<%
+            }
+        }
+        status = true;
+    }
+    if (!status) {
+%> No services listed! Try hitting refresh. <%
+    }
+%>
+<jsp:include page="include/footer.inc" />
+</body>
+</html>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listSingleService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listSingleService.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listSingleService.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/listSingleService.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,103 @@
+<%--
+  ~ 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" %>
+<%@ page import="org.apache.axis2.description.AxisService" %>
+<%@ page import="org.apache.axis2.description.Parameter" %>
+<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
+<%@ page import="org.apache.axis2.util.JavaUtils" %>
+<%@ page import="java.util.Hashtable" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"/>
+<h1>List Single Service</h1>
+<%
+    String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/";
+%>
+<%
+    String isFault = (String) request.getSession().getAttribute(Constants.IS_FAULTY);
+    String servicName = request.getParameter("serviceName");
+    if (Constants.IS_FAULTY.equals(isFault)) {
+        Hashtable errornessservices = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
+%>
+<h3>This Axis service has deployment faults.</h3><%
+%><font color="red"><%=(String) errornessservices.get(servicName) %></font>
+<%
+
+} else {
+
+    AxisService axisService =
+            (AxisService) request.getSession().getAttribute(Constants.SINGLE_SERVICE);
+    if (axisService != null) {
+        Iterator opItr = axisService.getOperations();
+        //operationsList = operations.values();
+        String serviceName = axisService.getName();
+%><h2><font color="blue"><a href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a></font></h2>
+<font color="blue">Service EPR : </font><font color="black"><%=prefix + axisService.getName()%></font><br>
+<%
+    boolean disableREST = false;
+    AxisConfiguration axisConfiguration = axisService.getAxisConfiguration();
+
+    Parameter parameter;
+
+    // do we need to completely disable REST support
+    parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST);
+    if (parameter != null) {
+        disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue());
+    }
+    if (!disableREST ) {
+%>
+<%
+    }
+
+
+    String serviceDescription = axisService.getServiceDescription();
+    if (serviceDescription == null || "".equals(serviceDescription)) {
+        serviceDescription = "No description available for this service";
+    }
+%>
+<h4>Service Description : <font color="black"><%=serviceDescription%></font></h4>
+
+<i><font color="blue">Service Status : <%=axisService.isActive() ? "Active" : "InActive"%></font></i><br>
+<%
+    if (opItr.hasNext()) {
+%><i>Available operations</i><%
+} else {
+%><i> There are no Operations specified</i><%
+    }
+    opItr = axisService.getOperations();
+%><ul><%
+    while (opItr.hasNext()) {
+        AxisOperation axisOperation = (AxisOperation) opItr.next();
+%><li><%=axisOperation.getName().getLocalPart()%></li>
+    <%--                <br>Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%>
+    <%
+        }
+    %></ul>
+<%
+} else {
+%>
+<h3><font color="red">No services found in this location</font></h3>
+<%
+        }
+
+    }
+%>
+<jsp:include page="include/adminfooter.inc"/>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/upload.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/upload.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/upload.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/upload.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,69 @@
+<%--
+  ~ 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"/>
+<script type="text/javascript">
+<!--
+	function checkFileUpload(){
+		if (document.getElementById('serviceUpload').value == '') {
+			alert('Please select a file before clicking the upload button.');
+			return false;
+		} else {
+			document.Axis2upload.submit();
+		}
+	}
+//-->
+</script>
+<h1>Upload an Axis Service Archive File</h1>
+
+<p>You can upload a packaged Axis2 service from this page in two small steps.</p>
+<ul>
+  <li>Browse to the location and select the axis service archive file you wish to upload</li>
+  <li>Click "Upload" button</li>
+</ul>
+<p>Simple as that!</p>
+
+<% if ("success".equals(request.getAttribute("status"))) { %>
+<font color="green">File <%= request.getAttribute("filename") %> successfully uploaded </font><br/><br/>
+<%
+} else if ("failure".equals(request.getAttribute("status"))) {
+%>
+<font color="red">The following error occurred <br/> <%= request.getAttribute("cause") %></font><br/>
+<% } %>
+
+<form method="post" name="Axis2upload" id="Axis2upload" action="axis2-admin/upload"
+      enctype="multipart/form-data">
+  <table>
+    <tr>
+      <td>Service archive : </td>
+      <td><input id="serviceUpload" type="file" name="filename" size="50"/></td>
+    </tr>
+    <tr>
+      <td>&nbsp;</td>
+      <td><input name="upload" type="button" onclick="javascript:checkFileUpload();" value=" Upload "/></td>
+    </tr>
+  </table>
+</form>
+<blockquote>
+<p>Hot deployment of new service archives is <%=request.getAttribute("hotDeployment") %></p>
+<p>Hot update of existing service archives is <%=request.getAttribute("hotUpdate") %></p>
+</blockquote>
+<jsp:include page="include/adminfooter.inc"/>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewServiceContext.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewServiceContext.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewServiceContext.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewServiceContext.jsp Sat May 14 18:34:50 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.
+  --%>
+
+<%@ page import="org.apache.axis2.context.ServiceContext" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"/>
+<h1>Running Context Hierarchy</h1>
+<%
+    ServiceContext serviceContext = (ServiceContext) request.getSession().getAttribute("ServiceContext");
+    String type = (String) request.getSession().getAttribute("TYPE");
+    if (serviceContext != null) {
+        if (type != null) {
+            if ("VIEW".equals(type)) {
+                Iterator propertyNames = serviceContext.getPropertyNames();
+%>
+<h4>Persistance Properties</h4><ul>
+    <%
+        while (propertyNames.hasNext()) {
+            String key = (String) propertyNames.next();
+            Object property = serviceContext.getProperty(key);
+    %>
+    <li><%=key%> : <%=property.toString()%></li>
+    <%
+        }
+    %></ul>
+<%
+    }
+} else {
+%> <h4>No Service Context Found</h4><%
+        }
+    }
+%>
+<jsp:include page="include/adminfooter.inc"/>
\ No newline at end of file

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewServiceGroupContext.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewServiceGroupContext.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewServiceGroupContext.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewServiceGroupContext.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,55 @@
+<%--
+  ~ 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.context.ConfigurationContext"%>
+<%@ 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>Runing Context hierachy</h1>
+<%
+    String type = (String) request.getSession().getAttribute("TYPE");
+    ConfigurationContext configCtx = (ConfigurationContext) request.getSession().getAttribute("ConfigurationContext");
+    ServiceGroupContext sgContext = (ServiceGroupContext) request.getSession().getAttribute("ServiceGroupContext");
+    if (sgContext != null) {
+        if (type != null) {
+            if ("VIEW".equals(type)) {
+              Iterator propertyNames = sgContext.getPropertyNames();
+%>
+             <h4>Persistance properties</h4><ul>
+             <%
+                 while (propertyNames.hasNext()) {
+                     String key = (String) propertyNames.next();
+                     Object property =  sgContext.getProperty(key);
+              %>
+                   <li><%=key%> : <%=property.toString()%></li>
+              <%
+                 }
+                 %></ul>
+                 <%
+            }   else if("DELETE".equals(type)){
+                 configCtx.removeServiceGroupContext(sgContext.getId());
+                 %>Removed the context<%
+            }
+        }
+    } else {
+%> <h4>No service group context found</h4><%
+    }
+%>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
\ No newline at end of file

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewphases.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewphases.jsp?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewphases.jsp (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/axis2-web/viewphases.jsp Sat May 14 18:34:50 2011
@@ -0,0 +1,111 @@
+ <%--
+  ~ 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.deployment.util.PhasesInfo,
+                 org.apache.axis2.engine.Phase"%>
+ <%@ page import="java.util.ArrayList"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Available Phases</h1>
+     <%
+         PhasesInfo phases = (PhasesInfo)request.getSession().getAttribute(Constants.PHASE_LIST);
+         request.getSession().setAttribute(Constants.PHASE_LIST,null);
+         ArrayList tempList = phases.getGlobalInflow();
+     %><h2><font color="blue">System Pre-defined Phases</font></h2>
+     <b>InFlow Up to Dispatcher</b>
+     <blockquote>
+         <%
+             for (int i = 0; i < tempList.size(); i++) {
+                 Phase phase = (Phase) tempList.get(i);
+         %><%=phase.getPhaseName()%><br><%
+             }
+         %>
+         </blockquote>
+         <b>InFaultFlow </b>
+         <blockquote>
+         <%
+             tempList = phases.getGlobalInFaultPhases();
+             for (int i = 0; i < tempList.size(); i++) {
+                 Phase phase = (Phase) tempList.get(i);
+         %><%=phase.getPhaseName()%><br><%
+             }
+         %>
+         </blockquote>
+         <b>OutFlow </b>
+         <blockquote>
+         <%
+             tempList = phases.getGlobalOutPhaseList();
+             for (int i = 0; i < tempList.size(); i++) {
+                 Phase phase = (Phase) tempList.get(i);
+         %><%=phase.getPhaseName()%><br><%
+             }
+         %>
+         </blockquote>
+         <b>OutFaultFlow </b>
+         <blockquote>
+         <%
+             tempList = phases.getOUT_FaultPhases();
+             for (int i = 0; i < tempList.size(); i++) {
+                 Phase phase = (Phase) tempList.get(i);
+         %><%=phase.getPhaseName()%><br><%
+             }
+         %>
+         </blockquote>
+         <br>
+         <h2><font color="blue">User Defined Phases</font></h2>
+         <b>Inflow after Dispatcher</b>
+         <blockquote>
+         <%
+             tempList = phases.getOperationInPhases();
+             for (int i = 0; i < tempList.size(); i++) {
+                 Phase phase = (Phase) tempList.get(i);
+         %><%=phase.getPhaseName()%><br><%
+             }
+         %>
+         </blockquote>
+         <b>InFaultFlow after Dispatcher</b>
+         <blockquote>
+         <%
+             tempList = phases.getOperationInFaultPhases();
+             for (int i = 0; i < tempList.size(); i++) {
+                 Phase phase = (Phase) tempList.get(i);
+         %><%=phase.getPhaseName()%><br><%
+             }
+         %>
+         </blockquote>
+         <b>OutFlow  </b>
+         <blockquote>
+         <%
+             tempList = phases.getOperationOutPhases();
+             for (int i = 0; i < tempList.size(); i++) {
+                 Phase phase = (Phase) tempList.get(i);
+         %><%=phase.getPhaseName()%><br><%
+             }
+         %>
+         </blockquote>
+         <b>OutFaultFlow </b>
+         <blockquote>
+         <%
+             tempList = phases.getOperationOutFaultPhases();
+             for (int i = 0; i < tempList.size(); i++) {
+                 Phase phase = (Phase) tempList.get(i);
+         %><%=phase.getPhaseName()%><br><%
+             }
+         %>
+         </blockquote>
+<jsp:include page="include/adminfooter.inc"></jsp:include>

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/build.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/build.xml?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/build.xml (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/axis2_releases/axis2-1.5.1/webapp/build.xml Sat May 14 18:34:50 2011
@@ -0,0 +1,89 @@
+<!--
+  ~ 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.
+  -->
+
+<project basedir="../" default="create.war">
+	<property name="dist" value="dist" />
+	<property name="temp" value="${dist}/temp" />
+
+	<target name="init">
+		<mkdir dir="${dist}" />
+		<mkdir dir="${temp}" />
+		<copy toDir="${temp}">
+			<fileset dir="webapp">
+				<include name="**/**" />
+				<exclude name="**/web.xml"/>
+			</fileset>
+		</copy>
+	</target>
+	
+	<target depends="init" name="prepare.repo">
+		
+		<!-- Copying the axis2 repository from ../repository -->
+		<copy toDir="${temp}/WEB-INF">
+			<fileset dir="repository">
+				<include name="**/**" />
+			</fileset>
+		</copy>
+
+		<!-- Creating the services.list -->
+		<path id="services.archives">
+			<fileset dir="${temp}/WEB-INF/services">
+				<include name="*.aar" />
+			</fileset>
+		</path>
+		<pathconvert pathsep="${line.separator}" property="echo.services.archives" refid="services.archives">
+			<flattenmapper />
+		</pathconvert>
+		<echo file="${temp}/WEB-INF/services/services.list" message="${echo.services.archives}" />
+
+		<!-- Creating the modules.list -->
+		<path id="modules.archives">
+			<fileset dir="${temp}/WEB-INF/modules">
+				<include name="*.mar" />
+			</fileset>
+		</path>
+		<pathconvert pathsep="${line.separator}" property="echo.modules.archives" refid="modules.archives">
+			<flattenmapper />
+		</pathconvert>
+		<echo file="${temp}/WEB-INF/modules/modules.list" message="${echo.modules.archives}" />
+
+		<!-- Copying the axis2.xml from ../conf -->
+		<mkdir dir="${temp}/WEB-INF/conf" />
+		<copy file="conf/axis2.xml" toDir="${temp}/WEB-INF/conf" />
+	</target>
+	
+	<target depends="init,prepare.repo" name="create.war">
+		<war destfile="dist/axis2.war" webxml="webapp/WEB-INF/web.xml">
+			<lib dir="lib">
+				<include name="**" />
+				<exclude name="**servlet**" />
+				<exclude name="ant*.jar" />
+				<exclude name="axis2-adb-codegen*.jar"/>
+				<exclude name="axis2-codegen*.jar"/>
+				<exclude name="jibx-bind*.jar"/>
+			</lib>
+			<webinf dir="${temp}/WEB-INF" />
+			<fileset dir="${temp}">
+				<include name="**/axis2-web/**" />
+			</fileset>
+		</war>
+		<delete dir="${temp}" />
+	</target>
+</project>
+

Added: incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/pom.xml?rev=1103180&view=auto
==============================================================================
--- incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/pom.xml (added)
+++ incubator/airavata/donations/ogce-donation/modules/ws-messaging/distribution/pom.xml Sat May 14 18:34:50 2011
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+	<parent>
+		<artifactId>ws-messenger</artifactId>
+		<groupId>org.ogce.ws-messenger</groupId>
+		<version>1.1.1</version>
+	</parent>
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>org.ogce.broker.distribution</groupId>
+	<artifactId>distribution</artifactId>
+	<name>distribution</name>
+	<url>http://maven.apache.org</url>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-assembly-plugin</artifactId>
+				<version>2.2-beta-5</version>
+				<executions>
+					<execution>
+						<id>distribution-package</id>
+						<phase>package</phase>
+						<goals>
+							<goal>single</goal>
+						</goals>
+						<configuration>
+							<finalName>${archieve.name}-${version}</finalName>
+							<descriptors>
+								<descriptor>src/main/assembly/bin-assembly.xml</descriptor>
+							</descriptors>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<archieve.name>ogce-ws-messenger</archieve.name>
+		<used.axis2.release>1.5.1</used.axis2.release>
+	</properties>
+</project>
\ No newline at end of file