On Monday 21 October 2002 14:33, Armin Waibel wrote:
> Hi Mickey,
>
> all tests we made using JBoss 3.0.3 with integrated hsql DB.
> I don't have problems you described.

Lucky you. ;))

>
> Did you follwed the deployment instructions
> described in shipped documentation (Deployment)?
>

Yes and no. I try with your way and try with my way. In both situations I got 
the same behavior. I upgraded JBoss to 3.0.3 but nothing change. I tried to 
use Hsql (like you did) instead MySql and nothing again. Then I got an idea. 
I removed myejb.jar from deploy folder of JBoss. Then with touch command I 
changed timestamp of jakarta-ojb.sar in deploy folder and redeployed ojb in 
Jboss. After that I put myojb.jar in deploy folder and start client app. 
Everything works fine.

Conclusion, when I want to dynamically redeploy ejb which using jakarta-ojb in 
JBoss I must redeploy jakarta-ojb too.

BTW, I want to report easiest way for me to deploy jakarta-ojb into JBoss.
In ~/server/default/deploy folder make jakrata-ojb.sar folder. Make META-INF 
in it and put service.xml there (this file is attached with this message).
In ~/server/default/deploy/jakarta-ojb.sar put jar files nedded by jakarta-ojb 
and also OJB.properties and repository.xml. Start JBoss. 
If you want you can content of this folder put in jakarta-ojb.sar as jar 
archive and deploy just on file in JBoss as service.


> Set the eager eager-release attribute in your
> mysql datasource jdbc-connection-descriptor to true

I already did this.

-- 
Best regards,
Mickey          [EMAIL PROTECTED], [EMAIL PROTECTED]
  <!-- ==================================================================== -->
  <!-- OJB MBean                                                            -->
  <!-- ==================================================================== -->

<server>
  <mbean code="org.jboss.ojb.odmg.ODMGFactory" 
         name="DefaultDomain:service=ODMG,name=ojb/defaultODMG">
    <attribute name="JndiName">ojb/defaultODMG</attribute>
  </mbean>
  <mbean code="org.jboss.ojb.pb.PBFactory" 
         name="DefaultDomain:service=PB,name=ojb/PBAPI">
    <attribute name="JndiName">ojb/PBAPI</attribute>
  </mbean>
</server>
--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to