[JBoss JIRA] (JBJCA-1356) BaseWrapperManagedConnection.unlock fails to unlock
by Flavia Rainone (JIRA)
[ https://issues.jboss.org/browse/JBJCA-1356?page=com.atlassian.jira.plugin... ]
Flavia Rainone updated JBJCA-1356:
----------------------------------
Description:
There is a possibility of unlock missing the call to reentrantLock.unlock:
{noformat}
protected void unlock()
{
if (tryLock < 0)
return;
if (getLog().isTraceEnabled())
dumpLockInformation(false);
if (lock.isHeldByCurrentThread())
lock.unlock();
}
{noformat}
This bug is random.
was:
There is a possibility of unlock missing the call to reentrantLock.unlock:
{{protected void unlock()
{
if (tryLock < 0)
return;
if (getLog().isTraceEnabled())
dumpLockInformation(false);
if (lock.isHeldByCurrentThread())
lock.unlock();
}}}
This bug is random.
> BaseWrapperManagedConnection.unlock fails to unlock
> ---------------------------------------------------
>
> Key: JBJCA-1356
> URL: https://issues.jboss.org/browse/JBJCA-1356
> Project: IronJacamar
> Issue Type: Bug
> Affects Versions: WildFly/IronJacamar 1.4.2.Final
> Reporter: Flavia Rainone
> Assignee: Flavia Rainone
> Fix For: WildFly/IronJacamar 1.4.3.Final
>
>
> There is a possibility of unlock missing the call to reentrantLock.unlock:
> {noformat}
> protected void unlock()
> {
> if (tryLock < 0)
> return;
> if (getLog().isTraceEnabled())
> dumpLockInformation(false);
> if (lock.isHeldByCurrentThread())
> lock.unlock();
> }
> {noformat}
> This bug is random.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (JBJCA-1356) BaseWrapperManagedConnection.unlock fails to unlock
by Flavia Rainone (JIRA)
Flavia Rainone created JBJCA-1356:
-------------------------------------
Summary: BaseWrapperManagedConnection.unlock fails to unlock
Key: JBJCA-1356
URL: https://issues.jboss.org/browse/JBJCA-1356
Project: IronJacamar
Issue Type: Bug
Affects Versions: WildFly/IronJacamar 1.4.2.Final
Reporter: Flavia Rainone
Assignee: Flavia Rainone
Fix For: WildFly/IronJacamar 1.4.3.Final
There is a possibility of unlock missing the call to reentrantLock.unlock:
{{protected void unlock()
{
if (tryLock < 0)
return;
if (getLog().isTraceEnabled())
dumpLockInformation(false);
if (lock.isHeldByCurrentThread())
lock.unlock();
}}}
This bug is random.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (WFLY-9448) Unrecoverable "..DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state.." after " Unable to acquire lock after 15 seconds"
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-9448?page=com.atlassian.jira.plugin.... ]
Paul Ferraro edited comment on WFLY-9448 at 10/17/17 12:27 PM:
---------------------------------------------------------------
Are you able to reproduce this issue with 11.0.0.CR1? This issue should have been addressed by:
https://github.com/wildfly/wildfly/commit/1380d8846f3fe2d8c362894d78c5807...
was (Author: pferraro):
Are you able to reproduce this issue with 11.0.0.CR1?
> Unrecoverable "..DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state.." after " Unable to acquire lock after 15 seconds"
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-9448
> URL: https://issues.jboss.org/browse/WFLY-9448
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 10.1.0.Final
> Environment: Centos
> Reporter: kobogian hitis
> Assignee: Paul Ferraro
>
> On our system, after some time we get this:
> javax.ejb.EJBTransactionRolledbackException: ISPN000299: Unable to acquire lock after 15 seconds for key UnknownSessionID [4957576549555554536866505268565165695766655070536957516655656852] and requestor GlobalTransaction:<node1>:682146:local. Lock is held by GlobalTransaction:<node1>:681890:local
> And then we start getting the following:
> ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (default task-2) ISPN000136: Error executing command GetKeyValueCommand, writing keys []: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state to be invoking cache operations on.
> at org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:395)
> ...
> ERROR [io.undertow.request] (default task-2) UT005023: Exception handling request to /contextpath/someXYZResource: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state to be invoking cache operations on.
> continouously on most requests without being able to recover.
> After restarting, again if at some point the "Unable to acquire lock after 15 seconds" happens, we start getting errors about the DummyTransaction, which never stop.
> I believe "Unable to acquire lock after 15 seconds" should not lead to an unrecoverable state.
> NOTE: Each node runs with:
> `./standalone.sh -c=standalone-full-ha.xml -u=239.255.200.215 -b=$localIp -bmanagement=$localIp -bprivate=$localIp -Djboss.node.name=node1 -Djboss.socket.binding.port-offset=200` .
> `jboss.node.name` and `$localIp` only changes between nodes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (WFLY-9448) Unrecoverable "..DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state.." after " Unable to acquire lock after 15 seconds"
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-9448?page=com.atlassian.jira.plugin.... ]
Paul Ferraro edited comment on WFLY-9448 at 10/17/17 12:27 PM:
---------------------------------------------------------------
Are you able to reproduce this issue with 11.0.0.CR1? This issue should have been addressed by WFLY-9057.
was (Author: pferraro):
Are you able to reproduce this issue with 11.0.0.CR1? This issue should have been addressed by:
https://github.com/wildfly/wildfly/commit/1380d8846f3fe2d8c362894d78c5807...
> Unrecoverable "..DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state.." after " Unable to acquire lock after 15 seconds"
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-9448
> URL: https://issues.jboss.org/browse/WFLY-9448
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 10.1.0.Final
> Environment: Centos
> Reporter: kobogian hitis
> Assignee: Paul Ferraro
>
> On our system, after some time we get this:
> javax.ejb.EJBTransactionRolledbackException: ISPN000299: Unable to acquire lock after 15 seconds for key UnknownSessionID [4957576549555554536866505268565165695766655070536957516655656852] and requestor GlobalTransaction:<node1>:682146:local. Lock is held by GlobalTransaction:<node1>:681890:local
> And then we start getting the following:
> ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (default task-2) ISPN000136: Error executing command GetKeyValueCommand, writing keys []: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state to be invoking cache operations on.
> at org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:395)
> ...
> ERROR [io.undertow.request] (default task-2) UT005023: Exception handling request to /contextpath/someXYZResource: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state to be invoking cache operations on.
> continouously on most requests without being able to recover.
> After restarting, again if at some point the "Unable to acquire lock after 15 seconds" happens, we start getting errors about the DummyTransaction, which never stop.
> I believe "Unable to acquire lock after 15 seconds" should not lead to an unrecoverable state.
> NOTE: Each node runs with:
> `./standalone.sh -c=standalone-full-ha.xml -u=239.255.200.215 -b=$localIp -bmanagement=$localIp -bprivate=$localIp -Djboss.node.name=node1 -Djboss.socket.binding.port-offset=200` .
> `jboss.node.name` and `$localIp` only changes between nodes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (WFLY-9448) Unrecoverable "..DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state.." after " Unable to acquire lock after 15 seconds"
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-9448?page=com.atlassian.jira.plugin.... ]
Paul Ferraro commented on WFLY-9448:
------------------------------------
Are you able to reproduce this issue with 11.0.0.CR1?
> Unrecoverable "..DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state.." after " Unable to acquire lock after 15 seconds"
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-9448
> URL: https://issues.jboss.org/browse/WFLY-9448
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 10.1.0.Final
> Environment: Centos
> Reporter: kobogian hitis
> Assignee: Paul Ferraro
>
> On our system, after some time we get this:
> javax.ejb.EJBTransactionRolledbackException: ISPN000299: Unable to acquire lock after 15 seconds for key UnknownSessionID [4957576549555554536866505268565165695766655070536957516655656852] and requestor GlobalTransaction:<node1>:682146:local. Lock is held by GlobalTransaction:<node1>:681890:local
> And then we start getting the following:
> ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (default task-2) ISPN000136: Error executing command GetKeyValueCommand, writing keys []: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state to be invoking cache operations on.
> at org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:395)
> ...
> ERROR [io.undertow.request] (default task-2) UT005023: Exception handling request to /contextpath/someXYZResource: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state to be invoking cache operations on.
> continouously on most requests without being able to recover.
> After restarting, again if at some point the "Unable to acquire lock after 15 seconds" happens, we start getting errors about the DummyTransaction, which never stop.
> I believe "Unable to acquire lock after 15 seconds" should not lead to an unrecoverable state.
> NOTE: Each node runs with:
> `./standalone.sh -c=standalone-full-ha.xml -u=239.255.200.215 -b=$localIp -bmanagement=$localIp -bprivate=$localIp -Djboss.node.name=node1 -Djboss.socket.binding.port-offset=200` .
> `jboss.node.name` and `$localIp` only changes between nodes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months