You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dw...@apache.org on 2007/05/25 03:59:14 UTC
svn commit: r541510 - in
/geronimo/server/trunk/applications/geronimo-examples:
geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
Author: dwoods
Date: Thu May 24 18:59:13 2007
New Revision: 541510
URL: http://svn.apache.org/viewvc?view=rev&rev=541510
Log:
GERONIMO-3189 Add missing geronimo-web.xml for jsp-examples and servlet-examples
Added:
geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml (with props)
geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml (with props)
Added: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml?view=auto&rev=541510
==============================================================================
--- geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml (added)
+++ geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml Thu May 24 18:59:13 2007
@@ -0,0 +1,49 @@
+<!--
+ 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: 525563 $ $Date: 2007-04-04 13:37:08 -0400 (Wed, 04 Apr 2007) $ -->
+
+<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.2"
+ xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
+
+ <dep:environment >
+ <dep:moduleId>
+ <dep:groupId>org.apache.geronimo.applications.examples</dep:groupId>
+ <dep:artifactId>geronimo-jsp-examples</dep:artifactId>
+ <dep:version>2.0-SNAPSHOT</dep:version>
+ <dep:type>war</dep:type>
+ </dep:moduleId>
+ <dep:dependencies/>
+ <dep:hidden-classes/>
+ <dep:non-overridable-classes/>
+ </dep:environment>
+
+ <context-root>/jsp-examples</context-root>
+ <!--<context-priority-classloader>false</context-priority-classloader>-->
+ <security-realm-name>geronimo-properties-realm</security-realm-name>
+ <security>
+ <default-principal>
+ <principal name="anonymous" class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"/>
+ </default-principal>
+ <role-mappings>
+ <role role-name="tomcat">
+ <principal name="admin" class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
+ </role>
+ </role-mappings>
+ </security>
+
+</web-app>
\ No newline at end of file
Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml?view=auto&rev=541510
==============================================================================
--- geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml (added)
+++ geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml Thu May 24 18:59:13 2007
@@ -0,0 +1,49 @@
+<!--
+ 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: 525563 $ $Date: 2007-04-04 13:37:08 -0400 (Wed, 04 Apr 2007) $ -->
+
+<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.2"
+ xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
+
+ <dep:environment>
+ <dep:moduleId>
+ <dep:groupId>org.apache.geronimo.applications.examples</dep:groupId>
+ <dep:artifactId>geronimo-servlet-examples</dep:artifactId>
+ <dep:version>2.0-SNAPSHOT</dep:version>
+ <dep:type>war</dep:type>
+ </dep:moduleId>
+ <dep:dependencies/>
+ <dep:hidden-classes/>
+ <dep:non-overridable-classes/>
+ </dep:environment>
+
+ <context-root>/servlet-examples</context-root>
+ <!--<context-priority-classloader>false</context-priority-classloader>-->
+ <security-realm-name>geronimo-properties-realm</security-realm-name>
+ <security>
+ <default-principal>
+ <principal name="anonymous" class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"/>
+ </default-principal>
+ <role-mappings>
+ <role role-name="tomcat">
+ <principal name="admin" class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
+ </role>
+ </role-mappings>
+ </security>
+
+</web-app>
\ No newline at end of file
Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Re: svn commit: r541510 - in /geronimo/server/trunk/applications/geronimo-examples: geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
Posted by Paul McMahan <pa...@gmail.com>.
I was also wondering why the added security.
Best wishes,
Paul
On May 25, 2007, at 12:10 PM, David Jencks wrote:
> Why is this a good idea? Don't we build configs for these in
> configs and install them in the ee servers?
>
> thanks
> david jencks
>
> On May 24, 2007, at 6:59 PM, dwoods@apache.org wrote:
>
>> Author: dwoods
>> Date: Thu May 24 18:59:13 2007
>> New Revision: 541510
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=541510
>> Log:
>> GERONIMO-3189 Add missing geronimo-web.xml for jsp-examples and
>> servlet-examples
>>
>> Added:
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-
>> jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml (with props)
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-
>> servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml (with
>> props)
>>
>> Added: geronimo/server/trunk/applications/geronimo-examples/
>> geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/
>> applications/geronimo-examples/geronimo-jsp-examples/src/main/
>> webapp/WEB-INF/geronimo-web.xml?view=auto&rev=541510
>> =====================================================================
>> =========
>> --- geronimo/server/trunk/applications/geronimo-examples/geronimo-
>> jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml (added)
>> +++ geronimo/server/trunk/applications/geronimo-examples/geronimo-
>> jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml Thu May 24
>> 18:59:13 2007
>> @@ -0,0 +1,49 @@
>> +<!--
>> + 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: 525563 $ $Date: 2007-04-04 13:37:08 -0400 (Wed, 04 Apr
>> 2007) $ -->
>> +
>> +<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/
>> tomcat-1.2"
>> + xmlns:dep="http://geronimo.apache.org/xml/ns/
>> deployment-1.2">
>> +
>> + <dep:environment >
>> + <dep:moduleId>
>> + <dep:groupId>org.apache.geronimo.applications.examples</
>> dep:groupId>
>> + <dep:artifactId>geronimo-jsp-examples</dep:artifactId>
>> + <dep:version>2.0-SNAPSHOT</dep:version>
>> + <dep:type>war</dep:type>
>> + </dep:moduleId>
>> + <dep:dependencies/>
>> + <dep:hidden-classes/>
>> + <dep:non-overridable-classes/>
>> + </dep:environment>
>> +
>> + <context-root>/jsp-examples</context-root>
>> + <!--<context-priority-classloader>false</context-priority-
>> classloader>-->
>> + <security-realm-name>geronimo-properties-realm</security-realm-
>> name>
>> + <security>
>> + <default-principal>
>> + <principal name="anonymous"
>> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrinc
>> ipal"/>
>> + </default-principal>
>> + <role-mappings>
>> + <role role-name="tomcat">
>> + <principal name="admin"
>> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrin
>> cipal"/>
>> + </role>
>> + </role-mappings>
>> + </security>
>> +
>> +</web-app>
>> \ No newline at end of file
>>
>> Propchange: geronimo/server/trunk/applications/geronimo-examples/
>> geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> ---------------------------------------------------------------------
>> ---------
>> svn:eol-style = native
>>
>> Added: geronimo/server/trunk/applications/geronimo-examples/
>> geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/
>> applications/geronimo-examples/geronimo-servlet-examples/src/main/
>> webapp/WEB-INF/geronimo-web.xml?view=auto&rev=541510
>> =====================================================================
>> =========
>> --- geronimo/server/trunk/applications/geronimo-examples/geronimo-
>> servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml (added)
>> +++ geronimo/server/trunk/applications/geronimo-examples/geronimo-
>> servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml Thu May
>> 24 18:59:13 2007
>> @@ -0,0 +1,49 @@
>> +<!--
>> + 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: 525563 $ $Date: 2007-04-04 13:37:08 -0400 (Wed, 04 Apr
>> 2007) $ -->
>> +
>> +<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/
>> tomcat-1.2"
>> + xmlns:dep="http://geronimo.apache.org/xml/ns/
>> deployment-1.2">
>> +
>> + <dep:environment>
>> + <dep:moduleId>
>> + <dep:groupId>org.apache.geronimo.applications.examples</
>> dep:groupId>
>> + <dep:artifactId>geronimo-servlet-examples</dep:artifactId>
>> + <dep:version>2.0-SNAPSHOT</dep:version>
>> + <dep:type>war</dep:type>
>> + </dep:moduleId>
>> + <dep:dependencies/>
>> + <dep:hidden-classes/>
>> + <dep:non-overridable-classes/>
>> + </dep:environment>
>> +
>> + <context-root>/servlet-examples</context-root>
>> + <!--<context-priority-classloader>false</context-priority-
>> classloader>-->
>> + <security-realm-name>geronimo-properties-realm</security-realm-
>> name>
>> + <security>
>> + <default-principal>
>> + <principal name="anonymous"
>> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrinc
>> ipal"/>
>> + </default-principal>
>> + <role-mappings>
>> + <role role-name="tomcat">
>> + <principal name="admin"
>> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrin
>> cipal"/>
>> + </role>
>> + </role-mappings>
>> + </security>
>> +
>> +</web-app>
>> \ No newline at end of file
>>
>> Propchange: geronimo/server/trunk/applications/geronimo-examples/
>> geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> ---------------------------------------------------------------------
>> ---------
>> svn:eol-style = native
>>
>>
>
Re: svn commit: r541510 - in /geronimo/server/trunk/applications/geronimo-examples:
geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
Posted by Donald Woods <dw...@apache.org>.
Some users may want to deploy these as WAR files instead of Plugins/CARs, in
which case the WAR could not be deployed due to the missing security
mapping... The JSP war still generates some xml parsing errors, which I'll
open a JIRA for later.
I thought the whole idea of these Tomcat JSP/Servlet examples, was to show how
to map them into Geronimo, which most Tomcat users would expect to use the
built WAR files and could see how to use the geronimo-web.xml to map them into
Geornimo when the default naming/versioning is unwanted.
-Donald
David Jencks wrote:
> Why is this a good idea? Don't we build configs for these in configs
> and install them in the ee servers?
>
> thanks
> david jencks
>
> On May 24, 2007, at 6:59 PM, dwoods@apache.org wrote:
>
>> Author: dwoods
>> Date: Thu May 24 18:59:13 2007
>> New Revision: 541510
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=541510
>> Log:
>> GERONIMO-3189 Add missing geronimo-web.xml for jsp-examples and
>> servlet-examples
>>
>> Added:
>>
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> (with props)
>>
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> (with props)
>>
>> Added:
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>>
>> URL:
>> http://svn.apache.org/viewvc/geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml?view=auto&rev=541510
>>
>> ==============================================================================
>>
>> ---
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> (added)
>> +++
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> Thu May 24 18:59:13 2007
>> @@ -0,0 +1,49 @@
>> +<!--
>> + 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: 525563 $ $Date: 2007-04-04 13:37:08 -0400 (Wed, 04 Apr
>> 2007) $ -->
>> +
>> +<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.2"
>> + xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
>> +
>> + <dep:environment >
>> + <dep:moduleId>
>> +
>> <dep:groupId>org.apache.geronimo.applications.examples</dep:groupId>
>> + <dep:artifactId>geronimo-jsp-examples</dep:artifactId>
>> + <dep:version>2.0-SNAPSHOT</dep:version>
>> + <dep:type>war</dep:type>
>> + </dep:moduleId>
>> + <dep:dependencies/>
>> + <dep:hidden-classes/>
>> + <dep:non-overridable-classes/>
>> + </dep:environment>
>> +
>> + <context-root>/jsp-examples</context-root>
>> +
>> <!--<context-priority-classloader>false</context-priority-classloader>-->
>> + <security-realm-name>geronimo-properties-realm</security-realm-name>
>> + <security>
>> + <default-principal>
>> + <principal name="anonymous"
>> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"/>
>>
>> + </default-principal>
>> + <role-mappings>
>> + <role role-name="tomcat">
>> + <principal name="admin"
>> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
>>
>> + </role>
>> + </role-mappings>
>> + </security>
>> +
>> +</web-app>
>> \ No newline at end of file
>>
>> Propchange:
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>>
>> ------------------------------------------------------------------------------
>>
>> svn:eol-style = native
>>
>> Added:
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>>
>> URL:
>> http://svn.apache.org/viewvc/geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml?view=auto&rev=541510
>>
>> ==============================================================================
>>
>> ---
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> (added)
>> +++
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> Thu May 24 18:59:13 2007
>> @@ -0,0 +1,49 @@
>> +<!--
>> + 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: 525563 $ $Date: 2007-04-04 13:37:08 -0400 (Wed, 04 Apr
>> 2007) $ -->
>> +
>> +<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.2"
>> + xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
>> +
>> + <dep:environment>
>> + <dep:moduleId>
>> +
>> <dep:groupId>org.apache.geronimo.applications.examples</dep:groupId>
>> + <dep:artifactId>geronimo-servlet-examples</dep:artifactId>
>> + <dep:version>2.0-SNAPSHOT</dep:version>
>> + <dep:type>war</dep:type>
>> + </dep:moduleId>
>> + <dep:dependencies/>
>> + <dep:hidden-classes/>
>> + <dep:non-overridable-classes/>
>> + </dep:environment>
>> +
>> + <context-root>/servlet-examples</context-root>
>> +
>> <!--<context-priority-classloader>false</context-priority-classloader>-->
>> + <security-realm-name>geronimo-properties-realm</security-realm-name>
>> + <security>
>> + <default-principal>
>> + <principal name="anonymous"
>> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"/>
>>
>> + </default-principal>
>> + <role-mappings>
>> + <role role-name="tomcat">
>> + <principal name="admin"
>> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
>>
>> + </role>
>> + </role-mappings>
>> + </security>
>> +
>> +</web-app>
>> \ No newline at end of file
>>
>> Propchange:
>> geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>>
>> ------------------------------------------------------------------------------
>>
>> svn:eol-style = native
>>
>>
>
>
>
Re: svn commit: r541510 - in /geronimo/server/trunk/applications/geronimo-examples: geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
Posted by David Jencks <da...@yahoo.com>.
Why is this a good idea? Don't we build configs for these in configs
and install them in the ee servers?
thanks
david jencks
On May 24, 2007, at 6:59 PM, dwoods@apache.org wrote:
> Author: dwoods
> Date: Thu May 24 18:59:13 2007
> New Revision: 541510
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=541510
> Log:
> GERONIMO-3189 Add missing geronimo-web.xml for jsp-examples and
> servlet-examples
>
> Added:
> geronimo/server/trunk/applications/geronimo-examples/geronimo-
> jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml (with props)
> geronimo/server/trunk/applications/geronimo-examples/geronimo-
> servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml (with
> props)
>
> Added: geronimo/server/trunk/applications/geronimo-examples/
> geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/
> applications/geronimo-examples/geronimo-jsp-examples/src/main/
> webapp/WEB-INF/geronimo-web.xml?view=auto&rev=541510
> ======================================================================
> ========
> --- geronimo/server/trunk/applications/geronimo-examples/geronimo-
> jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml (added)
> +++ geronimo/server/trunk/applications/geronimo-examples/geronimo-
> jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml Thu May 24
> 18:59:13 2007
> @@ -0,0 +1,49 @@
> +<!--
> + 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: 525563 $ $Date: 2007-04-04 13:37:08 -0400 (Wed, 04 Apr
> 2007) $ -->
> +
> +<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/
> tomcat-1.2"
> + xmlns:dep="http://geronimo.apache.org/xml/ns/
> deployment-1.2">
> +
> + <dep:environment >
> + <dep:moduleId>
> + <dep:groupId>org.apache.geronimo.applications.examples</
> dep:groupId>
> + <dep:artifactId>geronimo-jsp-examples</dep:artifactId>
> + <dep:version>2.0-SNAPSHOT</dep:version>
> + <dep:type>war</dep:type>
> + </dep:moduleId>
> + <dep:dependencies/>
> + <dep:hidden-classes/>
> + <dep:non-overridable-classes/>
> + </dep:environment>
> +
> + <context-root>/jsp-examples</context-root>
> + <!--<context-priority-classloader>false</context-priority-
> classloader>-->
> + <security-realm-name>geronimo-properties-realm</security-realm-
> name>
> + <security>
> + <default-principal>
> + <principal name="anonymous"
> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrinci
> pal"/>
> + </default-principal>
> + <role-mappings>
> + <role role-name="tomcat">
> + <principal name="admin"
> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrinc
> ipal"/>
> + </role>
> + </role-mappings>
> + </security>
> +
> +</web-app>
> \ No newline at end of file
>
> Propchange: geronimo/server/trunk/applications/geronimo-examples/
> geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
> ----------------------------------------------------------------------
> --------
> svn:eol-style = native
>
> Added: geronimo/server/trunk/applications/geronimo-examples/
> geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/
> applications/geronimo-examples/geronimo-servlet-examples/src/main/
> webapp/WEB-INF/geronimo-web.xml?view=auto&rev=541510
> ======================================================================
> ========
> --- geronimo/server/trunk/applications/geronimo-examples/geronimo-
> servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml (added)
> +++ geronimo/server/trunk/applications/geronimo-examples/geronimo-
> servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml Thu May
> 24 18:59:13 2007
> @@ -0,0 +1,49 @@
> +<!--
> + 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: 525563 $ $Date: 2007-04-04 13:37:08 -0400 (Wed, 04 Apr
> 2007) $ -->
> +
> +<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/
> tomcat-1.2"
> + xmlns:dep="http://geronimo.apache.org/xml/ns/
> deployment-1.2">
> +
> + <dep:environment>
> + <dep:moduleId>
> + <dep:groupId>org.apache.geronimo.applications.examples</
> dep:groupId>
> + <dep:artifactId>geronimo-servlet-examples</dep:artifactId>
> + <dep:version>2.0-SNAPSHOT</dep:version>
> + <dep:type>war</dep:type>
> + </dep:moduleId>
> + <dep:dependencies/>
> + <dep:hidden-classes/>
> + <dep:non-overridable-classes/>
> + </dep:environment>
> +
> + <context-root>/servlet-examples</context-root>
> + <!--<context-priority-classloader>false</context-priority-
> classloader>-->
> + <security-realm-name>geronimo-properties-realm</security-realm-
> name>
> + <security>
> + <default-principal>
> + <principal name="anonymous"
> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrinci
> pal"/>
> + </default-principal>
> + <role-mappings>
> + <role role-name="tomcat">
> + <principal name="admin"
> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrinc
> ipal"/>
> + </role>
> + </role-mappings>
> + </security>
> +
> +</web-app>
> \ No newline at end of file
>
> Propchange: geronimo/server/trunk/applications/geronimo-examples/
> geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
> ----------------------------------------------------------------------
> --------
> svn:eol-style = native
>
>