From a3c48da9bb8971497d414f86e352123d95b9c3da Mon Sep 17 00:00:00 2001 From: lresende Date: Fri, 20 Nov 2009 23:53:35 +0000 Subject: Moving 2.x trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882795 13f79535-47bb-0310-9956-ffa450edef68 --- .../tomcat-war/src/main/webapp/installer.jsp | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 sca-java-2.x/trunk/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp (limited to 'sca-java-2.x/trunk/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp') diff --git a/sca-java-2.x/trunk/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp b/sca-java-2.x/trunk/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp new file mode 100644 index 0000000000..a6c3e4acaa --- /dev/null +++ b/sca-java-2.x/trunk/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp @@ -0,0 +1,74 @@ + + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ page import="org.apache.tuscany.sca.war.Installer" %> + +<% + Installer installer = (Installer) request.getAttribute("installer"); +%> + + + + +

Apache Tuscany Tomcat Integration

+ + The Tuscany Tomcat integration turns Tomcat into an SCA enabled runtime so it can run SCA contributions and SCA-enabled Web Applications. +

+ + Status: Tuscany is + <% if (Installer.isTuscanyHookRunning()) { %> + installed and active + <% } else if (Installer.isRestartRequired()) {%> + installed but Tomcat needs to be restarted + <% } else {%> + not installed + <% }%> + + in Tomcat. +

+ + <% if (!Installer.isTuscanyHookRunning() && !Installer.isRestartRequired()) { %> + Install Tuscany
+ To install Tuscany into Tomcat, click: +

+ The Tuscany runtime is shared by all web applications if checked.

+ +

+
+ <% } else {%> + Uninstall Tuscany
+ If remove Tuscany from Tomcat, click: +
+ +
+
+ <% }%> + +

+
+ + + <% if (installer != null) { %> + <%= installer.getStatus() %> + <% }%> + + + + -- cgit v1.2.3