Thanks Oleg. I've been working on so many different things, I forgot about 
that part of the configuration.  My problem happened to have been 
elsewhere, but I appreciate the advice.

Best Regards,

Rick

At 07:51 PM 8/12/01 +0300, you wrote:
>Hi Rick,
>
>You may try to increase the CastorJDO parameter LockTimeout in jboss.jcml.
>
>Oleg
>
>
>On Sunday 12 August 2001 18:13, Rick Horowitz wrote:
> > Hi,
> >
> > I'm using Castor 0.93 with a recent CVS version of JBoss, and SAPDB. Most
> > stuff I'm trying is working very well!  However, I just ran into the
> > following exception trace -- below. This transaction takes some time to
> > run, probably 10 seconds or so, and in this case, creates a 100 or so
> > objects. The objects seem to get created by my calls to Castor's
> > Database.create(). The exception happens at transaction commit time. Given
> > the error message, it appears that the transaction has exceeded some
> > timeout, but I haven't been able to locate the timer setting.  Is this a
> > Castor timeout?
> >
> > [Default]
> > persist.readLockTimeoutcom.backuppartner.share.bean.PartnerMapper/848080808
> >08080808080808080802680ejb/616 by
> > org.exolab.castor.jdo.engine.TransactionContextImpl@972e74
> > [Default] org.exolab.castor.jdo.LockNotGrantedException:
> > persist.readLockTimeoutcom.backuppartner.share.bean.PartnerMapper/848080808
> >08080808080808080802680ejb/616 by
> > org.exolab.castor.jdo.engine.TransactionContextImpl@972e74
> > [Default]       at
> > org.exolab.castor.jdo.engine.OQLQueryImpl$OQLEnumeration.hasMore(OQLQueryIm
> >pl.java:595) [Default]       at
> > org.exolab.castor.jdo.engine.OQLQueryImpl$OQLEnumeration.hasMore(OQLQueryIm
> >pl.java:556) [Default]       at
> > com.backuppartner.ejb.util.CastorHelper.findCollection(CastorHelper.java:18
> >6) [Default]       at
> > com.backuppartner.ejb.bpclientmgr.PartnerDatabase.getPartnerMappers(Partner
> >Database.java:127) [Default]       at
> > com.backuppartner.ejb.bpclientmgr.BPClientMgrBean.getPartners(BPClientMgrBe
> >an.java:107) [Default]       at java.lang.reflect.Method.invoke(Native
> > Method)
> > [Default]       at
> > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Statele
> >ssSessionContainer.java:543) [Default]       at
> > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessS
> >essionInstanceInterceptor.java:87) [Default]       at
> > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxIntercepto
> >r.java:97) [Default]       at
> > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT
> >.java:153) [Default]       at
> > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:62)
> > [Default]       at
> > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:1
> >27) [Default]       at
> > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> > [Default]       at
> > org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.ja
> >va:286) [Default]       at
> > org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainer
> >Invoker.java:390) [Default]       at java.lang.reflect.Method.invoke(Native
> > Method)
> > [Default]       at
> > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
> > [Default]       at sun.rmi.transport.Transport$1.run(Transport.java:142)
> > [Default]       at java.security.AccessController.doPrivileged(Native
> > Method) [Default]       at
> > sun.rmi.transport.Transport.serviceCall(Transport.java:139)
> >
> > [Default]       at
> > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
> >
> > [Default]       at
> > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:
> >643)
> >
> > [Default]       at java.lang.Thread.run(Thread.java:484)
> >
> >
> > Thanks very much,
> >
> >
> > --------------------
> > Rick Horowitz
> >
> > -----------------------------------------------------------
> > 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

--------------------
Rick Horowitz

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

Reply via email to