db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb repository.dtd
Date Mon, 15 Dec 2003 10:19:32 GMT
arminw      2003/12/15 02:19:32

  Modified:    xdocs    repository.xml deployment.xml
               src/test/org/apache/ojb repository.dtd
  Log:
  update documentation with regard to jboss specific
  'eager-release' attribute.
  Seems with 3.2.2 the jboss resource problem no longer exist.
  
  Revision  Changes    Path
  1.22      +3 -2      db-ojb/xdocs/repository.xml
  
  Index: repository.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/xdocs/repository.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- repository.xml	31 Oct 2003 11:08:27 -0000	1.21
  +++ repository.xml	15 Dec 2003 10:19:32 -0000	1.22
  @@ -169,8 +169,9 @@
   	The <code>jdbc-level</code> attribute is used to specify the Jdbc compliance
   	level of the used Jdbc driver.
   <br/><br/>
  -    The <code>eager-release</code> attribute was adopt to solve a problem occured
when
  -    using OJB within JBoss (>=3.0). Only use within JBoss.
  +    The eager-release attribute was adopt to solve a problem occured when
  +    using OJB within JBoss (3.0 &lt;= version &lt; 3.2.2, seems to be fixed in
jboss 3.2.2).
  +    Only use within JBoss.
   <br/><br/>
       The <code>batch-mode</code> attribute allow to set batch mode modus global
       from the used connection. It is also possible to change
  
  
  
  1.28      +10 -7     db-ojb/xdocs/deployment.xml
  
  Index: deployment.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/xdocs/deployment.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- deployment.xml	3 Sep 2003 18:51:35 -0000	1.27
  +++ deployment.xml	15 Dec 2003 10:19:32 -0000	1.28
  @@ -257,7 +257,7 @@
       <li>jboss-j2ee.jar (or use j2ee jars fron SUN)</li>
       <li>jboss-jmx.jar</li>
       <li>jboss-system.jar</li>
  -    <li>xdoclet.jar</li>
  +    <li>xdoclet.jar and modules for generating ejb's</li>
   </ul>
   Put these jar files in the <code>lib</code> directory of OJB.
   </p>
  @@ -407,6 +407,13 @@
   <b>7. Declare datasources in the repository (repository_database) file</b>
   <br/>
   Do only use <code>DataSource</code> from the application server to connect
your databases.
  +<br/>
  +<font color="#0000FF">
  +NOTE: We strongly recommend to use JBoss 3.2.2 or higher of the 3.x series of JBoss. With
earlier versions of
  +    3.x we got Statement/Connection resource problems when running some ejb stress tests.
As workaround we
  +    introduce a jboss specific attribute <i>eager-release</i> for version before
3.2.2, but it seems that this
  +    attribute can cause side-effects. Again, this problem seems to be fixed in 3.2.2.
  +</font>
   <source><![CDATA[
   <!-- Datasource example -->
   <jdbc-connection-descriptor
  @@ -417,7 +424,7 @@
       jndi-datasource-name="java:DefaultDS"
       username="sa"
       password=""
  -    eager-release="true"
  +    eager-release="false"
       batch-mode="false"
       useAutoCommit="0"
       ignoreAutoCommitExceptions="false"
  @@ -431,10 +438,6 @@
   The attribute <code>useAutoCommit="0"</code> is mandatory
   in managed environments, because it's in most cases not
   allowed to change autoCommit state.
  -<br/>
  -When using jboss >3.0 you have to set
  -<code>eager-release="true"</code> (only when using OJB within EJB's) - when
using other application server
  -<code>false</code> should be ok.
   </p>
   
   
  
  
  
  1.51      +2 -1      db-ojb/src/test/org/apache/ojb/repository.dtd
  
  Index: repository.dtd
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository.dtd,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- repository.dtd	9 Dec 2003 13:55:35 -0000	1.50
  +++ repository.dtd	15 Dec 2003 10:19:32 -0000	1.51
  @@ -79,7 +79,8 @@
   	level of the used Jdbc driver.
   
       The eager-release attribute was adopt to solve a problem occured when
  -    using OJB within JBoss (>=3.0). Only use within JBoss.
  +    using OJB within JBoss (3.0 <= version < 3.2.2, seems to be fixed in jboss 3.2.2).
  +    Only use within JBoss.
   
       The batch-mode attribute allow to set batch mode modus global
       from the used connection. It is also possible to change
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message