WildFly-26.1.2: ISPN000299: Unable to acquire lock after 15 seconds for key SessionCreationMetaDataKey

1,403 views
Skip to first unread message

vijen reddy

unread,
Apr 20, 2023, 4:20:05 PM4/20/23
to WildFly
Hi All,

WildFly-26.1.2: ISPN000299: Unable to acquire lock after 15 seconds for key SessionCreationMetaDataKey

When I execute a search (which is taking almost 50 secs to get the results) the following error is being logged in the server.log and on the page nothing is happening (no results are being displayed)

ISPN000136: Error executing command GetKeyValueCommand on Cache 'QTrade.war', writing keys []: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 15 seconds for key SessionCreationMetaDataKey(lMQSs0Lsk-y6lYYCAHhOSgdNueMwd5pgm0WocnGY) and requestor GlobalTransaction{id=255, addr=devqtradevm02, remote=false, xid=null, internalId=-1}. Lock is held by GlobalTransaction{id=200, addr=devqtradevm02, remote=false, xid=null, internalId=-1}

Thanks,
VJ

Paul Ferraro

unread,
Apr 22, 2023, 2:52:02 PM4/22/23
to WildFly
This exception indicates that a second request thread is attempting to access a session that is currently being used by a different request thread.
... for details, and how to modify the default configuration to accommodate concurrent requests for a given session.

vijen reddy

unread,
May 1, 2023, 3:31:20 PM5/1/23
to WildFly
Hi Paul,

Now I don't see the error but when multiple users access the same screen and execute the same search then, the results are not being displayed (basically the page is not being rendered properly) but I the corresponding queries are being logged(executed).
One more thing, after search the results (after no results are being displayed) if user refreshes the page by clicking refresh button on browser then the previously executed results are being displayed (without re-querying at back-end).

I did inspected the page and there were no errors at all.

Please help to find out the cause

Thanks,
VJ

vijen reddy

unread,
May 16, 2023, 8:18:49 AM5/16/23
to WildFly
Hi Paul,

Did you get any chance to look into my email??
Any thoughts?


Thanks,
VJ

--
You received this message because you are subscribed to a topic in the Google Groups "WildFly" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wildfly/yL6KWmnVscM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/73b0a7e7-868e-4515-b766-b1ad6ad8acc8n%40googlegroups.com.

Paul Ferraro

unread,
May 17, 2023, 7:43:35 AM5/17/23
to WildFly
On Monday, May 1, 2023 at 3:31:20 PM UTC-4 vijen reddy wrote:
Hi Paul,

Now I don't see the error

before or after making the suggested changes?
 
but when multiple users access the same screen and execute the same search then, the results are not being displayed (basically the page is not being rendered properly) but I the corresponding queries are being logged(executed).

Having no idea how your pages are rendered, I'm not sure how I am supposed to diagnose anything from this description.
 
One more thing, after search the results (after no results are being displayed) if user refreshes the page by clicking refresh button on browser then the previously executed results are being displayed (without re-querying at back-end).

Sounds like, either the browser or content server is caching your pages or the previous query was cached.
If the former, you probably need to set cache control headers to tell the browser or content server not to cache those pages.
If the latter, having no idea what your "back-end" is, or how it is queried - I cannot provide any guidance without more details.
 
I did inspected the page and there were no errors at all.

Which suggests that some level of caching is causing this.
Reply all
Reply to author
Forward
0 new messages