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

Regards.



----- Original Message -----
From: "Werner Guttmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 15, 2002 8:15 PM
Subject: Re: [castor-dev] LockNotGrantedException


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

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

Reply via email to