You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2008/03/28 01:25:07 UTC
svn commit: r642043 - in /geronimo/samples/trunk/samples: ./ app-per-port/
app-per-port/app-per-port-connector-war/
app-per-port/app-per-port-connector-war/src/
app-per-port/app-per-port-connector-war/src/main/
app-per-port/app-per-port-connector-war/s...
Author: djencks
Date: Thu Mar 27 17:25:04 2008
New Revision: 642043
URL: http://svn.apache.org/viewvc?rev=642043&view=rev
Log:
GERONIMO-3941 add app-per-port sample... compiles but not tested
Added:
geronimo/samples/trunk/samples/app-per-port/
geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/
geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/pom.xml (with props)
geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/
geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/
geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/webapp/
geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/webapp/WEB-INF/
geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/webapp/WEB-INF/web.xml (with props)
geronimo/samples/trunk/samples/app-per-port/app-per-port-ear/
geronimo/samples/trunk/samples/app-per-port/app-per-port-ear/pom.xml (with props)
geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/
geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/pom.xml (with props)
geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/
geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/main/
geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/main/plan/
geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/main/plan/plan.xml (with props)
geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/
geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/pom.xml (with props)
geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/
geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/
geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/
geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/WEB-INF/
geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/WEB-INF/web.xml (with props)
geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/page1.jsp (with props)
geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/
geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/pom.xml (with props)
geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/
geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/
geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/
geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/WEB-INF/
geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/WEB-INF/web.xml (with props)
geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/page2.jsp (with props)
geronimo/samples/trunk/samples/app-per-port/pom.xml (with props)
geronimo/samples/trunk/samples/app-per-port/src/
geronimo/samples/trunk/samples/app-per-port/src/main/
geronimo/samples/trunk/samples/app-per-port/src/main/resources/
Modified:
geronimo/samples/trunk/samples/pom.xml
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/pom.xml?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/pom.xml (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/pom.xml Thu Mar 27 17:25:04 2008
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>app-per-port-connector-war</artifactId>
+ <name>Geronimo Samples :: app-per-port :: connector WAR</name>
+ <packaging>war</packaging>
+
+ <description>Geronimo Samples. WEB Module</description>
+
+ <dependencies>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.geronimo.genesis.plugins</groupId>
+ <artifactId>tools-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>verify-legal-files</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>verify-legal-files</goal>
+ </goals>
+ <configuration>
+ <!--Legal files go in odd place, WEB-INF/classes/META-INF -->
+ <strict>false</strict>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/webapp/WEB-INF/web.xml?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/webapp/WEB-INF/web.xml Thu Mar 27 17:25:04 2008
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed 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$ $Date$ -->
+
+<web-app version="2.4"
+ xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+</web-app>
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-connector-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-ear/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-ear/pom.xml?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-ear/pom.xml (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-ear/pom.xml Thu Mar 27 17:25:04 2008
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>app-per-port-ear</artifactId>
+ <name>Geronimo Samples :: app-per-port :: EAR</name>
+ <packaging>ear</packaging>
+
+ <description>Geronimo Samples. EAR Module</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port-war1</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port-war2</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port-connector-war</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>2.3.1</version>
+ <configuration>
+ <displayName>Geronimo Sample EAR for app-per-port</displayName>
+ <description>Geronimo Sample EAR for app-per-port</description>
+ <version>5</version>
+ <modules>
+
+ <webModule>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port-war1</artifactId>
+ <contextRoot>/war1</contextRoot>
+ <bundleFileName>war1.war</bundleFileName>
+ </webModule>
+ <webModule>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port-war2</artifactId>
+ <contextRoot>/war2</contextRoot>
+ <bundleFileName>war2.war</bundleFileName> </webModule>
+ <webModule>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port-connector-war</artifactId>
+ <contextRoot>/x</contextRoot>
+ <bundleFileName>connectors.war</bundleFileName>
+ </webModule>
+ </modules>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.geronimo.genesis.plugins</groupId>
+ <artifactId>tools-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>verify-legal-files</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>verify-legal-files</goal>
+ </goals>
+ <configuration>
+ <!--Legal files go in odd place, WEB-INF/classes/META-INF -->
+ <strict>false</strict>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
+
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-ear/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-ear/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-ear/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/pom.xml?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/pom.xml (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/pom.xml Thu Mar 27 17:25:04 2008
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port-tomcat</artifactId>
+ <name>Geronimo Samples :: app-per-port Plugin for Tomcat</name>
+ <packaging>car</packaging>
+
+ <description>Geronimo Samples. app-per-port Plugin for Tomcat</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port-ear</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <type>ear</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.configs</groupId>
+ <artifactId>tomcat6</artifactId>
+ <version>${geronimoVersion}</version>
+ <type>car</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.framework</groupId>
+ <artifactId>geronimo-gbean-deployer</artifactId>
+ <version>${geronimoVersion}</version>
+ <type>car</type>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.configs</groupId>
+ <artifactId>tomcat6-deployer</artifactId>
+ <version>${geronimoVersion}</version>
+ <type>car</type>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.configs</groupId>
+ <artifactId>jasper-deployer</artifactId>
+ <version>${geronimoVersion}</version>
+ <type>car</type>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.configs</groupId>
+ <artifactId>jasper</artifactId>
+ <version>${geronimoVersion}</version>
+ <type>car</type>
+ <scope>provided</scope>
+ </dependency>
+
+ </dependencies>
+
+ <properties>
+ <geronimoVersion>2.2-SNAPSHOT</geronimoVersion>
+
+ <gbeanDeployer>org.apache.geronimo.framework/geronimo-gbean-deployer/${geronimoVersion}/car</gbeanDeployer>
+ <j2eeDeployer>org.apache.geronimo.configs/j2ee-deployer/${geronimoVersion}/car</j2eeDeployer>
+ <tomcatDeployer>org.apache.geronimo.configs/tomcat6-deployer/${geronimoVersion}/car</tomcatDeployer>
+ <jasperDeployer>org.apache.geronimo.configs/jasper-deployer/${geronimoVersion}/car</jasperDeployer>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.geronimo.buildsupport</groupId>
+ <artifactId>car-maven-plugin</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <deploymentConfigs>
+ <deploymentConfig>${gbeanDeployer}</deploymentConfig>
+ <deploymentConfig>${j2eeDeployer}</deploymentConfig>
+ <deploymentConfig>${tomcatDeployer}</deploymentConfig>
+ <deploymentConfig>${jasperDeployer}</deploymentConfig>
+ </deploymentConfigs>
+ <module>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port-ear</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <type>ear</type>
+ </module>
+ <useMavenDependencies>
+ <value>true</value>
+ <includeVersion>true</includeVersion>
+ </useMavenDependencies>
+ <category>Sample</category>
+ <instance>
+ <plugin-artifact>
+ <prerequisite>
+ <id>
+ <groupId>org.apache.geronimo.configs</groupId>
+ <artifactId>tomcat6</artifactId>
+ </id>
+ <resource-type>Web Container</resource-type>
+ <description>
+ This version of the application works with the Geronimo/Tomcat distribution.
+ It is not intended to run in the Geronimo/Jetty distribution.
+ There is a separate version of the application that works with Jetty.
+ Please install the version appropriate to your Geronimo distribution.
+ </description>
+ </prerequisite>
+ </plugin-artifact>
+ </instance>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
+
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/main/plan/plan.xml?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/main/plan/plan.xml (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/main/plan/plan.xml Thu Mar 27 17:25:04 2008
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004-2005 The Apache Software Foundation
+
+ Licensed 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$ $Date$ -->
+
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1">
+ <module>
+ <web>war1.war</web>
+ <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1">
+ <web-container>
+ <gbean-link>TomcatWebContainer1</gbean-link>
+ </web-container>
+ </web-app>
+ </module>
+
+ <module>
+ <web>war2.war</web>
+ <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1">
+ <web-container>
+ <gbean-link>TomcatWebContainer2</gbean-link>
+ </web-container>
+ </web-app>
+ </module>
+
+ <module>
+ <web>connectors.war</web>
+ <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1">
+ <gbean name="TomcatWebConnector1" class="org.apache.geronimo.tomcat.connector.Http11NIOConnectorGBean">
+ <attribute name="name">HTTP</attribute>
+ <attribute name="host">localhost</attribute>
+ <attribute name="port">8081</attribute>
+ <attribute name="maxHttpHeaderSize">8192</attribute>
+ <attribute name="maxThreads">150</attribute>
+ <attribute name="minSpareThreads">25</attribute>
+ <attribute name="maxSpareThreads">75</attribute>
+ <attribute name="enableLookups">false</attribute>
+ <attribute name="redirectPort">8453</attribute>
+ <attribute name="acceptCount">100</attribute>
+ <attribute name="connectionTimeout">20000</attribute>
+ <attribute name="disableUploadTimeout">true</attribute>
+ <reference name="TomcatContainer">
+ <name>TomcatWebContainer1</name>
+ </reference>
+ </gbean>
+
+ <gbean name="TomcatWebConnector2" class="org.apache.geronimo.tomcat.connector.Http11NIOConnectorGBean">
+ <attribute name="name">HTTP</attribute>
+ <attribute name="host">localhost</attribute>
+ <attribute name="port">8082</attribute>
+ <attribute name="maxHttpHeaderSize">8192</attribute>
+ <attribute name="maxThreads">150</attribute>
+ <attribute name="minSpareThreads">25</attribute>
+ <attribute name="maxSpareThreads">75</attribute>
+ <attribute name="enableLookups">false</attribute>
+ <attribute name="redirectPort">8453</attribute>
+ <attribute name="acceptCount">100</attribute>
+ <attribute name="connectionTimeout">20000</attribute>
+ <attribute name="disableUploadTimeout">true</attribute>
+ <reference name="TomcatContainer">
+ <name>TomcatWebContainer2</name>
+ </reference>
+ </gbean>
+
+ </web-app>
+ </module>
+
+
+ <gbean name="TomcatWebContainer1" class="org.apache.geronimo.tomcat.TomcatContainer">
+ <attribute name="catalinaHome">var/catalina</attribute>
+ <reference name="EngineGBean">
+ <name>TomcatEngine1</name>
+ </reference>
+ <reference name="ServerInfo">
+ <name>ServerInfo</name>
+ </reference>
+ <reference name="WebManager">
+ <name>TomcatWebManager</name>
+ </reference>
+ </gbean>
+
+ <gbean name="TomcatEngine1" class="org.apache.geronimo.tomcat.EngineGBean">
+ <attribute name="className">org.apache.geronimo.tomcat.TomcatEngine</attribute>
+ <attribute name="initParams">
+ name=Geronimo1
+ </attribute>
+ <reference name="DefaultHost">
+ <name>TomcatHost1</name>
+ </reference>
+ <references name="Hosts">
+ <pattern>
+ <name>TomcatHost1</name>
+ </pattern>
+ </references>
+ <reference name="RealmGBean">
+ <name>TomcatJAASRealm</name>
+ </reference>
+ <!--reference name="TomcatValveChain">
+ <name>FirstValve</name>
+ </reference-->
+ </gbean>
+
+ <gbean name="TomcatHost1" class="org.apache.geronimo.tomcat.HostGBean">
+ <attribute name="className">org.apache.catalina.core.StandardHost</attribute>
+ <attribute name="initParams">
+ name=localhost
+ appBase=
+ workDir=work
+ </attribute>
+ </gbean>
+
+ <gbean name="TomcatWebContainer2" class="org.apache.geronimo.tomcat.TomcatContainer">
+ <attribute name="catalinaHome">var/catalina</attribute>
+ <reference name="EngineGBean">
+ <name>TomcatEngine2</name>
+ </reference>
+ <reference name="ServerInfo">
+ <name>ServerInfo</name>
+ </reference>
+ <reference name="WebManager">
+ <name>TomcatWebManager</name>
+ </reference>
+ </gbean>
+
+ <gbean name="TomcatEngine2" class="org.apache.geronimo.tomcat.EngineGBean">
+ <attribute name="className">org.apache.geronimo.tomcat.TomcatEngine</attribute>
+ <attribute name="initParams">
+ name=Geronimo2
+ </attribute>
+ <reference name="DefaultHost">
+ <name>TomcatHost2</name>
+ </reference>
+ <references name="Hosts">
+ <pattern>
+ <name>TomcatHost2</name>
+ </pattern>
+ </references>
+ <reference name="RealmGBean">
+ <name>TomcatJAASRealm</name>
+ </reference>
+ <!--reference name="TomcatValveChain">
+ <name>FirstValve</name>
+ </reference-->
+ </gbean>
+
+ <gbean name="TomcatHost2" class="org.apache.geronimo.tomcat.HostGBean">
+ <attribute name="className">org.apache.catalina.core.StandardHost</attribute>
+ <attribute name="initParams">
+ name=localhost
+ appBase=
+ workDir=work
+ </attribute>
+ </gbean>
+
+
+</application>
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/pom.xml?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/pom.xml (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/pom.xml Thu Mar 27 17:25:04 2008
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>app-per-port-war1</artifactId>
+ <name>Geronimo Samples :: app-per-port :: WAR1</name>
+ <packaging>war</packaging>
+
+ <description>Geronimo Samples. WEB Module</description>
+
+ <dependencies>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.geronimo.genesis.plugins</groupId>
+ <artifactId>tools-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>verify-legal-files</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>verify-legal-files</goal>
+ </goals>
+ <configuration>
+ <!--Legal files go in odd place, WEB-INF/classes/META-INF -->
+ <strict>false</strict>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+</project>
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/WEB-INF/web.xml?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/WEB-INF/web.xml Thu Mar 27 17:25:04 2008
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed 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$ $Date$ -->
+
+<web-app version="2.4"
+ xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+</web-app>
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/page1.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/page1.jsp?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/page1.jsp (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/page1.jsp Thu Mar 27 17:25:04 2008
@@ -0,0 +1 @@
+This is page1
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/page1.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/page1.jsp
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war1/src/main/webapp/page1.jsp
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/pom.xml?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/pom.xml (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/pom.xml Thu Mar 27 17:25:04 2008
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>app-per-port-war2</artifactId>
+ <name>Geronimo Samples :: app-per-port :: WAR2</name>
+ <packaging>war</packaging>
+
+ <description>Geronimo Samples. WEB Module</description>
+
+ <dependencies>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.geronimo.genesis.plugins</groupId>
+ <artifactId>tools-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>verify-legal-files</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>verify-legal-files</goal>
+ </goals>
+ <configuration>
+ <!--Legal files go in odd place, WEB-INF/classes/META-INF -->
+ <strict>false</strict>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/WEB-INF/web.xml?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/WEB-INF/web.xml Thu Mar 27 17:25:04 2008
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed 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$ $Date$ -->
+
+<web-app version="2.4"
+ xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+</web-app>
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/page2.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/page2.jsp?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/page2.jsp (added)
+++ geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/page2.jsp Thu Mar 27 17:25:04 2008
@@ -0,0 +1 @@
+This is page2
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/page2.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/page2.jsp
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/app-per-port-war2/src/main/webapp/page2.jsp
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/samples/trunk/samples/app-per-port/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/app-per-port/pom.xml?rev=642043&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/app-per-port/pom.xml (added)
+++ geronimo/samples/trunk/samples/app-per-port/pom.xml Thu Mar 27 17:25:04 2008
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.geronimo.genesis.config</groupId>
+ <artifactId>project-config</artifactId>
+ <version>1.4</version>
+ </parent>
+
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>app-per-port</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <name>Geronimo Samples :: app-per-port</name>
+ <packaging>pom</packaging>
+
+ <description>
+ Geronimo app-per-port sample created from an archetype.
+ </description>
+
+ <modules>
+ <module>app-per-port-war1</module>
+ <module>app-per-port-war2</module>
+ <module>app-per-port-connector-war</module>
+ <module>app-per-port-ear</module>
+ <module>app-per-port-tomcat</module>
+ </modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <inherited>false</inherited>
+ <configuration>
+ <outputDirectory>${project.basedir}/docs</outputDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <repositories>
+ <repository>
+ <id>apache-snapshots</id>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+ <layout>default</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>daily</updatePolicy>
+ <checksumPolicy>ignore</checksumPolicy>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+
+</project>
Propchange: geronimo/samples/trunk/samples/app-per-port/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/samples/trunk/samples/app-per-port/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/samples/trunk/samples/app-per-port/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: geronimo/samples/trunk/samples/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/pom.xml?rev=642043&r1=642042&r2=642043&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/pom.xml (original)
+++ geronimo/samples/trunk/samples/pom.xml Thu Mar 27 17:25:04 2008
@@ -16,8 +16,7 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
---><!-- $Rev$ $Date$ -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+--><!-- $Rev$ $Date$ --><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.geronimo.samples</groupId>
@@ -70,7 +69,8 @@
<module>timereport</module>
<module>jsp-examples</module>
<module>servlet-examples</module>
- </modules>
+ <module>app-per-port</module>
+ </modules>
<dependencies>
<dependency>