Date: 2004-01-20T06:03:16
Editor: DavanumSrinivas <[EMAIL PROTECTED]>
Wiki: Apache Geronimo Wiki
Page: PetStore
URL: http://wiki.apache.org/geronimo/PetStore
no comment
Change Log:
------------------------------------------------------------------------------
@@ -22,10 +22,16 @@
NOTE: Unless otherwise specified the directory names are all relative to
'''incubator-geronimo/target/geronimo-DEV''' directory.
- 1. Create '''petstore''' directory as a place where deployables are to be
found. Open '''etc/boot-service.xml''' and add '''${geronimo.home}/petstore'''
after the comma, next to'''${geronimo.home}/deploy''' in
'''org.apache.geronimo.kernel.deployment.scanner.DeploymentScanner''' MBean.
Once this is done, Geronimo will monitor the directory and attempt to deploy
resources that are in the directory.
-
+ 1. Create '''petstore''' directory as a place where deployables are to be
found. Open '''etc/boot-service.xml''' and add '''${geronimo.home}/petstore'''
after the comma, next to'''${geronimo.home}/deploy''' in
'''org.apache.geronimo.kernel.deployment.scanner.DeploymentScanner''' MBean as
shown below: {{{
+ <mbean
descriptor="org.apache.geronimo.kernel.deployment.scanner.DeploymentScanner"
+ name="geronimo.deployment:role=DeploymentScanner">
+ <constructor>
+ <arg
type="java.net.URL[]">${geronimo.home}/deploy/,${geronimo.home}/petstore/,</arg>
+ <arg type="long">5000</arg>
+ </constructor>
+ </mbean>
+}}} Once this is done, Geronimo will monitor the directory and attempt to
deploy resources that are in the directory.
1. Define a connection-definition of your choice in J2EECA JDBC
implementation's specific way. (For OpenJCA, you can edit
''META-INF/geronimo-ra.xml'' contained in openejb-jca-DEV.jar)
-
1. Create '''petstore.ear''' directory within petstore directory.