cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: OJBWithJDO
Date Tue, 07 Sep 2004 14:34:21 GMT
   Date: 2004-09-07T07:34:20
   Editor: PaulJoseph <pjoseph_98@yahoo.com>
   Wiki: Cocoon Wiki
   Page: OJBWithJDO
   URL: http://wiki.apache.org/cocoon/OJBWithJDO

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -35,7 +35,7 @@
 
 === Solution ===
 
-1. Download OJB 1.0rc6 from [http://db.apache.org/builds/ojb/] (approx 8MB)
+1. Download OJB 1.0.0 from [http://db.apache.org/builds/ojb/] (approx 8MB)
  *  Be sure the binaries have JDORI support.
  *  The command to build from sources with JDORI support is: {{{ bin/build.sh with-jdori
jar }}}
 	
@@ -55,6 +55,9 @@
  *  See '''auth_user.java'''.
  *  The classes imported in step 1. and 2. are needed, include it in your classpath.
  *  Put the ONLY the output class into "TOMCAT_HOME/webapps/cocoon/WEB-INF/classes/test"
+ *  to enhance the file, put the auth_user.class and the auth_user.jdo files in a directory
called "test" and from the directory above "test" run the following
+    $ java -cp "./;c:\db-ojb-1.0.0\lib\jdo.jar;c:\db-ojb-1.0.0\lib\jdori.jar;c:\db-ojb-1.0.0\lib\db-ojb-1.0.0.jar"
com.sun.jdori.enhancer.Main -v -f test\auth_user.class test\auth_user.jdo
+Note: in auth_user.jdo, first change the DTD location to: <!DOCTYPE jdo SYSTEM "http://java.sun.com/dtd/jdo_1_0.dtd">
 
 6. Create a file '''repository.xml''' in "TOMCAT_HOME/webapps/cocoon/WEB-INF/classes"
  * This file contains info about your DB and credentials (jdbc driver, username and password).

Mime
View raw message