[jboss-cvs] jboss-seam/examples/jpa ...
Michael Yuan
michael.yuan at jboss.com
Fri Dec 1 18:56:16 EST 2006
User: myuan
Date: 06/12/01 18:56:16
Modified: examples/jpa build.xml readme.txt
Log:
Make both WL and GF work ...
Revision Changes Path
1.7 +5 -5 jboss-seam/examples/jpa/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/build.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- build.xml 30 Nov 2006 06:39:35 -0000 1.6
+++ build.xml 1 Dec 2006 23:56:16 -0000 1.7
@@ -209,9 +209,11 @@
<include name="ajax4jsf.jar" />
<include name="oscache-2.3.2.jar" />
</lib>
+ <!--
<lib dir="${applib}/mc">
<include name="*.jar" />
</lib>
+ -->
<lib dir="${lib}">
<include name="myfaces-api-1.1.4.jar" />
<include name="myfaces-impl-1.1.4.jar" />
@@ -241,6 +243,8 @@
</fileset>
<fileset dir="${resources}">
<include name="seam.properties" />
+ </fileset>
+ <fileset dir="${resources}/glassfish">
<include name="import.sql" />
</fileset>
<metainf dir="${resources}/glassfish">
@@ -268,12 +272,7 @@
<include name="ajax4jsf.jar" />
<include name="oscache-2.3.2.jar" />
</lib>
- <lib dir="${applib}/mc">
- <include name="*.jar" />
- </lib>
<lib dir="${lib}">
- <include name="myfaces-api-1.1.4.jar" />
- <include name="myfaces-impl-1.1.4.jar" />
<include name="thirdparty-all.jar" />
<include name="commons*.jar" />
</lib>
@@ -285,6 +284,7 @@
</lib>
<classes dir="${resources}/glassfish">
<include name="log4j.xml" />
+ <include name="GlassfishDerbyDialect.class" />
</classes>
<fileset dir="${view}"/>
</war>
1.2 +12 -3 jboss-seam/examples/jpa/readme.txt
(In the diff below, changes in quantity of whitespace are not shown.)
Index: readme.txt
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/readme.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- readme.txt 30 Nov 2006 06:39:35 -0000 1.1
+++ readme.txt 1 Dec 2006 23:56:16 -0000 1.2
@@ -2,17 +2,17 @@
It can be deployed in JBoss AS 4.x, WebLogic, Glassfish, Tomcat without
the EJB3 container.
-JBoss AS 4.0.5 (no EJB3):
+JBoss AS 4.0.5 (with or without EJB3):
* Install JBoss AS 4.0.5 with the default J2EE profile
* ant jboss
* Deploy build/jboss-seam-jpa.war
* Start JBoss AS
* Access the app at http://localhost:8080/jboss-seam-jpa/
-WebLogic 9.2 (NOT working yet):
+WebLogic 9.2:
* Install WebLogic 9.2
* ant weblogic
- * Start WebLogic
+ * Start the WebLogic "examples" server
* Load the admin console http://localhost:7001/console/
* Deploy build/jboss-seam-jpa.war
* Access the app at http://localhost:7001/jboss-seam-jpa/
@@ -32,3 +32,12 @@
* Deploy build/jboss-seam-jpa.war as Web App
* Access the app at http://localhost:8080/jboss-seam-jpa/
+NOTES TO GLASSFISH:
+ In order for the app to work out of the box with Glassfish, we have
+ used the Derby (i.e., Java DB) database in Glassfish. However,
+ we strongly recommend you to use a non-Derby data source (e.g., HSQL
+ is a much better embeded DB) if possible. The
+ WEB/classes/GlassfishDerbyDialect.class is a special hack to get around
+ a Derby bug in Glassfish TM. You must use it as your Hibernate dialect
+ if you were to use Derby with Glassfish.
+
More information about the jboss-cvs-commits
mailing list