Re: [castor-dev] Castor and DBCP question ...

2004-01-23 Thread Michel Bertrand
exta-feira, 23 de janeiro de 2004 16:06 Para: [EMAIL PROTECTED] Assunto: Re: [castor-dev] Castor and DBCP question ... Michel Bertrand wrote: > Hi ! > > I'm using Castor and DBCP in my app and I'm having lots of pool exhausted > exceptions. I believe that it happens because

Re: [castor-dev] Castor and DBCP question ...

2004-01-23 Thread Michel Bertrand
a bit more information about how you are using Castor and DBCP together? I successfully use Tyrex and Castor together in Tomcat 4.1 so DBCP should be even easier. Patrick Michel Bertrand wrote: >Hi ! > >I'm using Castor and DBCP in my app and I'm having lots of pool exha

[castor-dev] Castor and DBCP question ...

2004-01-23 Thread Michel Bertrand
Hi ! I'm using Castor and DBCP in my app and I'm having lots of pool exhausted exceptions. I believe that it happens because I have a lot of processing when showing my app pages. But I'm sure of closing each Castor DB connection after its use. So, I don't see any reason to the exceptions and ano

Re: [castor-dev] Castor and StackOverflowError

2003-11-23 Thread Michel Bertrand
ro de 2003 16:26 Para: [EMAIL PROTECTED] Assunto: Re: [castor-dev] Castor and StackOverflowError This one time, at band camp, Michel Bertrand said: MB>I'm having a java.lang.StackOverflowError trying to persist MB>one of my objects in the database. I have an ecommerce app and MB>I m

[castor-dev] Help on Castor Mapping ...

2003-11-12 Thread Michel Bertrand
Hi ! I'm having some difficulties to implement the following mapping: SalesOrder OrderItem PhotoOrder

[castor-dev] Castor and StackOverflowError

2003-11-11 Thread Michel Bertrand
Hi ! I'm having a java.lang.StackOverflowError trying to persist one of my objects in the database. I have an ecommerce app and I map the following to process my orders: SalesOrder ...

Re: [castor-dev] Castor Mapping ...

2003-11-03 Thread Michel Bertrand
w can I map this using Castor ? Could you help me ? > > > >I have already read the documentation but I did not find any example or > >something to help me ( maybe it was not so clear to my eyes ). > > > >Any help would be very appreciated. > > > >Tks, >

Re: [castor-dev] Castor Mapping ...

2003-11-03 Thread Michel Bertrand
ut I did not find any example or >something to help me ( maybe it was not so clear to my eyes ). > >Any help would be very appreciated. > >Tks, >Michel Bertrand. Hi Michel, I assume your model's somehow like this class Order { private java.util.Collection orderIt

Re: [castor-dev] Problems with Castor 0.9.5 and Tomcat in SecurityMode.

2003-10-03 Thread Michel Bertrand
Hi again ! Does anyboy knows how could I workaround this situation enhancing Castor to check whether it can search "castor.properties" or not ? I mean, which source files should I study to change ? -Mensagem original- De: Michel Bertrand Enviada em: sexta-feira, 3 de outubro

Re: [castor-dev] Problems with Castor 0.9.5 and Tomcat in SecurityMode.

2003-10-03 Thread Michel Bertrand
[mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 2 de outubro de 2003 17:37 Para: [EMAIL PROTECTED] Assunto: Re: [castor-dev] Problems with Castor 0.9.5 and Tomcat in SecurityMode. Bruce Snyder wrote: > > This one time, at band camp, Michel Bertrand said: > > MB>I&#

[castor-dev] Problems with Castor 0.9.5 and Tomcat in Security Mode.

2003-10-02 Thread Michel Bertrand
Hi ! I'm having problems to startup my application using Tomcat in Security Mode. When I try to query database using my persistent classes I have the following error: java.security.AccessControlException: access denied (java.io.FilePermission C:\j2sdk1.4.1_01\jre\lib\castor.properties read) Di

Re: [castor-dev] Problems to delete an object.

2003-09-26 Thread Michel Bertrand
Thanks !!! -Mensagem original- De: Stein M. Eliassen [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 26 de setembro de 2003 16:10 Para: [EMAIL PROTECTED] Assunto: Re: [castor-dev] Problems to delete an object. Michel Bertrand wrote: > > Photo photo = photo = Photo.fi

[castor-dev] Problems to delete an object.

2003-09-26 Thread Michel Bertrand
Hi ! I'm having the following error when I try to delete an object: org.exolab.castor.jdo.ObjectNotPersistentException: The object of type com.ecomm erce.jdo.Photo is not persistent -- it was not queried or created within this transaction The code is : session.getDatabase().begin();

Re: [castor-dev] Is it strange or not ?

2003-09-24 Thread Michel Bertrand
EMAIL PROTECTED] Assunto: Re: [castor-dev] Is it strange or not ? Michel Bertrand wrote: > Hi ! > > I'm having the famous org.exolab.castor.jdo.DuplicateIdentityException problem > when trying to store an object. The code fragment which causes this error is: > > The excep

Re: [castor-dev] Is it strange or not ?

2003-09-24 Thread Michel Bertrand
astor-dev] Is it strange or not ? Did you have key generators for your objects? If not, then you must manualy set ID field. -Original Message- From: Michel Bertrand [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 8:41 PM To: [EMAIL PROTECTED] Subject: [castor-dev] Is it st

[castor-dev] Is it strange or not ?

2003-09-24 Thread Michel Bertrand
Hi ! I'm having the famous org.exolab.castor.jdo.DuplicateIdentityException problem when trying to store an object. The code fragment which causes this error is: if ( (frm.getDescription1() != null && frm.getDescription1().trim().length() > 1 ) || (frm.getTitle1() != null && frm.getTitle1().