RE: Trying to return an unknown connection2!

2004-05-12 Thread Clute, Andrew
Wondering if any work has been done on this. I am now getting the same error, and wondering if I could test the changes. -Andrew -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 12:09 PM To: OJB Users List Subject: Re: Trying to return

Re: Trying to return an unknown connection2!

2004-05-12 Thread Armin Waibel
-api or ODMG-api? regards, Armin -Andrew -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 12:09 PM To: OJB Users List Subject: Re: Trying to return an unknown connection2! For managed enviroment this seems to be better

RE: Trying to return an unknown connection2!

2004-05-12 Thread Clute, Andrew
Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 10:42 AM To: OJB Users List Subject: Re: Trying to return an unknown connection2! Hi Andrew, Clute, Andrew wrote: Wondering if any work has been done on this. I am now getting the same error, and wondering

Re: Trying to return an unknown connection2!

2004-05-12 Thread Armin Waibel
. Do you have problems with PB-api or ODMG-api? regards, Armin -Andrew -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 12:09 PM To: OJB Users List Subject: Re: Trying to return an unknown connection2! For managed enviroment this seems

Re: Trying to return an unknown connection2!

2004-04-27 Thread Guido Beutler
Hi Armin, sorry for the delay! Because nobody else had an answer I spent some time to get closer to the problem. After that I posted my question at jboss. Here's the thread: http://www.jboss.org/index.html?module=bbop=viewtopict=49041 I don't know if I am allowed to repost the answer here

Re: Trying to return an unknown connection2!

2004-04-27 Thread Armin Waibel
Hi Guido, we can try to release the used connection on PB.close() call instead of Synchronization#beforeCompleation. In PBFSyncImpl line 227 the close() method of PBImpl is overridden. If we are in local-tx we don't really close the used PB handle and thus do not release the used connection

Re: Trying to return an unknown connection2!

2004-04-27 Thread Guido Beutler
Hi Armin, Armin Waibel wrote: Hi Guido, we can try to release the used connection on PB.close() call instead of Synchronization#beforeCompleation. For managed enviroment this seems to be better. ;-) Is it a difference or disadvantage for unmanaged enviroments? In PBFSyncImpl line 227 the

Re: Trying to return an unknown connection2!

2004-04-27 Thread Armin Waibel
For managed enviroment this seems to be better. ;-) Is it a difference or disadvantage for unmanaged enviroments? of course it's different in non managed environments, because we only can close a connection after PB.commit/abortTx when using PB-tx. We have to take of side-effects in