QueryException[not from this UnitOfWork object space, but the parent]

It seems our system trigger more exceptions QueryException[not from this UnitOfWork object space, but the parent] under memory constraint when we are using weak reference for session cache. Anybody has a clear explanation on how memory and weak reference could have an impact on TopLink validation?
[3/1/07 23:39:00:466 EST] 123653 RegisteredSyn E WTRN0074E: Exception caught from before_completion synchronization operation: Local Exception Stack:
Exception [TOPLINK-6004] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.QueryException
Exception Description: The object [Error Code ID: 946
Error Code: 0223
Severity Level 8
Error MessageFUTURE EFFECTIVE DATE NOT ALLOWED
], of class [class com.saic.ct.sys.domain.pms.error.reference.ECMErrorCode], with identity hashcode (System.identityHashCode()) [27,525,235],
is not from this UnitOfWork object space, but the parent session's. The object was never registered in this UnitOfWork,
but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly
registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to
help debug where the error occurred. For more information, see the manual or FAQ.
     at oracle.toplink.exceptions.QueryException.backupCloneIsOriginalFromParent(QueryException.java:186)
     at oracle.toplink.publicinterface.UnitOfWork.getBackupClone(UnitOfWork.java:1797)
     at oracle.toplink.publicinterface.UnitOfWork.calculateChanges(UnitOfWork.java:486)
     at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1362)
     at oracle.toplink.publicinterface.UnitOfWork.issueSQLbeforeCompletion(UnitOfWork.java:2840)
     at oracle.toplink.publicinterface.UnitOfWork.issueSQLbeforeCompletion(UnitOfWork.java:2820)
     at oracle.toplink.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:96)
     at oracle.toplink.transaction.JTASynchronizationListener.beforeCompletion(JTASynchronizationListener.java:55)
     at com.ibm.ws.Transaction.JTA.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:137)
     at com.ibm.ws.Transaction.JTA.TransactionImpl.internalPrepare(TransactionImpl.java:1254)
     at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:991)
     at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:150)
     at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:177)
     at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:735)
     at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:168)
     at com.ibm.ejs.csi.RequiresNew.postInvoke(RequiresNew.java:88)
     at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:570)
     at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3068)
     at com.saic.ct.sys.svc.job.EJSLocalStatelessJobSvcEJB_c3d9335e.processPLTR(Unknown Source)
     at com.saic.ct.sys.svc.pms.PmsSvcEJB.processPltrEventsUsingJobSvc(PmsSvcEJB.java:6170)
     at com.saic.ct.sys.svc.pms.EJSLocalStatelessPmsSvcEJB_0afdd20f.processPltrEventsUsingJobSvc(Unknown Source)
     at com.saic.ct.sys.svc.agent.pms.PltrAgent.execute(PltrAgent.java:41)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.saic.ct.sys.pms.PmsDataProcessor.invokeServiceAgent(PmsDataProcessor.java:462)
     at com.saic.ct.sys.pms.PmsDataProcessor.processAllMessages(PmsDataProcessor.java:281)
     at com.saic.ct.sys.pms.PmsDataProcessor.processData(PmsDataProcessor.java:183)
     at com.saic.ct.sys.pms.RespondMDB.onMessage(RespondMDB.java:51)
     at com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDBWrapper.java:211)
     at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:56)
     at com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.java:200)
     at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:178)
     at com.ibm.mq.jms.MQSession.run(MQSession.java:1588)
     at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:924)
     at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:752)
     at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:527)
     at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:494)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessionDispatcher.java:37)
     at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:91)
     at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
     at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:375)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:936)

I am not sure that particular error has anything to do with weak references.
That just shows you are not working with clones throughout in your transaction. You are mixing server session objects with clones. Can you post your unit of work code?

Similar Messages

Maybe you are looking for

  • Reset cellular statistics no longer works in 7.1

    Today was the day to reset my counters so I can make sure of my usage. On the Settings -> Cellular Data screen, near the bottom, is a reset statistics button. Clicking that does, well, nothing. I believe it used to reset the boxes that say "Current P

  • Customize "Tab" key for JTextArea to focus next component.

    Hi, I am trying to change the "TAB" key behaviour for JTextArea, by using CustomAction configured via InputMap() and ActionMap(). When the user presses the Tab key, the focus should go the next component instead of tabbing in the same JTextArea compo

  • How do I set Excel as default program to open CSV files?

    I am using a program that creates CSV files which I wish to open with Excel. Currently, the CSV files just open as a raw data sheet on my computer. Support folks said I didn't have Excel as my default program to open CSV files; How do I do this? Than

  • JSP Static Include in JDeveloper

    We've got some older-style code that statically includes a page (<%@ include file="xyz.jsp" %>) that assumes the existence of, and references, a variable (declared via <% %>) in the including page. This runs fine when deployed to an OC4J server, but

  • Why are my NEF's imported to Lightroom 3 a smaller size?

    Why is it that when I import NEF's to Lightroom 3 and then open them in Photoshop CS4 the the image size is 7.954 x 5.28"?  But if I just drag my NEF's to a folder on the computer and open in Photoshop they are 17.067" x 11.33".  I really want to edi