[seam-commits] Seam SVN: r13263 - examples/trunk/booking-simplified.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Jun 18 19:10:48 EDT 2010
Author: dan.j.allen
Date: 2010-06-18 19:10:47 -0400 (Fri, 18 Jun 2010)
New Revision: 13263
Modified:
examples/trunk/booking-simplified/readme.txt
Log:
more detailed instructions
Modified: examples/trunk/booking-simplified/readme.txt
===================================================================
--- examples/trunk/booking-simplified/readme.txt 2010-06-18 23:03:46 UTC (rev 13262)
+++ examples/trunk/booking-simplified/readme.txt 2010-06-18 23:10:47 UTC (rev 13263)
@@ -1,11 +1,13 @@
JBoss AS
--------
-You need the latest nightly build of JBoss AS 6.0.x to run this application on a JBoss AS instance:
+You'll need the latest nightly build of JBoss AS 6.0.x to run this application.
http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x/lastSuccessfulBuild/artifact/JBossAS_6_0/build/target/jboss-6.0.x.zip
-Extract the server, set the JBOSS_HOME environment variable and start it. Then, deploy the application:
+Extract the zip, set the JBOSS_HOME environment variable and execute the startup script.
+You can then deploy the application:
+
mvn package jboss:hard-deploy
That command will deploy two files, booking-ds.xml and booking.war. You can undeploy using:
@@ -14,14 +16,32 @@
GlassFish
---------
-You will need to start JavaDB to make the application run on GlassFish
+You will need to install Hibernate 3.5 into GlassFish as there is a bug in
+EclipseLink that prevents the extended persistence context from working. See
+instructions below.
-$GLASSFISH_HOME/bin/asadmin start-database
+The simplest way to run the application on GlassFish is to:
-However, there should be an option with the GlassFish server plugin in both
-NetBeans and Eclipse to automatically start it when GlassFish starts. Unlike
+ 1. Start NetBeans 6.8 or later
+ 2. Open the project folder (it will autodetect the Maven project)
+ 3. Right click on the project
+ 4. Select the Run option
+
+If you are not using NetBeans, you can start GlassFish and JavaDB using these commands:
+
+ $GLASSFISH_HOME/bin/asadmin start-database
+ $GLASSFISH_HOME/bin/asadmin start-domain domain1
+
+Then you can package the project (mvn package) and deploy the WAR using the admin console:
+
+Note about JavaDB:
+
+You will need to start JavaDB to make the application run on GlassFish. Unlike
JBoss AS, the default data source is a client/server instance.
+There are option provided by both the GlassFish server plugin in NetBeans and
+Eclipse to automatically start JavaDB when GlassFish starts.
+
Eclipse:
Window > Preferences > GlassFish Preferences > Start the JavaDB database process when starting GlassFish Server
More information about the seam-commits
mailing list