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/xdocs deployment.xml
Date Fri, 20 Jun 2003 10:42:33 GMT
arminw      2003/06/20 03:42:33

  Modified:    xdocs    deployment.xml
  Log:
  add description to avoid
  start up problems when using
  jboss 3.2.x
  
  Revision  Changes    Path
  1.22      +27 -0     db-ojb/xdocs/deployment.xml
  
  Index: deployment.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/xdocs/deployment.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- deployment.xml	28 May 2003 08:59:59 -0000	1.21
  +++ deployment.xml	20 Jun 2003 10:42:33 -0000	1.22
  @@ -534,6 +534,33 @@
   </p>
   
   <p>
  +<font color="#0000FF">
  +NOTE:
  +<br/>
  +When using JBoss 3.2.x the generated beans cause
  +start up problems (re-deployment works fine). The problem
  +is that in JBoss 3.2.x an ejb shouldn't be deployed until its
  +declared invokers have started. Thus the jboss.xml
  +file in the generated <code>db-ojb-XXX-beans.jar</code> needs
  +a new element called 'depends' in each session bean declaration:
  +<source><![CDATA[
  +...
  +<session>
  +    <ejb-name>ODMGSessionBean</ejb-name>
  +    <jndi-name>org.apache.ojb.ejb.ODMGSessionBean</jndi-name>
  +    <local-jndi-name>org.apache.ojb.ejb.ODMGSessionBeanLocal</local-jndi-name>
  +    <depends ptional-attribute-name="Invoker">jboss:service=invoker,type=jrmp</depends>
  +</session>
  +...
  +]]></source>
  +We hope with the next version of xdoclet this can be done
  +automatic.
  +<br/>
  +(Many thanks to Alex Bates)
  +</font>
  +</p>
  +
  +<p>
   <b>How to run client org.apache.ojb.ejb.AllTests</b>
   <br/>
   Numerous jars are required for the client. One possibility is to
  
  
  

Mime
View raw message