geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Geronimo Wiki] Update of "PetStore" by JacekLaskowski
Date Sun, 07 Aug 2005 13:34:33 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification.

The following page has been changed by JacekLaskowski:

The comment on the change is:
Further simplifications in PetStore 1.3.2 deployment

  The Java Pet Store Demo is a sample application brought to you by the [
Java BluePrints] program at [ Java Software], [ Sun Microsystems].
+ The home directory of Pet Store Demo application in Geronimo source tree is {{{sandbox/petstore}}}.
  == Prerequisites ==
   * Geronimo build 209955 or later (these directions will not work for Milestone 3 or earlier)
@@ -25, +27 @@

   * Download [ Java Pet
Store Sample Application 1.3.2]
+  * Java2 SDK 1.4 (Pet Store uses '''enum''' as a variable name that breaks the compilation)
- == Deploying PetStore ==
+ == Deploying Pet Store Demo ==
  Before going on, please keep in mind that {{{"whom ever wrote petstore should be hunted
down..."}}}. It's been said during one IRC session and I couldn't resist to include it.
  The installation steps are:
-  1. unzip {{{}}};
+  1. Go to {{{sandbox/petstore}}} directory
-  1. patch the resulting directory with the patch {{{src/etc/petstore1.3.2.diff}}};
+  1. Unzip {{{}}}
-  1. build the Pet Store applications - all of them, not only the petstore one;
+  1. patch the resulting directory with the patch {{{src/etc/petstore1.3.2.diff}}}
-  1. update the property {{{petstore.home}}} defined by the file {{{}}}.
The value to be specified is the path of the directory previously patched; and
+  {{{
+ $ patch -p0 < src/etc/petstore1.3.2.diff
+ patching file petstore1.3.2/src/apps/petstore/src/docroot/CatalogDAOSQL.xml
+ patching file petstore1.3.2/src/apps/petstore/src/docroot/WEB-INF/web.xml
+ patching file petstore1.3.2/src/apps/petstore/src/docroot/populate/PopulateSQL.xml
+ patching file petstore1.3.2/src/components/catalog/src/ejb-jar.xml
+ patching file petstore1.3.2/src/components/customer/src/ejb-jar.xml
+ }}}
-  1. distribute the Java Pet Store and Java Pet Store Supplier application {{{maven -o}}}.
+  1. Build the Pet Store Demo. It boils down to executing or build.bat in {{{petstore1.3.2/src}}}
directory, possibly with some additional modifications in the file. See petstore1.3.2/docs/building.html
for a complete information.
- Once installed, the Pet Store applications are started and stopped with {{{maven -o petstore:start}}}
and {{{maven -o petstore:stop}}} respectively.
+  1. Distribute the Java Pet Store Demo application {{{maven -o}}}.
+ Once installed, the Pet Store Demo application is started and stopped with {{{maven -o petstore:start}}}
and {{{maven -o petstore:stop}}}, respectively.
- To access the Pet Store Application, point your browser to http://localhost:8080/petstore/.
+ To access the Java Pet Store application, point your browser to http://localhost:8080/petstore/.
   * Explanations on the Geronimo specific configurations.

View raw message