We had the same problem. 
We found a "solution" by using JDK 1.3.1 in place of JDK 1.2.2.
We don't know if it's a castor problem or Tomcat's one.

Are you using JDK 1.2.2 ?

Florian Ramillien


Artur Matos a �crit :
> 
> Dear all,
> 
> I'm having several problems using Castor integrated with Tomcat.
> 
> I have a servlet that runs a OQL query and shows the results of that
> query. There seems
> to be some problem with Castor because my query always returns
> diferent results: Some times, it returns
> 1 object, all the objects, or, the most frequent, none watsoever. (I
> can see this behavior by reloading the generated page with my browser.
> Each time I reload the page, i get a different result).
> 
> If I run this in a standalone program, i obtain the desired results,
> so I suspect this is some kind of problem with Tomcat. Also,
> because of the unpredectied behavior, i suspect this may also be some
> kind of Thread problem. Can anyone help me?
> 
> PS: I'm using castor 0.93 with a mysql database.
> 
> 
> Thanks,
> 
> Artur Matos ([EMAIL PROTECTED])

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to