Skip to Content
avatar image
Former Member

lockexception

#1.5#00188B352BFC0057000002F6000013C800043E6672A05BE4#1194509637694#com.sap.engine.services.ejb.entity.Container#yt.com/CrmServiceEjbEAR#com.sap.engine.services.ejb.entity.Container#Guest#2#SAP J2EE Engine JTA Transaction : [0ffffffabffffffe2ffffff8a01effffffa85e]###8ddc35e08dd211dca65c00188b352bfc#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Java###null

[EXCEPTION]

#1#com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method com.pcm.sfm.entity.Fix_auto_documentLocalLocalObjectImpl40.setAuto_sn(java.lang.String).

at com.pcm.sfm.entity.Fix_auto_documentLocalLocalObjectImpl40.setAuto_sn(Fix_auto_documentLocalLocalObjectImpl40.java:7944)

at com.pcm.sfm.model.FixAutoDocumentModel2Data.getEjbLocalByModel(FixAutoDocumentModel2Data.java:47)

at com.pcm.sfm.session.FixAutoDocumentBean.update(FixAutoDocumentBean.java:156)

at com.pcm.sfm.session.FixAutoDocumentObjectImpl40.update(FixAutoDocumentObjectImpl40.java:320)

at com.pcm.sfm.session.FixAutoDocument_Stub.update(FixAutoDocument_Stub.java:328)

at sun.reflect.GeneratedMethodAccessor764.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)

at $Proxy446.update(Unknown Source)

at com.pcm.sfm.oper.FixAutoDocumentOper.update(FixAutoDocumentOper.java:136)

at com.pcm.web.sfm.auto.action.FixAutoDocumentHelp.updateFadModel(FixAutoDocumentHelp.java:174)

at com.pcm.web.sfm.auto.action.FixAutoDocumentAction.saveFoo(FixAutoDocumentAction.java:1346)

at sun.reflect.GeneratedMethodAccessor1269.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)

at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)

at com.pcm.web.pubs.action.AppDispatchAction.execute(AppDispatchAction.java:110)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)

at com.pcm.web.pubs.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:128)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.sap.engine.services.ejb.entity.pm.lock.LockException: LockException when trying to lock the instance before writing.

at com.sap.engine.services.ejb.entity.pm.lock.LockSystemImpl.write(LockSystemImpl.java:69)

at com.sap.engine.services.ejb.entity.pm.UpdatablePersistent.writeLock(UpdatablePersistent.java:186)

at com.sap.engine.services.ejb.entity.pm.UpdatablePersistent.writeOperation(UpdatablePersistent.java:209)

at com.pcm.sfm.entity.Fix_auto_documentBean40PM.setAuto_sn(Fix_auto_documentBean40PM.java:75)

at com.pcm.sfm.entity.Fix_auto_documentLocalLocalObjectImpl40.setAuto_sn(Fix_auto_documentLocalLocalObjectImpl40.java:7925)

... 42 more

Caused by: com.sap.engine.frame.core.locking.LockException: Cannot lock [2007110816135769400000ytbwep1.....................11264650, FIX_AUTO_DOCUMENT, hNA, E]; it is in use by another owner. The lock collision occurred with user <unknown>.

at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:257)

at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:421)

at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:441)

at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:1098)

at com.sap.engine.services.ejb.entity.pm.lock.LockSystemImpl.write(LockSystemImpl.java:67)

... 46 more

com.sap.engine.services.ejb.entity.pm.lock.LockException: LockException when trying to lock the instance before writing.

at com.sap.engine.services.ejb.entity.pm.lock.LockSystemImpl.write(LockSystemImpl.java:69)

at com.sap.engine.services.ejb.entity.pm.UpdatablePersistent.writeLock(UpdatablePersistent.java:186)

at com.sap.engine.services.ejb.entity.pm.UpdatablePersistent.writeOperation(UpdatablePersistent.java:209)

at com.pcm.sfm.entity.Fix_auto_documentBean40PM.setAuto_sn(Fix_auto_documentBean40PM.java:75)

at com.pcm.sfm.entity.Fix_auto_documentLocalLocalObjectImpl40.setAuto_sn(Fix_auto_documentLocalLocalObjectImpl40.java:7925)

at com.pcm.sfm.model.FixAutoDocumentModel2Data.getEjbLocalByModel(FixAutoDocumentModel2Data.java:47)

at com.pcm.sfm.session.FixAutoDocumentBean.update(FixAutoDocumentBean.java:156)

at com.pcm.sfm.session.FixAutoDocumentObjectImpl40.update(FixAutoDocumentObjectImpl40.java:320)

at com.pcm.sfm.session.FixAutoDocument_Stub.update(FixAutoDocument_Stub.java:328)

at sun.reflect.GeneratedMethodAccessor764.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)

at $Proxy446.update(Unknown Source)

at com.pcm.sfm.oper.FixAutoDocumentOper.update(FixAutoDocumentOper.java:136)

at com.pcm.web.sfm.auto.action.FixAutoDocumentHelp.updateFadModel(FixAutoDocumentHelp.java:174)

at com.pcm.web.sfm.auto.action.FixAutoDocumentAction.saveFoo(FixAutoDocumentAction.java:1346)

at sun.reflect.GeneratedMethodAccessor1269.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)

at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)

at com.pcm.web.pubs.action.AppDispatchAction.execute(AppDispatchAction.java:110)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)

at com.pcm.web.pubs.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:128)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.sap.engine.frame.core.locking.LockException: Cannot lock [2007110816135769400000ytbwep1.....................11264650, FIX_AUTO_DOCUMENT, hNA, E]; it is in use by another owner. The lock collision occurred with user <unknown>.

at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:257)

at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:421)

at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:441)

at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:1098)

at com.sap.engine.services.ejb.entity.pm.lock.LockSystemImpl.write(LockSystemImpl.java:67)

... 46 more

help

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 08, 2007 at 04:57 PM

    hi

    good

    go through this link hope this would help you to give some idea to solve your problem

    javanetsockettimeoutexcepton-read-timed-out-failed

    reward point if helpful.

    thanks

    mrutyun^

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 23, 2007 at 06:19 AM

    lock type error

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I am sorry to tell .. but I can't help you, if you are not describing your problem in a bit more detail.

      What is your setting. When does the exception occur?

      Rgds

      Markus