This is an automated email from the ASF dual-hosted git repository.
dblevins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-jakarta.git
The following commit(s) were added to refs/heads/master by this push:
new 8ef2f8c TOMEE-3721 Remove dependencies between tomee-webapp modules
Add missing resource files
8ef2f8c is described below
commit 8ef2f8c3d95a70cc2604b20daa0bc55e77ab6c8e
Author: David Blevins <[email protected]>
AuthorDate: Sat Apr 17 21:04:28 2021 -0700
TOMEE-3721 Remove dependencies between tomee-webapp modules
Add missing resource files
---
.../src/main/resources/META-INF/NOTICE | 89 +++++----------
.../META-INF/org.apache.tomee/service-jar.xml | 57 ++++++++++
.../src/main/resources/juli.properties | 45 ++++++++
.../src/main/webapp/README.txt | 53 +++++++++
.../src/main/webapp/WEB-INF/web.xml | 88 +++++++++++++++
.../src/main/webapp/app.css | 113 +++++++++++++++++++
.../src/main/webapp/app.js | 83 ++++++++++++++
.../src/main/webapp/index.html | 120 +++++++++++++++++++++
.../src/main/webapp/juli.properties | 45 ++++++++
tomee/tomee-plume-webapp/src/main/assembly/war.xml | 15 ---
.../src/main/resources/META-INF/LICENSE | 95 +---------------
.../src/main/resources/META-INF/NOTICE | 55 +---------
.../META-INF/org.apache.tomee/service-jar.xml | 57 ++++++++++
.../src/main/resources/juli.properties | 45 ++++++++
.../tomee-plume-webapp/src/main/webapp/README.txt | 53 +++++++++
.../src/main/webapp/WEB-INF/web.xml | 88 +++++++++++++++
tomee/tomee-plume-webapp/src/main/webapp/app.css | 113 +++++++++++++++++++
tomee/tomee-plume-webapp/src/main/webapp/app.js | 83 ++++++++++++++
.../tomee-plume-webapp/src/main/webapp/index.html | 120 +++++++++++++++++++++
.../src/main/webapp/juli.properties | 45 ++++++++
.../src/main/resources/META-INF/LICENSE | 2 +
.../src/main/resources/META-INF/NOTICE | 70 +-----------
.../META-INF/org.apache.tomee/service-jar.xml | 57 ++++++++++
.../src/main/resources/juli.properties | 45 ++++++++
tomee/tomee-plus-webapp/src/main/webapp/README.txt | 53 +++++++++
.../src/main/webapp/WEB-INF/web.xml | 88 +++++++++++++++
tomee/tomee-plus-webapp/src/main/webapp/app.css | 113 +++++++++++++++++++
tomee/tomee-plus-webapp/src/main/webapp/app.js | 83 ++++++++++++++
tomee/tomee-plus-webapp/src/main/webapp/index.html | 120 +++++++++++++++++++++
.../src/main/webapp/juli.properties | 45 ++++++++
30 files changed, 1846 insertions(+), 292 deletions(-)
diff --git a/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/NOTICE
b/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/NOTICE
index e754835..133e2fd 100644
--- a/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/NOTICE
+++ b/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/NOTICE
@@ -54,22 +54,6 @@ Copyright 2007-2010 Agimatec GmbH. All rights reserved.
=====================================
-Apache Tomcat NOTICE
-
-The original XML Schemas for Java EE Deployment Descriptors:
- - javaee_5.xsd
- - javaee_web_services_1_2.xsd
- - javaee_web_services_client_1_2.xsd
- - javaee_6.xsd
- - javaee_web_services_1_3.xsd
- - javaee_web_services_client_1_3.xsd
- - web-app_3_0.xsd
- - web-common_3_0.xsd
- - web-fragment_3_0.xsd
-may be obtained from http://java.sun.com/xml/ns/javaee/
-
-
-=====================================
Apache MyFaces NOTICE
This software also includes code from Facelets (https://facelets.dev.java.net/)
@@ -92,26 +76,14 @@ javascript core, which is licensed under a modified BSD
license or the Academic
This software also includes code from j4fry (http://www.j4fry.org/),
which is licensed under ASL 2.0.
-=========================================================================
- - JAnsi (http://http://jansi.fusesource.org/)
org.fusesource.jansi:jansi:jar:1.8
- License: Apache License 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)
-=========================================================================
-FastInfoset (https://fi.java.net/)
-License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
-=========================================================================
-Istack Commons Runtime (https://istack-commons.java.net/)
-License: CDDL v1.1 and GPL v2
(https://glassfish.java.net/public/CDDL+GPL_1_1.html)
-=========================================================================
-Jaxb Core (https://jaxb.java.net/)
-License: CDDL v1.1 and GPL v2
(https://glassfish.java.net/public/CDDL+GPL_1_1.html)
-=========================================================================
-Quartz (http://quartz-scheduler.org/)
-License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
-=========================================================================
-el-api - Unified Expression Language is dual licensed under 2 OSI approved
licenses (https://uel.java.net/license.html)
- COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL - Version 1.1)
- GNU General Public License (GPL - Version 2, June 1991) with the Classpath
Exception
-=========================================================================
+=====================================
+Apache ActiveMQ NOTICE
+
+This product includes software developed by the Protocol Buffers
+project (http://code.google.com/apis/protocolbuffers).
+
+
+=====================================
Apache CXF NOTICE
Java classes (source and binary) under org.apache.cxf.jaxws.javaee
@@ -133,6 +105,26 @@ This Product also includes software developed by David
Heinemeier Hansson.
This product includes software Copyright University of Southampton IT
Innovation Centre, 2009
(http://www.it-innovation.soton.ac.uk).
+
+=========================================================================
+ - JAnsi (http://http://jansi.fusesource.org/)
org.fusesource.jansi:jansi:jar:1.8
+ License: Apache License 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+=========================================================================
+FastInfoset (https://fi.java.net/)
+License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+=========================================================================
+Istack Commons Runtime (https://istack-commons.java.net/)
+License: CDDL v1.1 and GPL v2
(https://glassfish.java.net/public/CDDL+GPL_1_1.html)
+=========================================================================
+Jaxb Core (https://jaxb.java.net/)
+License: CDDL v1.1 and GPL v2
(https://glassfish.java.net/public/CDDL+GPL_1_1.html)
+=========================================================================
+Quartz (http://quartz-scheduler.org/)
+License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+=========================================================================
+el-api - Unified Expression Language is dual licensed under 2 OSI approved
licenses (https://uel.java.net/license.html)
+ COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL - Version 1.1)
+ GNU General Public License (GPL - Version 2, June 1991) with the Classpath
Exception
=========================================================================
Apache XBean :: ASM shaded (repackaged)
Copyright 2005-2013 The Apache Software Foundation
@@ -145,27 +137,4 @@ Joda.org (http://www.joda.org/).
=========================================================================
This product includes software developed and copyrighted by the The OWASP
Foundation (https://www.owasp.org)
-=========================================================================
-jose4j NOTICE
-
-jose4j
-Copyright 2012-2015 Brian Campbell
-
-EcdsaUsingShaAlgorithm contains code for converting the concatenated
-R & S values of the signature to and from DER, which was originally
-derived from the Apache Santuario XML Security library's SignatureECDSA
-implementation. http://santuario.apache.org/
-
-The Base64 implementation in this software was derived from the
-Apache Commons Codec project. http://commons.apache.org/proper/commons-codec/
-
-JSON processing in this software was derived from the JSON.simple toolkit.
-https://code.google.com/p/json-simple/
-=========================================================================
-Jackson JSON processor
-Jackson is a high-performance, Free/Open Source JSON processing library.
-It was originally written by Tatu Saloranta ([email protected]), and has
-been in development since 2007.
-It is currently developed by a community of developers, as well as supported
-commercially by FasterXML.com.
-=========================================================================
+=========================================================================
\ No newline at end of file
diff --git
a/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/org.apache.tomee/service-jar.xml
b/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/org.apache.tomee/service-jar.xml
new file mode 100644
index 0000000..dd6c6e5
--- /dev/null
+++
b/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/org.apache.tomee/service-jar.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+ 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.
+-->
+<ServiceJar>
+ <ServiceProvider id="Default CMP Container"
parent="org.apache.openejb:Default CMP Container"/>
+ <ServiceProvider id="Default BMP Container"
parent="org.apache.openejb:Default BMP Container"/>
+ <ServiceProvider id="Default Stateless Container"
parent="org.apache.openejb:Default Stateless Container"/>
+ <ServiceProvider id="Default Singleton Container"
parent="org.apache.openejb:Default Singleton Container"/>
+ <ServiceProvider id="Default Stateful Container"
parent="org.apache.openejb:Default Stateful Container"/>
+ <ServiceProvider id="Default Managed Container"
parent="org.apache.openejb:Default Managed Container"/>
+ <ServiceProvider id="Default MDB Container"
parent="org.apache.openejb:Default MDB Container"/>
+ <ServiceProvider id="Default JDK 1.3 ProxyFactory"
parent="org.apache.openejb:Default JDK 1.3 ProxyFactory"/>
+ <ServiceProvider id="Tomcat Security Service"
+ class-name="org.apache.tomee.catalina.TomcatSecurityService"
+ service="SecurityService"
+ types="SecurityService"/>
+ <ServiceProvider id="PseudoSecurityService"
parent="org.apache.openejb:PseudoSecurityService"/>
+ <ServiceProvider id="Default Security Service"
parent="org.apache.openejb:Default Security Service"/>
+ <ServiceProvider id="Default Transaction Manager"
parent="org.apache.openejb:Default Transaction Manager"/>
+ <ServiceProvider id="Default JDBC Database"
parent="org.apache.openejb:Default JDBC Database">
+ JdbcUrl=jdbc:hsqldb:file:data/hsqldb/hsqldb
+ </ServiceProvider>
+ <ServiceProvider id="Default Unmanaged JDBC Database"
parent="org.apache.openejb:Default Unmanaged JDBC Database">
+ JdbcUrl=jdbc:hsqldb:file:data/hsqldb/hsqldb
+ </ServiceProvider>
+ <ServiceProvider id="Default JMS Resource Adapter"
parent="org.apache.openejb:Default JMS Resource Adapter"/>
+ <ServiceProvider id="Default JMS Connection Factory"
parent="org.apache.openejb:Default JMS Connection Factory"/>
+ <ServiceProvider id="Default Queue" parent="org.apache.openejb:Default
Queue"/>
+ <ServiceProvider id="Default Topic" parent="org.apache.openejb:Default
Topic"/>
+ <ServiceProvider id="Default ORB" parent="org.apache.openejb:Default ORB"/>
+ <ServiceProvider id="Default Mail Session"
parent="org.apache.openejb:Default Mail Session"/>
+ <ServiceProvider id="Default Remote Jndi Provider"
parent="org.apache.openejb:Default Remote Jndi Provider"/>
+ <ServiceProvider id="RoutedDataSource"
parent="org.apache.openejb:RoutedDataSource"/>
+ <ServiceProvider id="ProvidedByTomcat" service="Resource"
class-name="org.apache.tomee.catalina.TomcatResourceFactory"
factory-name="create">
+ jndiName =
+ appName =
+ factory =
+ </ServiceProvider>
+ <ServiceProvider id="Default Executor Service"
parent="org.apache.openejb:Default Executor Service" />
+ <ServiceProvider id="Default Scheduled Executor Service"
parent="org.apache.openejb:Default Scheduled Executor Service" />
+ <ServiceProvider id="Default Managed Thread Factory"
parent="org.apache.openejb:Default Managed Thread Factory" />
+ <ServiceProvider id="Default Context Service"
parent="org.apache.openejb:Default Context Service" />
+</ServiceJar>
diff --git a/tomee/tomee-microprofile-webapp/src/main/resources/juli.properties
b/tomee/tomee-microprofile-webapp/src/main/resources/juli.properties
new file mode 100644
index 0000000..873ce50
--- /dev/null
+++ b/tomee/tomee-microprofile-webapp/src/main/resources/juli.properties
@@ -0,0 +1,45 @@
+#
+# 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.
+#
+# $Rev: 600336 $ $Date: 2007-12-02 18:01:12 +0100 (Sun, 02 Dec 2007) $
+#
+############################################################
+# OpenEJB Handlers and Loggers
+############################################################
+
+OpenEJB.level = WARNING
+OpenEJB.server.level = INFO
+OpenEJB.startup.level = INFO
+OpenEJB.startup.config.level = INFO
+OpenEJB.hsql.level = INFO
+OpenEJB.handlers = 9OpenEJB.org.apache.juli.FileHandler
+CORBA-Adapter.hsql.level = ERROR
+CORBA-Adapter.handlers = 9OpenEJB.org.apache.juli.FileHandler
+Transaction.level = WARNING
+Transaction.handlers = 9Transaction.org.apache.juli.FileHandler
+org.apache.activemq.level = ERROR
+org.apache.activemq.handlers = OpenEJB.org.apache.juli.FileHandler
+org.apache.geronimo.level = ERROR
+org.apache.geronimo.handlers = 9OpenEJB.org.apache.juli.FileHandler
+openjpa.level = ERROR
+openjpa.handlers = 9OpenEJB.org.apache.juli.FileHandler
+
+9OpenEJB.org.apache.juli.FileHandler.level = FINE
+9OpenEJB.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9OpenEJB.org.apache.juli.FileHandler.prefix = openejb.
+9Transaction.org.apache.juli.FileHandler.level = FINE
+9Transaction.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9Transaction.org.apache.juli.FileHandler.prefix = transaction.
diff --git a/tomee/tomee-microprofile-webapp/src/main/webapp/README.txt
b/tomee/tomee-microprofile-webapp/src/main/webapp/README.txt
new file mode 100644
index 0000000..320c3b6
--- /dev/null
+++ b/tomee/tomee-microprofile-webapp/src/main/webapp/README.txt
@@ -0,0 +1,53 @@
+===============================================
+OpenEJB Plugin for Tomcat
+
+OpenEJB ${pom.version} http://tomee.apache.org/
+-----------------------------------------------
+___________________
+Installation
+===================
+
+ Assuming you have a normal working Tomcat 7.x installation:
+
+ 1. Copy tomee.war to ${catalina.base}/webapps/tomee.war
+ (Note: the file must be named tomee.war)
+ 2. Start Tomcat if it is not already running
+
+Support
+===================
+
+ Any problems with this release can be reported to our user
+ mailing list at [email protected]
+ Follow this link for other subscription and list information:
+ http://tomee.apache.org/mailing-lists.html
+
+=========================================================================
+== Cryptographic Software Notice ==
+=========================================================================
+
+This distribution includes cryptographic software. The country in
+which you currently reside may have restrictions on the import,
+possession, use, and/or re-export to another country, of
+encryption software. BEFORE using any encryption software, please
+check your country's laws, regulations and policies concerning the
+import, possession, or use, and re-export of encryption software, to
+see if this is permitted. See <http://www.wassenaar.org/> for more
+information.
+
+The U.S. Government Department of Commerce, Bureau of Industry and
+Security (BIS), has classified this software as Export Commodity
+Control Number (ECCN) 5D002.C.1, which includes information security
+software using or performing cryptographic functions with asymmetric
+algorithms. The form and manner of this Apache Software Foundation
+distribution makes it eligible for export under the License Exception
+ENC Technology Software Unrestricted (TSU) exception (see the BIS
+Export Administration Regulations, Section 740.13) for both object
+code and source code.
+
+The following provides more details on the included cryptographic
+software:
+ Apache ActiveMQ Included Binary
+ Apache Derby Included Binary
+ Apache Geronimo Included Binary
+ Apache Tomcat Specially Designed to Work With
+
diff --git a/tomee/tomee-microprofile-webapp/src/main/webapp/WEB-INF/web.xml
b/tomee/tomee-microprofile-webapp/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..c8e3120
--- /dev/null
+++ b/tomee/tomee-microprofile-webapp/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+ 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.
+-->
+<web-app xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ version="3.0">
+
+ <display-name>Apache TomEE</display-name>
+
+ <context-param>
+
<param-name>org.apache.tomee.catalina.TomcatWebAppBuilder.IGNORE</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>LoaderServlet</servlet-name>
+ <servlet-class>org.apache.tomee.loader.LoaderServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet>
+ <servlet-name>ServerServlet</servlet-name>
+
<servlet-class>org.apache.openejb.server.httpd.ServerServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ServerServlet</servlet-name>
+ <url-pattern>/ejb/*</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>InstallerServlet</servlet-name>
+
<servlet-class>org.apache.tomee.webapp.installer.InstallerServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>InstallerServlet</servlet-name>
+ <url-pattern>/installer</url-pattern>
+ </servlet-mapping>
+
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>ServerServlet</web-resource-name>
+ <url-pattern>/ejb/*</url-pattern>
+ </web-resource-collection>
+ </security-constraint>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Static Content</web-resource-name>
+ <url-pattern>/webjars/*</url-pattern>
+ </web-resource-collection>
+ </security-constraint>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Application</web-resource-name>
+ <url-pattern>/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>tomee-admin</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+ <security-role>
+ <role-name>tomee-admin</role-name>
+ </security-role>
+
+</web-app>
diff --git a/tomee/tomee-microprofile-webapp/src/main/webapp/app.css
b/tomee/tomee-microprofile-webapp/src/main/webapp/app.css
new file mode 100644
index 0000000..08297bb
--- /dev/null
+++ b/tomee/tomee-microprofile-webapp/src/main/webapp/app.css
@@ -0,0 +1,113 @@
+/*
+ * 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.
+ */
+
+div.ux-hidden {
+ display: none;
+}
+
+.ux-contentarea {
+ margin: 0;
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ left: 0;
+ top: 50px;
+ overflow: hidden;
+}
+
+.ux-full-screen {
+ margin: 0;
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ left: 0;
+ top: 0;
+ overflow: hidden;
+}
+
+div.ux-installer > div {
+ margin: 0;
+ position: absolute;
+ right: 5px;
+ left: 5px;
+}
+
+div.ux-installer > div.ux-status-panel {
+ top: 5px;
+ bottom: 255px;
+ overflow: auto;
+}
+
+div.ux-installer > div.ux-installer-params-panel {
+ height: 245px;
+ bottom: 5px;
+}
+
+div.ux-installer > div.ux-webaccess-installer {
+ top: 5px;
+ bottom: 5px;
+}
+
+p.lead {
+ text-align: center;
+ margin: 0;
+}
+
+.site-wrapper {
+ display: table;
+ width: 100%;
+ height: 100%; /* For at least Firefox */
+ min-height: 100%;
+}
+
+.site-wrapper-inner {
+ display: table-cell;
+ vertical-align: top;
+}
+
+.cover-container {
+ margin-right: auto;
+ margin-left: auto;
+}
+
+.inner {
+ padding: 30px;
+}
+
+.cover {
+ padding: 0 20px;
+}
+
+.cover {
+ padding: 10px 20px;
+ font-weight: bold;
+}
+
+@media (min-width: 768px) {
+ .site-wrapper-inner {
+ vertical-align: middle;
+ }
+ .cover-container {
+ width: 100%;
+ }
+}
+
+@media (min-width: 992px) {
+ .cover-container {
+ width: 700px;
+ }
+}
diff --git a/tomee/tomee-microprofile-webapp/src/main/webapp/app.js
b/tomee/tomee-microprofile-webapp/src/main/webapp/app.js
new file mode 100644
index 0000000..5dcbf09
--- /dev/null
+++ b/tomee/tomee-microprofile-webapp/src/main/webapp/app.js
@@ -0,0 +1,83 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+$(function () {
+ var installBtn = $('.ux-install-btn');
+ var catalinaHome = $('.ux-catalinaHome-txt');
+ var catalinaBase = $('.ux-catalinaBase-txt');
+ var serverXmlFile = $('.ux-serverXmlFile-txt');
+ var notification = $('.ux-install-notification');
+
+ installBtn.on('click', function (evt) {
+ evt.preventDefault();
+ installBtn.addClass('disabled');
+ $.ajax({
+ url: 'installer',
+ data: {
+ catalinaBaseDir: catalinaBase.val(),
+ catalinaHome: catalinaHome.val(),
+ serverXmlFile: serverXmlFile.val()
+ },
+ method: 'POST',
+ dataType: 'json',
+ success: function (data) {
+ window.location.reload();
+ }
+ });
+ });
+
+ function loop(list, callback) {
+ if (!list) {
+ return;
+ }
+ var i;
+ for (i = 0; i < list.length; i += 1) {
+ callback(list[i], i);
+ }
+ }
+
+ function setData(data) {
+ var table = $($('.ux-status-table').get(0));
+ table.empty();
+ var systemStatus = {};
+ loop(data, function (item) {
+ systemStatus[item.key] = item.value;
+ table.append('<tr><td>' + item.key + '</td><td>' + item.value +
'</td></tr>')
+ });
+ if (systemStatus.status === 'INSTALLED') {
+ $('.ux-server-ready-panel').removeClass('ux-hidden');
+ var providerLink = $($('.ux-provider-url').get(0));
+ providerLink.attr('href', window.location.href + 'ejb');
+ providerLink.html(window.location.origin +
window.location.pathname + 'ejb');
+ } else if (systemStatus.status === 'REBOOT_REQUIRED') {
+ $('.ux-installer-reboot-panel').removeClass('ux-hidden');
+ } else {
+ $('.ux-installer-panel').removeClass('ux-hidden');
+ }
+ catalinaHome.val(systemStatus.catalinaHomeDir);
+ catalinaBase.val(systemStatus.catalinaBaseDir);
+ serverXmlFile.val(systemStatus.serverXmlFile);
+ }
+
+ $.ajaxSetup({ cache: false });
+ $.ajax({
+ url: 'installer?ts=' + (new Date()).getTime(),
+ method: 'GET',
+ dataType: 'json',
+ success: setData
+ });
+});
\ No newline at end of file
diff --git a/tomee/tomee-microprofile-webapp/src/main/webapp/index.html
b/tomee/tomee-microprofile-webapp/src/main/webapp/index.html
new file mode 100644
index 0000000..33c1d00
--- /dev/null
+++ b/tomee/tomee-microprofile-webapp/src/main/webapp/index.html
@@ -0,0 +1,120 @@
+<!DOCTYPE html>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<html>
+<head>
+ <title>Apache TomEE - Installer</title>
+ <link rel="stylesheet" type="text/css"
href="webjars/bootstrap/3.1.0/css/bootstrap.min.css">
+ <link rel="stylesheet" type="text/css" href="app.css">
+ <script src="webjars/jquery/2.1.0/jquery.min.js"></script>
+ <script src="webjars/bootstrap/3.1.0/js/bootstrap.min.js"></script>
+ <script src="app.js"></script>
+</head>
+
+<body>
+<nav class="navbar navbar-inverse navbar-fixed-top">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse"
data-target=".navbar-ex8-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand"
href="http://tomee.apache.org/documentation.html">Apache TomEE</a>
+ </div>
+ <div class="collapse navbar-collapse navbar-ex8-collapse">
+ <ul class="nav navbar-nav">
+ <li class="ux-app-menu-item active"><a href="#">Installer</a></li>
+ </ul>
+ </div>
+</nav>
+<div class="ux-contentarea">
+ <div class="ux-installer ux-installer-panel ux-full-screen ux-hidden">
+ <div class="panel panel-default ux-status-panel">
+ <div class="panel-heading">
+ <h3 class="panel-title">System Status</h3>
+ </div>
+ <div class="panel-body">
+ <table class="table ux-status-table"></table>
+ </div>
+ </div>
+ <div class="panel panel-default ux-installer-params-panel">
+ <div class="panel-heading">
+ <h3 class="panel-title">Installer</h3>
+ </div>
+ <div class="panel-body">
+ <form class="bs-example form-horizontal">
+ <div class="form-group">
+ <label for="catalinaHome" class="col-lg-2
control-label">catalinaHome</label>
+
+ <div class="col-lg-10">
+ <input type="text" class="form-control
ux-catalinaHome-txt" id="catalinaHome"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <label for="catalinaBase" class="col-lg-2
control-label">catalinaBase</label>
+
+ <div class="col-lg-10">
+ <input type="text" class="form-control
ux-catalinaBase-txt" id="catalinaBase"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <label for="serverXmlFile" class="col-lg-2
control-label">serverXmlFile</label>
+
+ <div class="col-lg-10">
+ <input type="text" class="form-control
ux-serverXmlFile-txt" id="serverXmlFile"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ <a href="installer" class="btn btn-primary
ux-install-btn">Confirm</a>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+
+ <div class="ux-installer ux-server-ready-panel ux-full-screen ux-hidden">
+ <div class="site-wrapper">
+ <div class="site-wrapper-inner">
+ <div class="cover-container">
+ <div class="inner cover">
+ <p class="lead">Your server is fully installed.</p>
+ <p class="lead">Provider URL: <a
class="ux-provider-url" href="#"></a></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="ux-installer ux-installer-reboot-panel ux-full-screen
ux-hidden">
+ <div class="site-wrapper">
+ <div class="site-wrapper-inner">
+ <div class="cover-container">
+ <div class="inner cover">
+ <p class="lead">Please restart your server to complete
the installation process.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+</body>
+</html>
\ No newline at end of file
diff --git a/tomee/tomee-microprofile-webapp/src/main/webapp/juli.properties
b/tomee/tomee-microprofile-webapp/src/main/webapp/juli.properties
new file mode 100644
index 0000000..873ce50
--- /dev/null
+++ b/tomee/tomee-microprofile-webapp/src/main/webapp/juli.properties
@@ -0,0 +1,45 @@
+#
+# 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.
+#
+# $Rev: 600336 $ $Date: 2007-12-02 18:01:12 +0100 (Sun, 02 Dec 2007) $
+#
+############################################################
+# OpenEJB Handlers and Loggers
+############################################################
+
+OpenEJB.level = WARNING
+OpenEJB.server.level = INFO
+OpenEJB.startup.level = INFO
+OpenEJB.startup.config.level = INFO
+OpenEJB.hsql.level = INFO
+OpenEJB.handlers = 9OpenEJB.org.apache.juli.FileHandler
+CORBA-Adapter.hsql.level = ERROR
+CORBA-Adapter.handlers = 9OpenEJB.org.apache.juli.FileHandler
+Transaction.level = WARNING
+Transaction.handlers = 9Transaction.org.apache.juli.FileHandler
+org.apache.activemq.level = ERROR
+org.apache.activemq.handlers = OpenEJB.org.apache.juli.FileHandler
+org.apache.geronimo.level = ERROR
+org.apache.geronimo.handlers = 9OpenEJB.org.apache.juli.FileHandler
+openjpa.level = ERROR
+openjpa.handlers = 9OpenEJB.org.apache.juli.FileHandler
+
+9OpenEJB.org.apache.juli.FileHandler.level = FINE
+9OpenEJB.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9OpenEJB.org.apache.juli.FileHandler.prefix = openejb.
+9Transaction.org.apache.juli.FileHandler.level = FINE
+9Transaction.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9Transaction.org.apache.juli.FileHandler.prefix = transaction.
diff --git a/tomee/tomee-plume-webapp/src/main/assembly/war.xml
b/tomee/tomee-plume-webapp/src/main/assembly/war.xml
index 9ecfa25..4578873 100644
--- a/tomee/tomee-plume-webapp/src/main/assembly/war.xml
+++ b/tomee/tomee-plume-webapp/src/main/assembly/war.xml
@@ -16,9 +16,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-<!-- $Rev: 576067 $ $Date: 2007-09-16 03:17:08 -0700 (Sun, 16 Sep 2007) $ -->
-
<assembly>
<id>war</id>
<formats>
@@ -66,29 +63,17 @@
<include>**/*.html</include>
<include>**/*.css</include>
<include>**/*.js</include>
- <!-- libs are handled with dependencies because exclude don't work too
well bellow -->
- <!-- if some deps are missing, they should be added as project
dependencies -->
<include>lib/*.jar</include>
</includes>
- <excludes>
-
<exclude>%regex[(WEB-INF/)?lib/(tomee-)?myfaces(-api|-impl)?-.*.jar]</exclude>
- </excludes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<scope>runtime</scope>
- <useTransitiveDependencies>true</useTransitiveDependencies>
- <useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<!-- provided -->
<exclude>org.apache.tomcat:*</exclude>
- <exclude>org.apache.myfaces:*</exclude>
-
- <!-- should be in a pom exclusion but it does perfectly the trick -->
- <exclude>org.springframework:*</exclude>
-
<!-- wars and pom -->
<exclude>*:war</exclude>
<exclude>*:pom</exclude>
diff --git a/tomee/tomee-plume-webapp/src/main/resources/META-INF/LICENSE
b/tomee/tomee-plume-webapp/src/main/resources/META-INF/LICENSE
index b4a8199..d02a8ab 100644
--- a/tomee/tomee-plume-webapp/src/main/resources/META-INF/LICENSE
+++ b/tomee/tomee-plume-webapp/src/main/resources/META-INF/LICENSE
@@ -674,7 +674,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
=========================================================================
- - JSTL, JSP, Java EE Schemas, Mojarra
+ - JSTL, JSP, Java EE Schemas
License: CDDL
-------------------------------------------------------------------------
@@ -1195,99 +1195,6 @@ Linking this library statically or dynamically with
other modules is making a co
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent modules, and
to copy and distribute the resulting executable under terms of your choice,
provided that you also meet, for each linked independent module, the terms and
conditions of the license of that module. An independent module is a module
which is not derived from or based on th [...]
-=================================================================================================
-EclipseLink
-ECJ - Eclipse Compiler for Java
-
-Eclipse Public License - v 1.0
-
-THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
-
-1. DEFINITIONS
-
-"Contribution" means:
-
-a) in the case of the initial Contributor, the initial code and documentation
distributed under this Agreement, and
-
-b) in the case of each subsequent Contributor:
-
-i) changes to the Program, and
-
-ii) additions to the Program;
-
-where such changes and/or additions to the Program originate from and are
distributed by that particular Contributor. A Contribution 'originates' from a
Contributor if it was added to the Program by such Contributor itself or anyone
acting on such Contributor's behalf. Contributions do not include additions to
the Program which: (i) are separate modules of software distributed in
conjunction with the Program under their own license agreement, and (ii) are
not derivative works of the Program.
-
-"Contributor" means any person or entity that distributes the Program.
-
-"Licensed Patents" mean patent claims licensable by a Contributor which are
necessarily infringed by the use or sale of its Contribution alone or when
combined with the Program.
-
-"Program" means the Contributions distributed in accordance with this
Agreement.
-
-"Recipient" means anyone who receives the Program under this Agreement,
including all Contributors.
-
-2. GRANT OF RIGHTS
-
-a) Subject to the terms of this Agreement, each Contributor hereby grants
Recipient a non-exclusive, worldwide, royalty-free copyright license to
reproduce, prepare derivative works of, publicly display, publicly perform,
distribute and sublicense the Contribution of such Contributor, if any, and
such derivative works, in source code and object code form.
-
-b) Subject to the terms of this Agreement, each Contributor hereby grants
Recipient a non-exclusive, worldwide, royalty-free patent license under
Licensed Patents to make, use, sell, offer to sell, import and otherwise
transfer the Contribution of such Contributor, if any, in source code and
object code form. This patent license shall apply to the combination of the
Contribution and the Program if, at the time the Contribution is added by the
Contributor, such addition of the Contributio [...]
-
-c) Recipient understands that although each Contributor grants the licenses to
its Contributions set forth herein, no assurances are provided by any
Contributor that the Program does not infringe the patent or other intellectual
property rights of any other entity. Each Contributor disclaims any liability
to Recipient for claims brought by any other entity based on infringement of
intellectual property rights or otherwise. As a condition to exercising the
rights and licenses granted here [...]
-
-d) Each Contributor represents that to its knowledge it has sufficient
copyright rights in its Contribution, if any, to grant the copyright license
set forth in this Agreement.
-
-3. REQUIREMENTS
-
-A Contributor may choose to distribute the Program in object code form under
its own license agreement, provided that:
-
-a) it complies with the terms and conditions of this Agreement; and
-
-b) its license agreement:
-
-i) effectively disclaims on behalf of all Contributors all warranties and
conditions, express and implied, including warranties or conditions of title
and non-infringement, and implied warranties or conditions of merchantability
and fitness for a particular purpose;
-
-ii) effectively excludes on behalf of all Contributors all liability for
damages, including direct, indirect, special, incidental and consequential
damages, such as lost profits;
-
-iii) states that any provisions which differ from this Agreement are offered
by that Contributor alone and not by any other party; and
-
-iv) states that source code for the Program is available from such
Contributor, and informs licensees how to obtain it in a reasonable manner on
or through a medium customarily used for software exchange.
-
-When the Program is made available in source code form:
-
-a) it must be made available under this Agreement; and
-
-b) a copy of this Agreement must be included with each copy of the Program.
-
-Contributors may not remove or alter any copyright notices contained within
the Program.
-
-Each Contributor must identify itself as the originator of its Contribution,
if any, in a manner that reasonably allows subsequent Recipients to identify
the originator of the Contribution.
-
-4. COMMERCIAL DISTRIBUTION
-
-Commercial distributors of software may accept certain responsibilities with
respect to end users, business partners and the like. While this license is
intended to facilitate the commercial use of the Program, the Contributor who
includes the Program in a commercial product offering should do so in a manner
which does not create potential liability for other Contributors. Therefore, if
a Contributor includes the Program in a commercial product offering, such
Contributor ("Commercial Con [...]
-
-For example, a Contributor might include the Program in a commercial product
offering, Product X. That Contributor is then a Commercial Contributor. If that
Commercial Contributor then makes performance claims, or offers warranties
related to Product X, those performance claims and warranties are such
Commercial Contributor's responsibility alone. Under this section, the
Commercial Contributor would have to defend claims against the other
Contributors related to those performance claims [...]
-
-5. NO WARRANTY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
Recipient is solely responsible for determining the appropriateness of using
and distributing the Program and assumes all risks associated with its exercise
of rights under this Ag [...]
-
-6. DISCLAIMER OF LIABILITY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
GRANTED HEREUNDER, EVEN IF [...]
-
-7. GENERAL
-
-If any provision of this Agreement is invalid or unenforceable under
applicable law, it shall not affect the validity or enforceability of the
remainder of the terms of this Agreement, and without further action by the
parties hereto, such provision shall be reformed to the minimum extent
necessary to make such provision valid and enforceable.
-
-If Recipient institutes patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Program itself
(excluding combinations of the Program with other software or hardware)
infringes such Recipient's patent(s), then such Recipient's rights granted
under Section 2(b) shall terminate as of the date such litigation is filed.
-
-All Recipient's rights under this Agreement shall terminate if it fails to
comply with any of the material terms or conditions of this Agreement and does
not cure such failure in a reasonable period of time after becoming aware of
such noncompliance. If all Recipient's rights under this Agreement terminate,
Recipient agrees to cease use and distribution of the Program as soon as
reasonably practicable. However, Recipient's obligations under this Agreement
and any licenses granted by Reci [...]
-
-Everyone is permitted to copy and distribute copies of this Agreement, but in
order to avoid inconsistency the Agreement is copyrighted and may only be
modified in the following manner. The Agreement Steward reserves the right to
publish new versions (including revisions) of this Agreement from time to time.
No one other than the Agreement Steward has the right to modify this Agreement.
The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation
may assign the respons [...]
-
-This Agreement is governed by the laws of the State of New York and the
intellectual property laws of the United States of America. No party to this
Agreement will bring a legal action under this Agreement more than one year
after the cause of action arose. Each party waives its rights to a jury trial
in any resulting litigation.
-
-
======================================================================================================================================================
ECJ - Eclipse Compiler for Java
diff --git a/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE
b/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE
index d1e0f9b..133e2fd 100644
--- a/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE
+++ b/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE
@@ -54,22 +54,6 @@ Copyright 2007-2010 Agimatec GmbH. All rights reserved.
=====================================
-Apache Tomcat NOTICE
-
-The original XML Schemas for Java EE Deployment Descriptors:
- - javaee_5.xsd
- - javaee_web_services_1_2.xsd
- - javaee_web_services_client_1_2.xsd
- - javaee_6.xsd
- - javaee_web_services_1_3.xsd
- - javaee_web_services_client_1_3.xsd
- - web-app_3_0.xsd
- - web-common_3_0.xsd
- - web-fragment_3_0.xsd
-may be obtained from http://java.sun.com/xml/ns/javaee/
-
-
-=====================================
Apache MyFaces NOTICE
This software also includes code from Facelets (https://facelets.dev.java.net/)
@@ -125,10 +109,6 @@ This product includes software Copyright University of
Southampton IT Innovation
=========================================================================
- JAnsi (http://http://jansi.fusesource.org/)
org.fusesource.jansi:jansi:jar:1.8
License: Apache License 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)
-
-=========================================================================
- - HawtBuf (http://fusesource.com/forge/projects/hawtbuf)
- License: Apache License 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)
=========================================================================
FastInfoset (https://fi.java.net/)
License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
@@ -146,16 +126,6 @@ el-api - Unified Expression Language is dual licensed
under 2 OSI approved licen
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL - Version 1.1)
GNU General Public License (GPL - Version 2, June 1991) with the Classpath
Exception
=========================================================================
-EclipseLink - http://www.eclipse.org/eclipselink/
-License: The EclipseLink project is dual licensed under the Eclipse Public
License (http://www.eclipse.org/legal/epl-v10.html)
-and the Eclipse Distribution Licensed
(http://www.eclipse.org/org/documents/edl-v10.php).
-=========================================================================
-Mojarra JavaServer Faces - Oracle's open source implementation of the JSF
standard (https://javaserverfaces.java.net/)
-License: COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) plus GPL,
https://glassfish.dev.java.net/public/CDDL+GPL.html
-=========================================================================
-ECJ - Eclipse Compiler for Java
-Eclipse Public License - v 1.0 -
https://www.eclipse.org/org/documents/epl-v10.html
-=========================================================================
Apache XBean :: ASM shaded (repackaged)
Copyright 2005-2013 The Apache Software Foundation
@@ -167,27 +137,4 @@ Joda.org (http://www.joda.org/).
=========================================================================
This product includes software developed and copyrighted by the The OWASP
Foundation (https://www.owasp.org)
-=========================================================================
-jose4j NOTICE
-
-jose4j
-Copyright 2012-2015 Brian Campbell
-
-EcdsaUsingShaAlgorithm contains code for converting the concatenated
-R & S values of the signature to and from DER, which was originally
-derived from the Apache Santuario XML Security library's SignatureECDSA
-implementation. http://santuario.apache.org/
-
-The Base64 implementation in this software was derived from the
-Apache Commons Codec project. http://commons.apache.org/proper/commons-codec/
-
-JSON processing in this software was derived from the JSON.simple toolkit.
-https://code.google.com/p/json-simple/
-=========================================================================
-Jackson JSON processor
-Jackson is a high-performance, Free/Open Source JSON processing library.
-It was originally written by Tatu Saloranta ([email protected]), and has
-been in development since 2007.
-It is currently developed by a community of developers, as well as supported
-commercially by FasterXML.com.
-=========================================================================
+=========================================================================
\ No newline at end of file
diff --git
a/tomee/tomee-plume-webapp/src/main/resources/META-INF/org.apache.tomee/service-jar.xml
b/tomee/tomee-plume-webapp/src/main/resources/META-INF/org.apache.tomee/service-jar.xml
new file mode 100644
index 0000000..dd6c6e5
--- /dev/null
+++
b/tomee/tomee-plume-webapp/src/main/resources/META-INF/org.apache.tomee/service-jar.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+ 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.
+-->
+<ServiceJar>
+ <ServiceProvider id="Default CMP Container"
parent="org.apache.openejb:Default CMP Container"/>
+ <ServiceProvider id="Default BMP Container"
parent="org.apache.openejb:Default BMP Container"/>
+ <ServiceProvider id="Default Stateless Container"
parent="org.apache.openejb:Default Stateless Container"/>
+ <ServiceProvider id="Default Singleton Container"
parent="org.apache.openejb:Default Singleton Container"/>
+ <ServiceProvider id="Default Stateful Container"
parent="org.apache.openejb:Default Stateful Container"/>
+ <ServiceProvider id="Default Managed Container"
parent="org.apache.openejb:Default Managed Container"/>
+ <ServiceProvider id="Default MDB Container"
parent="org.apache.openejb:Default MDB Container"/>
+ <ServiceProvider id="Default JDK 1.3 ProxyFactory"
parent="org.apache.openejb:Default JDK 1.3 ProxyFactory"/>
+ <ServiceProvider id="Tomcat Security Service"
+ class-name="org.apache.tomee.catalina.TomcatSecurityService"
+ service="SecurityService"
+ types="SecurityService"/>
+ <ServiceProvider id="PseudoSecurityService"
parent="org.apache.openejb:PseudoSecurityService"/>
+ <ServiceProvider id="Default Security Service"
parent="org.apache.openejb:Default Security Service"/>
+ <ServiceProvider id="Default Transaction Manager"
parent="org.apache.openejb:Default Transaction Manager"/>
+ <ServiceProvider id="Default JDBC Database"
parent="org.apache.openejb:Default JDBC Database">
+ JdbcUrl=jdbc:hsqldb:file:data/hsqldb/hsqldb
+ </ServiceProvider>
+ <ServiceProvider id="Default Unmanaged JDBC Database"
parent="org.apache.openejb:Default Unmanaged JDBC Database">
+ JdbcUrl=jdbc:hsqldb:file:data/hsqldb/hsqldb
+ </ServiceProvider>
+ <ServiceProvider id="Default JMS Resource Adapter"
parent="org.apache.openejb:Default JMS Resource Adapter"/>
+ <ServiceProvider id="Default JMS Connection Factory"
parent="org.apache.openejb:Default JMS Connection Factory"/>
+ <ServiceProvider id="Default Queue" parent="org.apache.openejb:Default
Queue"/>
+ <ServiceProvider id="Default Topic" parent="org.apache.openejb:Default
Topic"/>
+ <ServiceProvider id="Default ORB" parent="org.apache.openejb:Default ORB"/>
+ <ServiceProvider id="Default Mail Session"
parent="org.apache.openejb:Default Mail Session"/>
+ <ServiceProvider id="Default Remote Jndi Provider"
parent="org.apache.openejb:Default Remote Jndi Provider"/>
+ <ServiceProvider id="RoutedDataSource"
parent="org.apache.openejb:RoutedDataSource"/>
+ <ServiceProvider id="ProvidedByTomcat" service="Resource"
class-name="org.apache.tomee.catalina.TomcatResourceFactory"
factory-name="create">
+ jndiName =
+ appName =
+ factory =
+ </ServiceProvider>
+ <ServiceProvider id="Default Executor Service"
parent="org.apache.openejb:Default Executor Service" />
+ <ServiceProvider id="Default Scheduled Executor Service"
parent="org.apache.openejb:Default Scheduled Executor Service" />
+ <ServiceProvider id="Default Managed Thread Factory"
parent="org.apache.openejb:Default Managed Thread Factory" />
+ <ServiceProvider id="Default Context Service"
parent="org.apache.openejb:Default Context Service" />
+</ServiceJar>
diff --git a/tomee/tomee-plume-webapp/src/main/resources/juli.properties
b/tomee/tomee-plume-webapp/src/main/resources/juli.properties
new file mode 100644
index 0000000..873ce50
--- /dev/null
+++ b/tomee/tomee-plume-webapp/src/main/resources/juli.properties
@@ -0,0 +1,45 @@
+#
+# 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.
+#
+# $Rev: 600336 $ $Date: 2007-12-02 18:01:12 +0100 (Sun, 02 Dec 2007) $
+#
+############################################################
+# OpenEJB Handlers and Loggers
+############################################################
+
+OpenEJB.level = WARNING
+OpenEJB.server.level = INFO
+OpenEJB.startup.level = INFO
+OpenEJB.startup.config.level = INFO
+OpenEJB.hsql.level = INFO
+OpenEJB.handlers = 9OpenEJB.org.apache.juli.FileHandler
+CORBA-Adapter.hsql.level = ERROR
+CORBA-Adapter.handlers = 9OpenEJB.org.apache.juli.FileHandler
+Transaction.level = WARNING
+Transaction.handlers = 9Transaction.org.apache.juli.FileHandler
+org.apache.activemq.level = ERROR
+org.apache.activemq.handlers = OpenEJB.org.apache.juli.FileHandler
+org.apache.geronimo.level = ERROR
+org.apache.geronimo.handlers = 9OpenEJB.org.apache.juli.FileHandler
+openjpa.level = ERROR
+openjpa.handlers = 9OpenEJB.org.apache.juli.FileHandler
+
+9OpenEJB.org.apache.juli.FileHandler.level = FINE
+9OpenEJB.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9OpenEJB.org.apache.juli.FileHandler.prefix = openejb.
+9Transaction.org.apache.juli.FileHandler.level = FINE
+9Transaction.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9Transaction.org.apache.juli.FileHandler.prefix = transaction.
diff --git a/tomee/tomee-plume-webapp/src/main/webapp/README.txt
b/tomee/tomee-plume-webapp/src/main/webapp/README.txt
new file mode 100644
index 0000000..320c3b6
--- /dev/null
+++ b/tomee/tomee-plume-webapp/src/main/webapp/README.txt
@@ -0,0 +1,53 @@
+===============================================
+OpenEJB Plugin for Tomcat
+
+OpenEJB ${pom.version} http://tomee.apache.org/
+-----------------------------------------------
+___________________
+Installation
+===================
+
+ Assuming you have a normal working Tomcat 7.x installation:
+
+ 1. Copy tomee.war to ${catalina.base}/webapps/tomee.war
+ (Note: the file must be named tomee.war)
+ 2. Start Tomcat if it is not already running
+
+Support
+===================
+
+ Any problems with this release can be reported to our user
+ mailing list at [email protected]
+ Follow this link for other subscription and list information:
+ http://tomee.apache.org/mailing-lists.html
+
+=========================================================================
+== Cryptographic Software Notice ==
+=========================================================================
+
+This distribution includes cryptographic software. The country in
+which you currently reside may have restrictions on the import,
+possession, use, and/or re-export to another country, of
+encryption software. BEFORE using any encryption software, please
+check your country's laws, regulations and policies concerning the
+import, possession, or use, and re-export of encryption software, to
+see if this is permitted. See <http://www.wassenaar.org/> for more
+information.
+
+The U.S. Government Department of Commerce, Bureau of Industry and
+Security (BIS), has classified this software as Export Commodity
+Control Number (ECCN) 5D002.C.1, which includes information security
+software using or performing cryptographic functions with asymmetric
+algorithms. The form and manner of this Apache Software Foundation
+distribution makes it eligible for export under the License Exception
+ENC Technology Software Unrestricted (TSU) exception (see the BIS
+Export Administration Regulations, Section 740.13) for both object
+code and source code.
+
+The following provides more details on the included cryptographic
+software:
+ Apache ActiveMQ Included Binary
+ Apache Derby Included Binary
+ Apache Geronimo Included Binary
+ Apache Tomcat Specially Designed to Work With
+
diff --git a/tomee/tomee-plume-webapp/src/main/webapp/WEB-INF/web.xml
b/tomee/tomee-plume-webapp/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..c8e3120
--- /dev/null
+++ b/tomee/tomee-plume-webapp/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+ 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.
+-->
+<web-app xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ version="3.0">
+
+ <display-name>Apache TomEE</display-name>
+
+ <context-param>
+
<param-name>org.apache.tomee.catalina.TomcatWebAppBuilder.IGNORE</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>LoaderServlet</servlet-name>
+ <servlet-class>org.apache.tomee.loader.LoaderServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet>
+ <servlet-name>ServerServlet</servlet-name>
+
<servlet-class>org.apache.openejb.server.httpd.ServerServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ServerServlet</servlet-name>
+ <url-pattern>/ejb/*</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>InstallerServlet</servlet-name>
+
<servlet-class>org.apache.tomee.webapp.installer.InstallerServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>InstallerServlet</servlet-name>
+ <url-pattern>/installer</url-pattern>
+ </servlet-mapping>
+
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>ServerServlet</web-resource-name>
+ <url-pattern>/ejb/*</url-pattern>
+ </web-resource-collection>
+ </security-constraint>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Static Content</web-resource-name>
+ <url-pattern>/webjars/*</url-pattern>
+ </web-resource-collection>
+ </security-constraint>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Application</web-resource-name>
+ <url-pattern>/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>tomee-admin</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+ <security-role>
+ <role-name>tomee-admin</role-name>
+ </security-role>
+
+</web-app>
diff --git a/tomee/tomee-plume-webapp/src/main/webapp/app.css
b/tomee/tomee-plume-webapp/src/main/webapp/app.css
new file mode 100644
index 0000000..08297bb
--- /dev/null
+++ b/tomee/tomee-plume-webapp/src/main/webapp/app.css
@@ -0,0 +1,113 @@
+/*
+ * 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.
+ */
+
+div.ux-hidden {
+ display: none;
+}
+
+.ux-contentarea {
+ margin: 0;
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ left: 0;
+ top: 50px;
+ overflow: hidden;
+}
+
+.ux-full-screen {
+ margin: 0;
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ left: 0;
+ top: 0;
+ overflow: hidden;
+}
+
+div.ux-installer > div {
+ margin: 0;
+ position: absolute;
+ right: 5px;
+ left: 5px;
+}
+
+div.ux-installer > div.ux-status-panel {
+ top: 5px;
+ bottom: 255px;
+ overflow: auto;
+}
+
+div.ux-installer > div.ux-installer-params-panel {
+ height: 245px;
+ bottom: 5px;
+}
+
+div.ux-installer > div.ux-webaccess-installer {
+ top: 5px;
+ bottom: 5px;
+}
+
+p.lead {
+ text-align: center;
+ margin: 0;
+}
+
+.site-wrapper {
+ display: table;
+ width: 100%;
+ height: 100%; /* For at least Firefox */
+ min-height: 100%;
+}
+
+.site-wrapper-inner {
+ display: table-cell;
+ vertical-align: top;
+}
+
+.cover-container {
+ margin-right: auto;
+ margin-left: auto;
+}
+
+.inner {
+ padding: 30px;
+}
+
+.cover {
+ padding: 0 20px;
+}
+
+.cover {
+ padding: 10px 20px;
+ font-weight: bold;
+}
+
+@media (min-width: 768px) {
+ .site-wrapper-inner {
+ vertical-align: middle;
+ }
+ .cover-container {
+ width: 100%;
+ }
+}
+
+@media (min-width: 992px) {
+ .cover-container {
+ width: 700px;
+ }
+}
diff --git a/tomee/tomee-plume-webapp/src/main/webapp/app.js
b/tomee/tomee-plume-webapp/src/main/webapp/app.js
new file mode 100644
index 0000000..5dcbf09
--- /dev/null
+++ b/tomee/tomee-plume-webapp/src/main/webapp/app.js
@@ -0,0 +1,83 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+$(function () {
+ var installBtn = $('.ux-install-btn');
+ var catalinaHome = $('.ux-catalinaHome-txt');
+ var catalinaBase = $('.ux-catalinaBase-txt');
+ var serverXmlFile = $('.ux-serverXmlFile-txt');
+ var notification = $('.ux-install-notification');
+
+ installBtn.on('click', function (evt) {
+ evt.preventDefault();
+ installBtn.addClass('disabled');
+ $.ajax({
+ url: 'installer',
+ data: {
+ catalinaBaseDir: catalinaBase.val(),
+ catalinaHome: catalinaHome.val(),
+ serverXmlFile: serverXmlFile.val()
+ },
+ method: 'POST',
+ dataType: 'json',
+ success: function (data) {
+ window.location.reload();
+ }
+ });
+ });
+
+ function loop(list, callback) {
+ if (!list) {
+ return;
+ }
+ var i;
+ for (i = 0; i < list.length; i += 1) {
+ callback(list[i], i);
+ }
+ }
+
+ function setData(data) {
+ var table = $($('.ux-status-table').get(0));
+ table.empty();
+ var systemStatus = {};
+ loop(data, function (item) {
+ systemStatus[item.key] = item.value;
+ table.append('<tr><td>' + item.key + '</td><td>' + item.value +
'</td></tr>')
+ });
+ if (systemStatus.status === 'INSTALLED') {
+ $('.ux-server-ready-panel').removeClass('ux-hidden');
+ var providerLink = $($('.ux-provider-url').get(0));
+ providerLink.attr('href', window.location.href + 'ejb');
+ providerLink.html(window.location.origin +
window.location.pathname + 'ejb');
+ } else if (systemStatus.status === 'REBOOT_REQUIRED') {
+ $('.ux-installer-reboot-panel').removeClass('ux-hidden');
+ } else {
+ $('.ux-installer-panel').removeClass('ux-hidden');
+ }
+ catalinaHome.val(systemStatus.catalinaHomeDir);
+ catalinaBase.val(systemStatus.catalinaBaseDir);
+ serverXmlFile.val(systemStatus.serverXmlFile);
+ }
+
+ $.ajaxSetup({ cache: false });
+ $.ajax({
+ url: 'installer?ts=' + (new Date()).getTime(),
+ method: 'GET',
+ dataType: 'json',
+ success: setData
+ });
+});
\ No newline at end of file
diff --git a/tomee/tomee-plume-webapp/src/main/webapp/index.html
b/tomee/tomee-plume-webapp/src/main/webapp/index.html
new file mode 100644
index 0000000..33c1d00
--- /dev/null
+++ b/tomee/tomee-plume-webapp/src/main/webapp/index.html
@@ -0,0 +1,120 @@
+<!DOCTYPE html>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<html>
+<head>
+ <title>Apache TomEE - Installer</title>
+ <link rel="stylesheet" type="text/css"
href="webjars/bootstrap/3.1.0/css/bootstrap.min.css">
+ <link rel="stylesheet" type="text/css" href="app.css">
+ <script src="webjars/jquery/2.1.0/jquery.min.js"></script>
+ <script src="webjars/bootstrap/3.1.0/js/bootstrap.min.js"></script>
+ <script src="app.js"></script>
+</head>
+
+<body>
+<nav class="navbar navbar-inverse navbar-fixed-top">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse"
data-target=".navbar-ex8-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand"
href="http://tomee.apache.org/documentation.html">Apache TomEE</a>
+ </div>
+ <div class="collapse navbar-collapse navbar-ex8-collapse">
+ <ul class="nav navbar-nav">
+ <li class="ux-app-menu-item active"><a href="#">Installer</a></li>
+ </ul>
+ </div>
+</nav>
+<div class="ux-contentarea">
+ <div class="ux-installer ux-installer-panel ux-full-screen ux-hidden">
+ <div class="panel panel-default ux-status-panel">
+ <div class="panel-heading">
+ <h3 class="panel-title">System Status</h3>
+ </div>
+ <div class="panel-body">
+ <table class="table ux-status-table"></table>
+ </div>
+ </div>
+ <div class="panel panel-default ux-installer-params-panel">
+ <div class="panel-heading">
+ <h3 class="panel-title">Installer</h3>
+ </div>
+ <div class="panel-body">
+ <form class="bs-example form-horizontal">
+ <div class="form-group">
+ <label for="catalinaHome" class="col-lg-2
control-label">catalinaHome</label>
+
+ <div class="col-lg-10">
+ <input type="text" class="form-control
ux-catalinaHome-txt" id="catalinaHome"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <label for="catalinaBase" class="col-lg-2
control-label">catalinaBase</label>
+
+ <div class="col-lg-10">
+ <input type="text" class="form-control
ux-catalinaBase-txt" id="catalinaBase"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <label for="serverXmlFile" class="col-lg-2
control-label">serverXmlFile</label>
+
+ <div class="col-lg-10">
+ <input type="text" class="form-control
ux-serverXmlFile-txt" id="serverXmlFile"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ <a href="installer" class="btn btn-primary
ux-install-btn">Confirm</a>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+
+ <div class="ux-installer ux-server-ready-panel ux-full-screen ux-hidden">
+ <div class="site-wrapper">
+ <div class="site-wrapper-inner">
+ <div class="cover-container">
+ <div class="inner cover">
+ <p class="lead">Your server is fully installed.</p>
+ <p class="lead">Provider URL: <a
class="ux-provider-url" href="#"></a></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="ux-installer ux-installer-reboot-panel ux-full-screen
ux-hidden">
+ <div class="site-wrapper">
+ <div class="site-wrapper-inner">
+ <div class="cover-container">
+ <div class="inner cover">
+ <p class="lead">Please restart your server to complete
the installation process.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+</body>
+</html>
\ No newline at end of file
diff --git a/tomee/tomee-plume-webapp/src/main/webapp/juli.properties
b/tomee/tomee-plume-webapp/src/main/webapp/juli.properties
new file mode 100644
index 0000000..873ce50
--- /dev/null
+++ b/tomee/tomee-plume-webapp/src/main/webapp/juli.properties
@@ -0,0 +1,45 @@
+#
+# 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.
+#
+# $Rev: 600336 $ $Date: 2007-12-02 18:01:12 +0100 (Sun, 02 Dec 2007) $
+#
+############################################################
+# OpenEJB Handlers and Loggers
+############################################################
+
+OpenEJB.level = WARNING
+OpenEJB.server.level = INFO
+OpenEJB.startup.level = INFO
+OpenEJB.startup.config.level = INFO
+OpenEJB.hsql.level = INFO
+OpenEJB.handlers = 9OpenEJB.org.apache.juli.FileHandler
+CORBA-Adapter.hsql.level = ERROR
+CORBA-Adapter.handlers = 9OpenEJB.org.apache.juli.FileHandler
+Transaction.level = WARNING
+Transaction.handlers = 9Transaction.org.apache.juli.FileHandler
+org.apache.activemq.level = ERROR
+org.apache.activemq.handlers = OpenEJB.org.apache.juli.FileHandler
+org.apache.geronimo.level = ERROR
+org.apache.geronimo.handlers = 9OpenEJB.org.apache.juli.FileHandler
+openjpa.level = ERROR
+openjpa.handlers = 9OpenEJB.org.apache.juli.FileHandler
+
+9OpenEJB.org.apache.juli.FileHandler.level = FINE
+9OpenEJB.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9OpenEJB.org.apache.juli.FileHandler.prefix = openejb.
+9Transaction.org.apache.juli.FileHandler.level = FINE
+9Transaction.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9Transaction.org.apache.juli.FileHandler.prefix = transaction.
diff --git a/tomee/tomee-plus-webapp/src/main/resources/META-INF/LICENSE
b/tomee/tomee-plus-webapp/src/main/resources/META-INF/LICENSE
index 1bb44c2..d02a8ab 100644
--- a/tomee/tomee-plus-webapp/src/main/resources/META-INF/LICENSE
+++ b/tomee/tomee-plus-webapp/src/main/resources/META-INF/LICENSE
@@ -1193,6 +1193,8 @@ Certain source files distributed by Oracle are subject to
the following clarific
Linking this library statically or dynamically with other modules is making a
combined work based on this library. Thus, the terms and conditions of the GNU
General Public License Version 2 cover the whole combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent modules, and
to copy and distribute the resulting executable under terms of your choice,
provided that you also meet, for each linked independent module, the terms and
conditions of the license of that module. An independent module is a module
which is not derived from or based on th [...]
+
+
======================================================================================================================================================
ECJ - Eclipse Compiler for Java
diff --git a/tomee/tomee-plus-webapp/src/main/resources/META-INF/NOTICE
b/tomee/tomee-plus-webapp/src/main/resources/META-INF/NOTICE
index ae8ebf3..133e2fd 100644
--- a/tomee/tomee-plus-webapp/src/main/resources/META-INF/NOTICE
+++ b/tomee/tomee-plus-webapp/src/main/resources/META-INF/NOTICE
@@ -54,22 +54,6 @@ Copyright 2007-2010 Agimatec GmbH. All rights reserved.
=====================================
-Apache Tomcat NOTICE
-
-The original XML Schemas for Java EE Deployment Descriptors:
- - javaee_5.xsd
- - javaee_web_services_1_2.xsd
- - javaee_web_services_client_1_2.xsd
- - javaee_6.xsd
- - javaee_web_services_1_3.xsd
- - javaee_web_services_client_1_3.xsd
- - web-app_3_0.xsd
- - web-common_3_0.xsd
- - web-fragment_3_0.xsd
-may be obtained from http://java.sun.com/xml/ns/javaee/
-
-
-=====================================
Apache MyFaces NOTICE
This software also includes code from Facelets (https://facelets.dev.java.net/)
@@ -125,10 +109,6 @@ This product includes software Copyright University of
Southampton IT Innovation
=========================================================================
- JAnsi (http://http://jansi.fusesource.org/)
org.fusesource.jansi:jansi:jar:1.8
License: Apache License 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)
-
-=========================================================================
- - HawtBuf (http://fusesource.com/forge/projects/hawtbuf)
- License: Apache License 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)
=========================================================================
FastInfoset (https://fi.java.net/)
License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
@@ -146,31 +126,6 @@ el-api - Unified Expression Language is dual licensed
under 2 OSI approved licen
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL - Version 1.1)
GNU General Public License (GPL - Version 2, June 1991) with the Classpath
Exception
=========================================================================
-Apache CXF NOTICE
-
-Java classes (source and binary) under org.apache.cxf.jaxws.javaee
-are generated from schema available here:
-(http://java.sun.com/xml/ns/javaee/javaee_5.xsd)
-
-Portions of the file cxf-utils.js derives from code marked:
-This code was written by Tyler Akins and has been placed in the
-public domain. It would be nice if you left this header intact.
-Base64 code from Tyler Akins -- http://rumkin.com
-
-The product contains code (StaxBuilder.java) that is
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
- All rights reserved.
- See the NOTICE.jdom file for additional information
-
-This Product also includes software developed by David Heinemeier Hansson.
-(http://dev.rubyonrails.org/browser/trunk/activesupport/lib/active_support/inflections.rb)
-
-This product includes software Copyright University of Southampton IT
Innovation Centre, 2009
-(http://www.it-innovation.soton.ac.uk).
-=========================================================================
-ECJ - Eclipse Compiler for Java
-Eclipse Public License - v 1.0 -
https://www.eclipse.org/org/documents/epl-v10.html
-=========================================================================
Apache XBean :: ASM shaded (repackaged)
Copyright 2005-2013 The Apache Software Foundation
@@ -182,27 +137,4 @@ Joda.org (http://www.joda.org/).
=========================================================================
This product includes software developed and copyrighted by the The OWASP
Foundation (https://www.owasp.org)
-=========================================================================
-jose4j NOTICE
-
-jose4j
-Copyright 2012-2015 Brian Campbell
-
-EcdsaUsingShaAlgorithm contains code for converting the concatenated
-R & S values of the signature to and from DER, which was originally
-derived from the Apache Santuario XML Security library's SignatureECDSA
-implementation. http://santuario.apache.org/
-
-The Base64 implementation in this software was derived from the
-Apache Commons Codec project. http://commons.apache.org/proper/commons-codec/
-
-JSON processing in this software was derived from the JSON.simple toolkit.
-https://code.google.com/p/json-simple/
-=========================================================================
-Jackson JSON processor
-Jackson is a high-performance, Free/Open Source JSON processing library.
-It was originally written by Tatu Saloranta ([email protected]), and has
-been in development since 2007.
-It is currently developed by a community of developers, as well as supported
-commercially by FasterXML.com.
-=========================================================================
+=========================================================================
\ No newline at end of file
diff --git
a/tomee/tomee-plus-webapp/src/main/resources/META-INF/org.apache.tomee/service-jar.xml
b/tomee/tomee-plus-webapp/src/main/resources/META-INF/org.apache.tomee/service-jar.xml
new file mode 100644
index 0000000..dd6c6e5
--- /dev/null
+++
b/tomee/tomee-plus-webapp/src/main/resources/META-INF/org.apache.tomee/service-jar.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+ 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.
+-->
+<ServiceJar>
+ <ServiceProvider id="Default CMP Container"
parent="org.apache.openejb:Default CMP Container"/>
+ <ServiceProvider id="Default BMP Container"
parent="org.apache.openejb:Default BMP Container"/>
+ <ServiceProvider id="Default Stateless Container"
parent="org.apache.openejb:Default Stateless Container"/>
+ <ServiceProvider id="Default Singleton Container"
parent="org.apache.openejb:Default Singleton Container"/>
+ <ServiceProvider id="Default Stateful Container"
parent="org.apache.openejb:Default Stateful Container"/>
+ <ServiceProvider id="Default Managed Container"
parent="org.apache.openejb:Default Managed Container"/>
+ <ServiceProvider id="Default MDB Container"
parent="org.apache.openejb:Default MDB Container"/>
+ <ServiceProvider id="Default JDK 1.3 ProxyFactory"
parent="org.apache.openejb:Default JDK 1.3 ProxyFactory"/>
+ <ServiceProvider id="Tomcat Security Service"
+ class-name="org.apache.tomee.catalina.TomcatSecurityService"
+ service="SecurityService"
+ types="SecurityService"/>
+ <ServiceProvider id="PseudoSecurityService"
parent="org.apache.openejb:PseudoSecurityService"/>
+ <ServiceProvider id="Default Security Service"
parent="org.apache.openejb:Default Security Service"/>
+ <ServiceProvider id="Default Transaction Manager"
parent="org.apache.openejb:Default Transaction Manager"/>
+ <ServiceProvider id="Default JDBC Database"
parent="org.apache.openejb:Default JDBC Database">
+ JdbcUrl=jdbc:hsqldb:file:data/hsqldb/hsqldb
+ </ServiceProvider>
+ <ServiceProvider id="Default Unmanaged JDBC Database"
parent="org.apache.openejb:Default Unmanaged JDBC Database">
+ JdbcUrl=jdbc:hsqldb:file:data/hsqldb/hsqldb
+ </ServiceProvider>
+ <ServiceProvider id="Default JMS Resource Adapter"
parent="org.apache.openejb:Default JMS Resource Adapter"/>
+ <ServiceProvider id="Default JMS Connection Factory"
parent="org.apache.openejb:Default JMS Connection Factory"/>
+ <ServiceProvider id="Default Queue" parent="org.apache.openejb:Default
Queue"/>
+ <ServiceProvider id="Default Topic" parent="org.apache.openejb:Default
Topic"/>
+ <ServiceProvider id="Default ORB" parent="org.apache.openejb:Default ORB"/>
+ <ServiceProvider id="Default Mail Session"
parent="org.apache.openejb:Default Mail Session"/>
+ <ServiceProvider id="Default Remote Jndi Provider"
parent="org.apache.openejb:Default Remote Jndi Provider"/>
+ <ServiceProvider id="RoutedDataSource"
parent="org.apache.openejb:RoutedDataSource"/>
+ <ServiceProvider id="ProvidedByTomcat" service="Resource"
class-name="org.apache.tomee.catalina.TomcatResourceFactory"
factory-name="create">
+ jndiName =
+ appName =
+ factory =
+ </ServiceProvider>
+ <ServiceProvider id="Default Executor Service"
parent="org.apache.openejb:Default Executor Service" />
+ <ServiceProvider id="Default Scheduled Executor Service"
parent="org.apache.openejb:Default Scheduled Executor Service" />
+ <ServiceProvider id="Default Managed Thread Factory"
parent="org.apache.openejb:Default Managed Thread Factory" />
+ <ServiceProvider id="Default Context Service"
parent="org.apache.openejb:Default Context Service" />
+</ServiceJar>
diff --git a/tomee/tomee-plus-webapp/src/main/resources/juli.properties
b/tomee/tomee-plus-webapp/src/main/resources/juli.properties
new file mode 100644
index 0000000..873ce50
--- /dev/null
+++ b/tomee/tomee-plus-webapp/src/main/resources/juli.properties
@@ -0,0 +1,45 @@
+#
+# 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.
+#
+# $Rev: 600336 $ $Date: 2007-12-02 18:01:12 +0100 (Sun, 02 Dec 2007) $
+#
+############################################################
+# OpenEJB Handlers and Loggers
+############################################################
+
+OpenEJB.level = WARNING
+OpenEJB.server.level = INFO
+OpenEJB.startup.level = INFO
+OpenEJB.startup.config.level = INFO
+OpenEJB.hsql.level = INFO
+OpenEJB.handlers = 9OpenEJB.org.apache.juli.FileHandler
+CORBA-Adapter.hsql.level = ERROR
+CORBA-Adapter.handlers = 9OpenEJB.org.apache.juli.FileHandler
+Transaction.level = WARNING
+Transaction.handlers = 9Transaction.org.apache.juli.FileHandler
+org.apache.activemq.level = ERROR
+org.apache.activemq.handlers = OpenEJB.org.apache.juli.FileHandler
+org.apache.geronimo.level = ERROR
+org.apache.geronimo.handlers = 9OpenEJB.org.apache.juli.FileHandler
+openjpa.level = ERROR
+openjpa.handlers = 9OpenEJB.org.apache.juli.FileHandler
+
+9OpenEJB.org.apache.juli.FileHandler.level = FINE
+9OpenEJB.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9OpenEJB.org.apache.juli.FileHandler.prefix = openejb.
+9Transaction.org.apache.juli.FileHandler.level = FINE
+9Transaction.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9Transaction.org.apache.juli.FileHandler.prefix = transaction.
diff --git a/tomee/tomee-plus-webapp/src/main/webapp/README.txt
b/tomee/tomee-plus-webapp/src/main/webapp/README.txt
new file mode 100644
index 0000000..320c3b6
--- /dev/null
+++ b/tomee/tomee-plus-webapp/src/main/webapp/README.txt
@@ -0,0 +1,53 @@
+===============================================
+OpenEJB Plugin for Tomcat
+
+OpenEJB ${pom.version} http://tomee.apache.org/
+-----------------------------------------------
+___________________
+Installation
+===================
+
+ Assuming you have a normal working Tomcat 7.x installation:
+
+ 1. Copy tomee.war to ${catalina.base}/webapps/tomee.war
+ (Note: the file must be named tomee.war)
+ 2. Start Tomcat if it is not already running
+
+Support
+===================
+
+ Any problems with this release can be reported to our user
+ mailing list at [email protected]
+ Follow this link for other subscription and list information:
+ http://tomee.apache.org/mailing-lists.html
+
+=========================================================================
+== Cryptographic Software Notice ==
+=========================================================================
+
+This distribution includes cryptographic software. The country in
+which you currently reside may have restrictions on the import,
+possession, use, and/or re-export to another country, of
+encryption software. BEFORE using any encryption software, please
+check your country's laws, regulations and policies concerning the
+import, possession, or use, and re-export of encryption software, to
+see if this is permitted. See <http://www.wassenaar.org/> for more
+information.
+
+The U.S. Government Department of Commerce, Bureau of Industry and
+Security (BIS), has classified this software as Export Commodity
+Control Number (ECCN) 5D002.C.1, which includes information security
+software using or performing cryptographic functions with asymmetric
+algorithms. The form and manner of this Apache Software Foundation
+distribution makes it eligible for export under the License Exception
+ENC Technology Software Unrestricted (TSU) exception (see the BIS
+Export Administration Regulations, Section 740.13) for both object
+code and source code.
+
+The following provides more details on the included cryptographic
+software:
+ Apache ActiveMQ Included Binary
+ Apache Derby Included Binary
+ Apache Geronimo Included Binary
+ Apache Tomcat Specially Designed to Work With
+
diff --git a/tomee/tomee-plus-webapp/src/main/webapp/WEB-INF/web.xml
b/tomee/tomee-plus-webapp/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..c8e3120
--- /dev/null
+++ b/tomee/tomee-plus-webapp/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+ 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.
+-->
+<web-app xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ version="3.0">
+
+ <display-name>Apache TomEE</display-name>
+
+ <context-param>
+
<param-name>org.apache.tomee.catalina.TomcatWebAppBuilder.IGNORE</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>LoaderServlet</servlet-name>
+ <servlet-class>org.apache.tomee.loader.LoaderServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet>
+ <servlet-name>ServerServlet</servlet-name>
+
<servlet-class>org.apache.openejb.server.httpd.ServerServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ServerServlet</servlet-name>
+ <url-pattern>/ejb/*</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>InstallerServlet</servlet-name>
+
<servlet-class>org.apache.tomee.webapp.installer.InstallerServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>InstallerServlet</servlet-name>
+ <url-pattern>/installer</url-pattern>
+ </servlet-mapping>
+
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>ServerServlet</web-resource-name>
+ <url-pattern>/ejb/*</url-pattern>
+ </web-resource-collection>
+ </security-constraint>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Static Content</web-resource-name>
+ <url-pattern>/webjars/*</url-pattern>
+ </web-resource-collection>
+ </security-constraint>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Application</web-resource-name>
+ <url-pattern>/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>tomee-admin</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+ <security-role>
+ <role-name>tomee-admin</role-name>
+ </security-role>
+
+</web-app>
diff --git a/tomee/tomee-plus-webapp/src/main/webapp/app.css
b/tomee/tomee-plus-webapp/src/main/webapp/app.css
new file mode 100644
index 0000000..08297bb
--- /dev/null
+++ b/tomee/tomee-plus-webapp/src/main/webapp/app.css
@@ -0,0 +1,113 @@
+/*
+ * 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.
+ */
+
+div.ux-hidden {
+ display: none;
+}
+
+.ux-contentarea {
+ margin: 0;
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ left: 0;
+ top: 50px;
+ overflow: hidden;
+}
+
+.ux-full-screen {
+ margin: 0;
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ left: 0;
+ top: 0;
+ overflow: hidden;
+}
+
+div.ux-installer > div {
+ margin: 0;
+ position: absolute;
+ right: 5px;
+ left: 5px;
+}
+
+div.ux-installer > div.ux-status-panel {
+ top: 5px;
+ bottom: 255px;
+ overflow: auto;
+}
+
+div.ux-installer > div.ux-installer-params-panel {
+ height: 245px;
+ bottom: 5px;
+}
+
+div.ux-installer > div.ux-webaccess-installer {
+ top: 5px;
+ bottom: 5px;
+}
+
+p.lead {
+ text-align: center;
+ margin: 0;
+}
+
+.site-wrapper {
+ display: table;
+ width: 100%;
+ height: 100%; /* For at least Firefox */
+ min-height: 100%;
+}
+
+.site-wrapper-inner {
+ display: table-cell;
+ vertical-align: top;
+}
+
+.cover-container {
+ margin-right: auto;
+ margin-left: auto;
+}
+
+.inner {
+ padding: 30px;
+}
+
+.cover {
+ padding: 0 20px;
+}
+
+.cover {
+ padding: 10px 20px;
+ font-weight: bold;
+}
+
+@media (min-width: 768px) {
+ .site-wrapper-inner {
+ vertical-align: middle;
+ }
+ .cover-container {
+ width: 100%;
+ }
+}
+
+@media (min-width: 992px) {
+ .cover-container {
+ width: 700px;
+ }
+}
diff --git a/tomee/tomee-plus-webapp/src/main/webapp/app.js
b/tomee/tomee-plus-webapp/src/main/webapp/app.js
new file mode 100644
index 0000000..5dcbf09
--- /dev/null
+++ b/tomee/tomee-plus-webapp/src/main/webapp/app.js
@@ -0,0 +1,83 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+$(function () {
+ var installBtn = $('.ux-install-btn');
+ var catalinaHome = $('.ux-catalinaHome-txt');
+ var catalinaBase = $('.ux-catalinaBase-txt');
+ var serverXmlFile = $('.ux-serverXmlFile-txt');
+ var notification = $('.ux-install-notification');
+
+ installBtn.on('click', function (evt) {
+ evt.preventDefault();
+ installBtn.addClass('disabled');
+ $.ajax({
+ url: 'installer',
+ data: {
+ catalinaBaseDir: catalinaBase.val(),
+ catalinaHome: catalinaHome.val(),
+ serverXmlFile: serverXmlFile.val()
+ },
+ method: 'POST',
+ dataType: 'json',
+ success: function (data) {
+ window.location.reload();
+ }
+ });
+ });
+
+ function loop(list, callback) {
+ if (!list) {
+ return;
+ }
+ var i;
+ for (i = 0; i < list.length; i += 1) {
+ callback(list[i], i);
+ }
+ }
+
+ function setData(data) {
+ var table = $($('.ux-status-table').get(0));
+ table.empty();
+ var systemStatus = {};
+ loop(data, function (item) {
+ systemStatus[item.key] = item.value;
+ table.append('<tr><td>' + item.key + '</td><td>' + item.value +
'</td></tr>')
+ });
+ if (systemStatus.status === 'INSTALLED') {
+ $('.ux-server-ready-panel').removeClass('ux-hidden');
+ var providerLink = $($('.ux-provider-url').get(0));
+ providerLink.attr('href', window.location.href + 'ejb');
+ providerLink.html(window.location.origin +
window.location.pathname + 'ejb');
+ } else if (systemStatus.status === 'REBOOT_REQUIRED') {
+ $('.ux-installer-reboot-panel').removeClass('ux-hidden');
+ } else {
+ $('.ux-installer-panel').removeClass('ux-hidden');
+ }
+ catalinaHome.val(systemStatus.catalinaHomeDir);
+ catalinaBase.val(systemStatus.catalinaBaseDir);
+ serverXmlFile.val(systemStatus.serverXmlFile);
+ }
+
+ $.ajaxSetup({ cache: false });
+ $.ajax({
+ url: 'installer?ts=' + (new Date()).getTime(),
+ method: 'GET',
+ dataType: 'json',
+ success: setData
+ });
+});
\ No newline at end of file
diff --git a/tomee/tomee-plus-webapp/src/main/webapp/index.html
b/tomee/tomee-plus-webapp/src/main/webapp/index.html
new file mode 100644
index 0000000..33c1d00
--- /dev/null
+++ b/tomee/tomee-plus-webapp/src/main/webapp/index.html
@@ -0,0 +1,120 @@
+<!DOCTYPE html>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<html>
+<head>
+ <title>Apache TomEE - Installer</title>
+ <link rel="stylesheet" type="text/css"
href="webjars/bootstrap/3.1.0/css/bootstrap.min.css">
+ <link rel="stylesheet" type="text/css" href="app.css">
+ <script src="webjars/jquery/2.1.0/jquery.min.js"></script>
+ <script src="webjars/bootstrap/3.1.0/js/bootstrap.min.js"></script>
+ <script src="app.js"></script>
+</head>
+
+<body>
+<nav class="navbar navbar-inverse navbar-fixed-top">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse"
data-target=".navbar-ex8-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand"
href="http://tomee.apache.org/documentation.html">Apache TomEE</a>
+ </div>
+ <div class="collapse navbar-collapse navbar-ex8-collapse">
+ <ul class="nav navbar-nav">
+ <li class="ux-app-menu-item active"><a href="#">Installer</a></li>
+ </ul>
+ </div>
+</nav>
+<div class="ux-contentarea">
+ <div class="ux-installer ux-installer-panel ux-full-screen ux-hidden">
+ <div class="panel panel-default ux-status-panel">
+ <div class="panel-heading">
+ <h3 class="panel-title">System Status</h3>
+ </div>
+ <div class="panel-body">
+ <table class="table ux-status-table"></table>
+ </div>
+ </div>
+ <div class="panel panel-default ux-installer-params-panel">
+ <div class="panel-heading">
+ <h3 class="panel-title">Installer</h3>
+ </div>
+ <div class="panel-body">
+ <form class="bs-example form-horizontal">
+ <div class="form-group">
+ <label for="catalinaHome" class="col-lg-2
control-label">catalinaHome</label>
+
+ <div class="col-lg-10">
+ <input type="text" class="form-control
ux-catalinaHome-txt" id="catalinaHome"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <label for="catalinaBase" class="col-lg-2
control-label">catalinaBase</label>
+
+ <div class="col-lg-10">
+ <input type="text" class="form-control
ux-catalinaBase-txt" id="catalinaBase"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <label for="serverXmlFile" class="col-lg-2
control-label">serverXmlFile</label>
+
+ <div class="col-lg-10">
+ <input type="text" class="form-control
ux-serverXmlFile-txt" id="serverXmlFile"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ <a href="installer" class="btn btn-primary
ux-install-btn">Confirm</a>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+
+ <div class="ux-installer ux-server-ready-panel ux-full-screen ux-hidden">
+ <div class="site-wrapper">
+ <div class="site-wrapper-inner">
+ <div class="cover-container">
+ <div class="inner cover">
+ <p class="lead">Your server is fully installed.</p>
+ <p class="lead">Provider URL: <a
class="ux-provider-url" href="#"></a></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="ux-installer ux-installer-reboot-panel ux-full-screen
ux-hidden">
+ <div class="site-wrapper">
+ <div class="site-wrapper-inner">
+ <div class="cover-container">
+ <div class="inner cover">
+ <p class="lead">Please restart your server to complete
the installation process.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+</body>
+</html>
\ No newline at end of file
diff --git a/tomee/tomee-plus-webapp/src/main/webapp/juli.properties
b/tomee/tomee-plus-webapp/src/main/webapp/juli.properties
new file mode 100644
index 0000000..873ce50
--- /dev/null
+++ b/tomee/tomee-plus-webapp/src/main/webapp/juli.properties
@@ -0,0 +1,45 @@
+#
+# 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.
+#
+# $Rev: 600336 $ $Date: 2007-12-02 18:01:12 +0100 (Sun, 02 Dec 2007) $
+#
+############################################################
+# OpenEJB Handlers and Loggers
+############################################################
+
+OpenEJB.level = WARNING
+OpenEJB.server.level = INFO
+OpenEJB.startup.level = INFO
+OpenEJB.startup.config.level = INFO
+OpenEJB.hsql.level = INFO
+OpenEJB.handlers = 9OpenEJB.org.apache.juli.FileHandler
+CORBA-Adapter.hsql.level = ERROR
+CORBA-Adapter.handlers = 9OpenEJB.org.apache.juli.FileHandler
+Transaction.level = WARNING
+Transaction.handlers = 9Transaction.org.apache.juli.FileHandler
+org.apache.activemq.level = ERROR
+org.apache.activemq.handlers = OpenEJB.org.apache.juli.FileHandler
+org.apache.geronimo.level = ERROR
+org.apache.geronimo.handlers = 9OpenEJB.org.apache.juli.FileHandler
+openjpa.level = ERROR
+openjpa.handlers = 9OpenEJB.org.apache.juli.FileHandler
+
+9OpenEJB.org.apache.juli.FileHandler.level = FINE
+9OpenEJB.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9OpenEJB.org.apache.juli.FileHandler.prefix = openejb.
+9Transaction.org.apache.juli.FileHandler.level = FINE
+9Transaction.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+9Transaction.org.apache.juli.FileHandler.prefix = transaction.