[jboss-cvs] jboss-seam/examples/jee5 ...

Peter Muir peter at bleepbleep.org.uk
Wed Aug 8 12:03:46 EDT 2007


  User: pmuir   
  Date: 07/08/08 12:03:46

  Modified:    examples/jee5  readme.txt
  Log:
  Formatting, and need to add drools libs in
  
  Revision  Changes    Path
  1.5       +41 -25    jboss-seam/examples/jee5/readme.txt
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: readme.txt
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/jee5/readme.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- readme.txt	7 Aug 2007 03:21:06 -0000	1.4
  +++ readme.txt	8 Aug 2007 16:03:46 -0000	1.5
  @@ -1,14 +1,19 @@
   Seam JEE5 Examples
   =================
   
  -The examples in this directory showcases how to build Java EE 5 compliant Seam applications. The application should run on all Java EE 5 compliant application servers with minimal changes in code and configuration files. The default build script builds a deployable EAR for Glassfish.
  +The examples in this directory showcases how to build Java EE 5 compliant Seam 
  +applications. The application should run on all Java EE 5 compliant 
  +application servers with minimal changes in code and configuration files. The 
  +default build script builds a deployable EAR for Glassfish.
   
   Glassfish v2 
   ------------
   
  -1.  Build the demo app by running ANT. The build target is "dist/jboss-seam-jee5.ear"
  +1.  Build the demo app by running ANT. The build target is 
  +    "dist/jboss-seam-jee5.ear"
   
  -2.  Download Glassfish v2 -b52 or above (b52 is one of the promoted builds which have based basic QA)
  +2.  Download Glassfish v2 -b52 or above (b52 is one of the promoted builds 
  +    which have based basic QA)
   
   3.  Install it: java -Xmx256m -jar glassfish-installer-xxx.jar
   
  @@ -27,30 +32,34 @@
   
   10. Checkout the app at: http://localhost:8080/seam-jee5/
   
  -11. Stop the server and database: bin/asadmin stop-domain domain1; bin/asadmin stop-database
  +11. Stop the server and database: 
  +    bin/asadmin stop-domain domain1; bin/asadmin stop-database
   
   
   OC4J 11g Technology Preview
   ---------------------------
   
  -0. Modify the following files in the project.
  +1.  Modify the following files in the project.
     
     * build.xml: Un-comment the OC4J-related libraries
  -  * resources/META-INF/persistence.xml: Comment out the Glassfish properties and un-comment the OC4J properties
  +    * resources/META-INF/persistence.xml: Comment out the Glassfish properties 
  +      and un-comment the OC4J properties
   
  -1.  Build the demo app by running ANT. The build target is "dist/jboss-seam-jee5.ear"
  +2.  Build the demo app by running ANT. The build target is 
  +    "dist/jboss-seam-jee5.ear"
   
  -2.  Download OC4J 11g Technology Preview from here 
  +3.  Download OC4J 11g Technology Preview from here 
       http://www.oracle.com/technology/tech/java/oc4j/11/index.html
   
  -3.  Unzip the downloaded file
  +4.  Unzip the downloaded file
   
  -4.  Make sure you have $JAVA_HOME and $ORACLE_HOME set as environment variables ($ORACLE_HOME is the
  -    directory to which you unzip OC4J)
  -    * For further information on installing OC4J, consult the Readme.txt distributed with OC4J
  +5.  Make sure you have $JAVA_HOME and $ORACLE_HOME set as environment 
  +    variables ($ORACLE_HOME is the directory to which you unzip OC4J). For 
  +    further information on installing OC4J, consult the Readme.txt distributed 
  +    with OC4J
   
  -5.  Edit the OC4J datasource $ORACLE_HOME/j2ee/home/config/data-sources.xml and, inside <data-sources>,
  -    add
  +6.  Edit the OC4J datasource $ORACLE_HOME/j2ee/home/config/data-sources.xml 
  +    and, inside <data-sources>, add
   
       <managed-data-source 
         connection-pool-name="jee5-connection-pool" 
  @@ -66,7 +75,8 @@
       </connection-pool>
   
   
  -6.  Edit $ORACLE_HOME/j2ee/home/config/server.xml and, inside <application-server>, add
  +7.  Edit $ORACLE_HOME/j2ee/home/config/server.xml and, inside 
  +    <application-server>, add
   
       <application 
         name="jboss-seam-jee5" 
  @@ -75,7 +85,8 @@
         start="true" 
         />
   
  -7.  Edit $ORACLE_HOME/j2ee/home/config/default-web-site.xml, and, inside <web-site>, add
  +8.  Edit $ORACLE_HOME/j2ee/home/config/default-web-site.xml, and, inside 
  +    <web-site>, add
   
       <web-app 
         application="jboss-seam-jee5" 
  @@ -84,18 +95,23 @@
         root="/seam-jee5" 
         />
   
  -8.  Copy hsqldb.jar to OC4J: cp ../../seam-gen/lib/hsqldb.jar $ORACLE_HOME/j2ee/home/applib/
  +9.  Copy hsqldb.jar to OC4J: 
  +    cp ../../seam-gen/lib/hsqldb.jar $ORACLE_HOME/j2ee/home/applib/
   
  -9.  Copy the application to OC4J: cp build/jboss-seam-jee5.ear $ORACLE_HOME/j2ee/home/applications/
  +10. Copy the application to OC4J: 
  +    cp build/jboss-seam-jee5.ear $ORACLE_HOME/j2ee/home/applications/
   
  -10. Start OC4J: $ORACLE_HOME/bin/oc4j -start
  -    * You will be asked to set the admin password if this is the first time you've started OC4J
  -    * You may get an ClassNotFoundException relating to org.jboss.logging.util.OnlyOnceErrorHandler,
  -      this doesn't impact on the running of the app.  We are working to get rid of this error!
  +11. Start OC4J: $ORACLE_HOME/bin/oc4j -start
  +    * You will be asked to set the admin password if this is the first time 
  +      you've started OC4J
  +    * You may get an ClassNotFoundException relating to 
  +      org.jboss.logging.util.OnlyOnceErrorHandler, this doesn't impact on the 
  +      running of the app.  We are working to get rid of this error!
   
  -10. Checout the app at: http://localhost:8888/seam-jee5
  +12. Checout the app at: http://localhost:8888/seam-jee5
   
  -11. You can stop the server by pressing CTRL-c in the console on which the server is running.
  +13. You can stop the server by pressing CTRL-c in the console on which the 
  +    server is running.
   
   
   Workarounds for OC4J 11g
  
  
  



More information about the jboss-cvs-commits mailing list