thanks for you reply... I will download latest from CVS... meanwhile, I decided to put 
OJB, jars and xmls in to an EAR file.
This way the EAR is self contained and other applications can use the same approach if 
they use different databases.
And its more cross-platform, i think..

Axel

-----Original Message-----
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 7:32 AM
To: OJB Users List
Subject: [FILTERED] - Re: ejb hot deploy - Email has different SMTP TO:
and MIME TO: fields in the email addresses


Hi Axel,

 > my problem is whenever i hot deploy a new version of my application
 > ejb jar.

I don't have these problems with JBoss. Did you include all jars OJB 
depends on in your ejb jar file?
I completely rewrite the JBoss deployment section in deployment doc (get 
latest from CVS). Now the examples direct use OJB classes (no JNDI 
lookup) and we bundled in a simple ejb-jar file. When I include all OJB 
lib jars all works fine:

- The jakarta commons libraries files (all commons-xxx.jar) from OJB 
/lib directory
- The antlr jar file (antlr-xxx.jar) from OJB /lib directory
- jakarta-regexp-xxx.jar from OJB /lib directory
- [jakarta turbine jcs.jar from OJB /lib directory, only if 
ObjectCacheJCSImpl was used



regards,
Armin

Guerrero, Axel wrote:

> I'm using JBoss 3.2.2 and OJB rc4 deployed as as sar (everything deploys ok).
> 
> I also have an application ejb jar with session beans that use OJB.. (note: this is 
> a jar not an ear)..
> everything deploys fine when JBoss is started. queries ok, resultsets ok..
> 
> my problem is whenever i hot deploy a new version of my application ejb jar.
> JBoss recognizes the new jar and deploys it without a problem...
> However, any query against OJB returns nothing... no results or Exceptions even 
> though OJB does generate queries.
> 
> This problem has been reported as well by people using weblogic but i did not find a 
> solution to it..
> Is there a solution or something that I am missing?
> 
> 
> Axel Guerrero
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to