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

Michael Yuan michael.yuan at jboss.com
Fri Jul 20 14:48:58 EDT 2007


  User: myuan   
  Date: 07/07/20 14:48:58

  Modified:    examples/hibernate2    build-tomcat55.xml build-tomcat6.xml
                        readme.txt
  Log:
  improved tomcat support
  
  Revision  Changes    Path
  1.2       +3 -0      jboss-seam/examples/hibernate2/build-tomcat55.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build-tomcat55.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/build-tomcat55.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- build-tomcat55.xml	16 Jul 2007 18:20:54 -0000	1.1
  +++ build-tomcat55.xml	20 Jul 2007 18:48:58 -0000	1.2
  @@ -29,7 +29,10 @@
           <include name="examples/hibernate2/lib/el-*.jar"/>
           <!-- Addition libs needed for Tomcat -->
           <include name="examples/hibernate2/lib/cglib.jar"/>
  +        <include name="examples/hibernate2/lib/jta.jar"/>
  +        <!--
           <include name="examples/hibernate2/lib/mc/*.jar"/>
  +        -->
       </fileset>
          
   </project>
  
  
  
  1.2       +3 -0      jboss-seam/examples/hibernate2/build-tomcat6.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build-tomcat6.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/build-tomcat6.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- build-tomcat6.xml	16 Jul 2007 18:20:54 -0000	1.1
  +++ build-tomcat6.xml	20 Jul 2007 18:48:58 -0000	1.2
  @@ -27,7 +27,10 @@
           <include name="lib/thirdparty-all.jar"/>
           <!-- Addition libs needed for Tomcat -->
           <include name="examples/hibernate2/lib/cglib.jar"/>
  +        <include name="examples/hibernate2/lib/jta.jar"/>
  +        <!--
           <include name="examples/hibernate2/lib/mc/*.jar"/>
  +        -->
       </fileset>
          
   </project>
  
  
  
  1.7       +4 -20     jboss-seam/examples/hibernate2/readme.txt
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: readme.txt
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/readme.txt,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- readme.txt	9 Jul 2007 04:32:42 -0000	1.6
  +++ readme.txt	20 Jul 2007 18:48:58 -0000	1.7
  @@ -26,29 +26,13 @@
     * Start the application
     * Access it at http://localhost:9080/context_root/index.html
   
  -Plain Tomcat
  -  * Install Tomcat 5.5
  -  * Copy the JARs in lib/tomcat into $TOMCAT_HOME/common/lib
  -  * Copy the following Context element into $TOMCAT_HOME/conf/server.xml
  +Plain Tomcat (special thanks to Ralph Schaer)
  +  * Install Tomcat 5.5 or Tomcat 6
  +  * Copy the lib/hsqldb.jar into $TOMCAT_HOME/common/lib (Tomcat 5.5) or $TOMCAT_HOME/lib (Tomcat 6)
     * ant tomcat
  -  * Deploy dist-tomcat/jboss-seam-hibernate.war to $TOMCAT_HOME/webapps/jboss-seam-hibernate.war
  +  * Deploy dist-tomcat55/jboss-seam-hibernate.war or dist-tomcat6/jboss-seam-hibernate.war to $TOMCAT_HOME/webapps/jboss-seam-hibernate.war
     * Start Tomcat
     * Access the app at http://localhost:8080/jboss-seam-hibernate/
  -Example of the Context element in server.xml:
  -<Server ...>
  -  <Service ...>
  -    <Engine ...>
  -      <Host ...>
  -        <Context path="/jboss-seam-hibernate" docBase="jboss-seam-hibernate"
  -                 debug="5" reloadable="true" crossContext="true">
  -
  -          <Resource name="jdbc/TestDB" auth="Container" 
  -               type="javax.sql.DataSource"
  -               maxActive="100" maxIdle="30" maxWait="10000"
  -               username="sa" driverClassName="org.hsqldb.jdbcDriver"
  -               url="jdbc:hsqldb:."/>
  -
  -        </Context>
   
   Tomcat with embeddable JBoss (the build is the same as JBoss 4.2.0 GA WAR):
     * Install Tomcat
  
  
  



More information about the jboss-cvs-commits mailing list