[jboss-svn-commits] JBL Code SVN: r18587 - in labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/samples/quickstarts/helloworld_hibernate_action: resources and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Feb 25 18:05:57 EST 2008


Author: tcunning
Date: 2008-02-25 18:05:57 -0500 (Mon, 25 Feb 2008)
New Revision: 18587

Modified:
   labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/samples/quickstarts/helloworld_hibernate_action/readme.txt
   labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/samples/quickstarts/helloworld_hibernate_action/resources/application.xml
Log:
bug:JBESB-1551
Correct the readme by removing references to MySQL and MySQL setup
targets (createdb, etc)


Modified: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/samples/quickstarts/helloworld_hibernate_action/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/samples/quickstarts/helloworld_hibernate_action/readme.txt	2008-02-25 22:34:42 UTC (rev 18586)
+++ labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/samples/quickstarts/helloworld_hibernate_action/readme.txt	2008-02-25 23:05:57 UTC (rev 18587)
@@ -1,7 +1,7 @@
 Overview:
 =========
   This is a demonstration of a Hibernate listener. This test is configured 
-  to use a mysql database running on localhost (see jbossesb.xml).  This 
+  to use an in-memory hsqldb database (see jbossesb.xml).  This 
   quickstart builds an ear containing both an .esb and a .war.  The .war
   has a series of .jsps which demonstrate insert/delete/load/update.   
 
@@ -25,30 +25,29 @@
   Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts
   and a more detailed descripton of the different ways to run the quickstarts.
 
-  Make sure that you have MySQL running before starting this quickstart.  Once
-  it is running, execute 'ant createdb' to create the database.   
-
   Installation instructions can be found in the install/readme.txt.
 
-Setting up MySQL 
+Setting Up 
 ======================= 
-By default, this quickstart uses a standard MySQL database with root as the
-user and no password set.    You can easily change these settings by changing
-the hibernate.cfg.xml file.    Note that you may also have to make minor 
-modifications to the createdb target of build.xml.
+By default, this quickstart uses a standard hsqldb in-memory DB with "sa" as the
+user and "sa" as the password.    You can easily change these settings by
+changing the hibernate.cfg.xml file and the appropriate build.xml targets.    
 
 This quickstart uses the same database settings that are required in the 
 helloworld_sql_action quickstart.
 
 To Run .esb mode:
 =======================
-  1. In a command terminal window in the quickstart folder type 'ant deploy'.
-  2. Start your appserver.    This quickstart deploys a jar into a common
+  1. Make sure your appserver is stopped.    If it is running, please 
+     shutdown before installing this quickstart.
+  2. In a command terminal window in the quickstart folder type 'ant deploy'.
+  3. Start your appserver.    This quickstart deploys a jar into a common
      lib directory, so it is important that the app server be started 
      after deployment.    You may see JSP compilation errors if you try
      to deploy the quickstart for the first time while the appserver is 
      still running.
-  3. Assuming that your appserver is running tomcat on port 8080, Browse to
+  4. Assuming that your appserver is running tomcat on port 8080, Browse to
      http://localhost:8080/hibernateaction/index.jsp
-  4. Watch the events in the JBoss appserver console.
-  5. To undeploy the application, type 'ant undeploy'
+  5. Watch the events in the JBoss appserver console - by default this
+     quickstart logs the onSave and onDelete actions.
+  6. To undeploy the application, type 'ant undeploy'

Modified: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/samples/quickstarts/helloworld_hibernate_action/resources/application.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/samples/quickstarts/helloworld_hibernate_action/resources/application.xml	2008-02-25 22:34:42 UTC (rev 18586)
+++ labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/samples/quickstarts/helloworld_hibernate_action/resources/application.xml	2008-02-25 23:05:57 UTC (rev 18587)
@@ -21,8 +21,4 @@
 	<java>Quickstart_helloworld_hibernate_action.esb</java>
    </module>
 
-   <module>
-	<java>mysql-connector-java-3.1.12-bin.jar</java>
-   </module>
-
 </application>




More information about the jboss-svn-commits mailing list