To run the samples, get the Geronimo V3-M1 release from here. Either the one based on Tomcat or Jetty will do.
Extract it and change directory to geronimo-jetty8-javaee6-3.0-M1 (or geronimo-tomcat7-javaee6-3.0-M1)
I found it useful to change the default http port from 8080 to something else (I have too many things that use 8080). To do this, edit the file ./var/config/config-substitutions.properties.
Grab these pre-reqs (may not be needed in the next Geronimo release):
And the two versions of the Aries blog sample:
- org.apache.aries.samples.blog.jdbc.eba-0.2-incubating.eba
- org.apache.aries.samples.blog.jpa.eba-0.2-incubating.eba
./bin/geronimo run
./bin/deploy -u system -p manager deploy tranql-connector-derby-embed-xa-1.6.rar aries-datasource.xml
Then deploy one or other version of the blog sample (but not both :-))
./bin/deploy -u system -p manager deploy org.apache.aries.samples.blog.jdbc.eba-0.2-incubating.eba
Navigate to http://localhost:XXXX/blog where XXXX is your HTTP port and check that the blog is running.
Navigate to http://localhost:XXXX/console and log in, uid 'system' , pwd 'manager'. Use the menu under Applications-> System Modules to start, stop, uninstall the blog sample.
More extensive documentation can be found here.
No comments:
Post a Comment