geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geronimo-...@incubator.apache.org
Subject [Apache Geronimo Wiki] Updated: PetStore
Date Sat, 31 Jul 2004 00:59:04 GMT
   Date: 2004-07-30T17:59:04
   Editor: JacekLaskowski <jlaskowski@apache.org>
   Wiki: Apache Geronimo Wiki
   Page: PetStore
   URL: http://wiki.apache.org/geronimo/PetStore

   Occurence <env-entry-type> in WEB-INF/web.xml

Change Log:

------------------------------------------------------------------------------
@@ -78,7 +78,7 @@
 
  Once it's done, delete META-INF/openejb-jar.xml file.
 
- 1. Change the value of <reentrant> tag from ''False'' to ''false''. 
+ 1. Change the value of <reentrant> tag in META-INF/ejb-jar.xml from ''False'' to ''false''.

 
  The affected files are:
 
@@ -94,7 +94,7 @@
 jar -uf <ejb-jar> META-INF/ejb-jar.xml
 }}}
 
- 1. Change the value of <ejb-relation-name> tag from the empty string to a unique one
within relationships.
+ 1. Change the value of <ejb-relation-name> tag in META-INF/ejb-jar.xml from the empty
string to a unique one within relationships.
 
  The affected files are:
 
@@ -106,6 +106,31 @@
 jar -xf <ejb-jar> META-INF/ejb-jar.xml
 ....edit META-INF/ejb-jar.xml....
 jar -uf <ejb-jar> META-INF/ejb-jar.xml
+}}}
+
+ 1. Change the position of <env-entry-type> tag in WEB-INF/web.xml so that it occurs
between <env-entry-name> and <env-entry-value>.
+
+ The affected files are:
+
+  * petstore.war
+
+ For each WAR listed above do the following:
+
+ {{{
+jar -xf <war> WEB-INF/web.xml
+....edit WEB-INF/web.xml....
+jar -uf <war> WEB-INF/web.xml
+}}}
+
+ The sample stanza looks like:
+
+ {{{
+  <env-entry>
+    <env-entry-name>param/CatalogDAODatabase</env-entry-name>
+    <env-entry-type>java.lang.String</env-entry-type>
+    <env-entry-value>cloudscape</env-entry-value>
+    <!--env-entry-value>oracle</env-entry-value-->
+  </env-entry>
 }}}
 
  1. Only RARs and WARs are currently supported in an unpacked EAR, so jar up /petstore/ear
directory.

Mime
View raw message