User: oleg
Date: 00/10/11 10:23:25
Modified: castorjdo castorjdo.html jboss-castorjdo.jar
Log:
Added the possibility to place JDO classes to the common classpath via
ClassPathExtension MLET in jboss.conf
To switch on this mode add the fifth Boolean argument for CastorJDOImpl MLET in
jboss.conf and set it to true.
Revision Changes Path
1.3 +10 -3 jbossweb/castorjdo/castorjdo.html
Index: castorjdo.html
===================================================================
RCS file: /products/cvs/ejboss/jbossweb/castorjdo/castorjdo.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- castorjdo.html 2000/10/02 14:04:27 1.2
+++ castorjdo.html 2000/10/11 17:23:24 1.3
@@ -200,9 +200,10 @@
<ARG TYPE="java.lang.String" VALUE="dataObjectsJndiName">
<ARG TYPE="java.lang.Integer" VALUE="0">
<ARG TYPE="java.lang.Boolean" VALUE="false">
+ <ARG TYPE="java.lang.Boolean" VALUE="false">
</MLET>
</pre>
-where the parameters are:
+where the arguments are:
<ol>
<li>the database configuration file needed by
the Castor JDO, it contains JNDI name of JDBC DataSource and
@@ -221,11 +222,17 @@
Castor configuration files.</li>
<li>the JNDI name that is used for binding bean
resource references. See below.</li>
-<li>the lock timeout in seconds, value "0" means
+<li>the lock timeout in seconds, value <b>0</b> means
"use the Castor default value" (which now equals 10 seconds).</li>
-<li>the flag of logging. When you set it to true,
+<li>the flag of logging. When you set it to <b>true</b>,
the CastorJDO MBean sends information messages and warnings to
jBoss loggers.</li>
+<li>tells if your JDO classes are loaded via ClassPathExtension MLET in
+ jboss.conf - in this case set the argument to <b>true</b>,
+ or via EJB jar classpath (i.e. either they are in the same jar or
+ they are accessible via Class-Path: attribute of META-INF/MANIFEST.MF) -
+ in this case set the argument to <b>false</b>.
+
</ol>
<li>Declare the resource managers in your jboss.xml besides your
ejb-jar.xml, e.g.:<br>
1.4 +14 -22 jbossweb/castorjdo/jboss-castorjdo.jar
<<Binary file>>