This one time, at band camp, Andrew said:

A>   With open source always be this way(about procedures).
A>But with LockNotGrunted was a long story,in short:
A>Castor(0.9.3.x) is not properly closes connections in hosted
A>environment-that's IMHO is main reason(see previous posts about JBoss
A>problems titled 'For all...').

Andrew, 

I'm currently working to fix the closing of connections. However, I just had a
network card failure in my laptop. I need to fix this before I move on. 

A>----- Original Message -----
A>From: "Werner Guttmann" <[EMAIL PROTECTED]>
A>To: <[EMAIL PROTECTED]>
A>Sent: Tuesday, October 15, 2002 8:15 PM
A>Subject: Re: [castor-dev] LockNotGrantedException
A>
A>
A>> Fine. But still, can you please describe what the problem is could be, in
A>case
A>> switching to 0.9.4 one day after it has been released is not an option due
A>to
A>> standard release management procedures.
A>>
A>> Werner
A>>
A>> Andrew wrote:
A>>
A>> > Try to use 0.9.4 version.
A>> >
A>> > ----- Original Message -----
A>> > From: "Andre Machowiak" <[EMAIL PROTECTED]>
A>> > To: <[EMAIL PROTECTED]>
A>> > Sent: Tuesday, October 15, 2002 6:17 PM
A>> > Subject: [castor-dev] LockNotGrantedException
A>> >
A>> > > Hi!
A>> > >
A>> > > Iam currently using Castor 0.93 JDO with Oracle 8.1.7
A>> > > (oracle.jdbc.pool.OracleConnectionCacheImpl) and
A>> > > occasionally I get an
A>> > > "org.exolab.castor.jdo.LockNotGrantedException:persist.writeTimeout".
A>> > >
A>> > > I read in this list that this problem has happened to others before,
A>but
A>> > > I did not found a solution.
A>> > > The usual steps in my application are:
A>> > > begin()
A>> > > do_something()
A>> > > commit()
A>> > > close()
A>> > >
A>> > > I put some logging-instructions around the begin, commit and close
A>> > > statements and found out that just before this exception occur, a call
A>> > > to commit() does neither return  nor throws an exception. Then the
A>> > > "org.exolab.castor.jdo.LockNotGrantedException" will follow.
A>> > >
A>> > > My logging implementation:
A>> > >
A>> > > log("1")
A>> > > begin()
A>> > > log("2")
A>> > > do_something()
A>> > > log("3")
A>> > > try { commit() } catch( Exception e) { log(e); throw(e)}
A>> > > log("4")
A>> > > close()
A>> > > log("5")
A>> > >
A>> > > Output normal run:
A>> > > 12345
A>> > > Output first errourness run:
A>> > > 123
A>> > > Output next runs:
A>> > > 123e
A>> > >
A>> > >
A>> > > Can anybody help?
A>> > >
A>> > > - Andre -

Bruce
-- 
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

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

Reply via email to