summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-2.0-M4/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-11-11 23:09:40 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-11-11 23:09:40 +0000
commitf9be2165328dc76f562938566057e89c0723fe08 (patch)
tree4b32774b0050ed2d0aeb05f9f22844d41cf13023 /branches/sca-java-2.0-M4/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp
parenta7c1a39d8c3c4ef4d5878dbff726085082a17e8a (diff)
Moving 2.x branches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835137 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-2.0-M4/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp')
-rw-r--r--branches/sca-java-2.0-M4/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp74
1 files changed, 0 insertions, 74 deletions
diff --git a/branches/sca-java-2.0-M4/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp b/branches/sca-java-2.0-M4/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp
deleted file mode 100644
index a6c3e4acaa..0000000000
--- a/branches/sca-java-2.0-M4/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp
+++ /dev/null
@@ -1,74 +0,0 @@
-<!--
- * 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 import="org.apache.tuscany.sca.war.Installer" %>
-
-<%
- Installer installer = (Installer) request.getAttribute("installer");
-%>
-
-<html>
- <body >
-
- <h2>Apache Tuscany Tomcat Integration</h2>
-
- The Tuscany Tomcat integration turns Tomcat into an SCA enabled runtime so it can run SCA contributions and SCA-enabled Web Applications.
- <p>
-
- Status: Tuscany is <B>
- <% if (Installer.isTuscanyHookRunning()) { %>
- installed and active
- <% } else if (Installer.isRestartRequired()) {%>
- installed but Tomcat needs to be restarted
- <% } else {%>
- not installed
- <% }%>
- </B>
- in Tomcat.
- <p>
-
- <% if (!Installer.isTuscanyHookRunning() && !Installer.isRestartRequired()) { %>
- <B>Install Tuscany</B><BR>
- To install Tuscany into Tomcat, click:
- <form action='installer' method='post'>
- <input type='checkbox' name='singleton' value='true'>The Tuscany runtime is shared by all web applications if checked.<p>
- <input type='submit' name='action' value='Install'>
- </form>
- <BR>
- <% } else {%>
- <B>Uninstall Tuscany</B><BR>
- If remove Tuscany from Tomcat, click:
- <form action='installer' method='post'>
- <input type='submit' name='action' value='Uninstall'>
- </form>
- <BR>
- <% }%>
-
- <p>
- <BR>
-
- <B>
- <% if (installer != null) { %>
- <%= installer.getStatus() %>
- <% }%>
- </B>
-
- </body>
-</html>