cancel
Showing results for 
Search instead for 
Did you mean: 

session.lock exception

Former Member
0 Kudos

Hi,,

when i deploy a wd java application its taking time and then throwing an error as mentioned below

com.sap.tc.webdynpro.services.session.LockException: Thread SAPEngine_Application_Thread[impl:3]_4 failed to acquire exclusive lock on client session ClientSession(id=(ldssap_EC6_02)ID0414694950DB00660250376431597616End_1330544185). Existing locks: LockingManager(ThreadName:SAPEngine_Application_Thread[impl:3]_4, exclusive client session lock: ClientSessionLock(SAPEngine_Application_Thread[impl:3]_26), shared client session locks: ClientSessionSharedLockManager([]), app session locks: ApplicationSessionLockManager([]), current request: local/dsfdfds/Sfgfs).Hint: Take a thread dump of the server node to find the blocking thread that causes the problem.

at com.sap.tc.webdynpro.clientserver.session.ClientSession$LockingManager.lock(ClientSession.java:1511)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:233)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)

... 16 more

can anyone please help me out in fixing this issue

Regards

satish

Accepted Solutions (1)

Accepted Solutions (1)

former_member192434
Active Contributor
0 Kudos

Hi Satish,

Check out this forum link

Thanks

Anup

Answers (4)

Answers (4)

Former Member
0 Kudos

hiii

yes restart of the server has solved the problem

Thanks everyone,, who has replied,

Regards

satish

Former Member
0 Kudos

Hi,

Ask your system administrator to have a look at the hanging threads and deploy locks and remove them.

A restart will resolve this...

Regards

Ayyapparaj

Former Member
0 Kudos

hi!

Check OSS note?984868 Import a WebDynpro patch for Support Package 10, as it contains some fixes regarding lock mechanism

Former Member
0 Kudos

Hi Satish,

I had faced this some time back.

We figured out, that one of the sessions of the application was active and under tedious processing when we were trying to deploy the new code for the application.

Either close down all the sessions of the application you want to deploy, or, try restarting the Server and then Deploying the application.

In our case, Server Restart worked.

Best Regards,

Alka.