Hi,

 I am getting the following exception. Is the problem due to some bug in
castor-jdo-plugin ??
My mapping file has cache-type set to UNLIMITED.

When I set the cache-type to NONE, it works perfectly as the objects are
loaded everytime from the databsae and not from the cache. However, it
is very expensive and slow.

Can anyone suggest something ??


10:33:31,790 ERROR [CastorJDOImpl] Exception
org.exolab.castor.jdo.PersistenceException: Object,
com.softex.mobilequiz.server
.ejb.jdo.Address@44a2d3, links to another object,
com.softex.mobilequiz.server.ejb.jdo.MobileClient@1e0c2d that is not
loaded/updated/created in this transaction
        at org.exolab.castor.persist.ClassMolder.preStore(Unknown
Source)
        at org.exolab.castor.persist.LockEngine.preStore(Unknown Source)

        at org.exolab.castor.persist.TransactionContext.prepare(Unknown
Source)
        at
org.exolab.castor.jdo.engine.DatabaseImpl.beforeCompletion(DatabaseImpl.java:557)

        at
org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1331)
        at org.jboss.tm.TxCapsule.commit(TxCapsule.java:328)
        at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:74)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:190)

        at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
        at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)

        at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
        at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)

        at org.jboss.ejb.Container.invoke(Container.java:705)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
        at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
        at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)

        at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)

        at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
        at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)

        at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
        at $Proxy40.checkUserExistence(Unknown Source)
.
.
.
.
.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to