JDBCCacheLoader fails to restart connection to DB
-------------------------------------------------
Key: JBCACHE-1430
URL:
https://jira.jboss.org/jira/browse/JBCACHE-1430
Project: JBoss Cache
Issue Type: Quality Risk
Security Level: Public (Everyone can see)
Components: Cache loaders, Transactions
Affects Versions: 2.2.0.GA, 2.2.1.CR2
Environment: Jboss 4.2.2, FreeBSD 6.3, diablo-jdk 1.6, PostgreSQL 8.3.3 on other
server, FreeBSD 7.0
Reporter: Alexis Yerenkow
Assignee: Manik Surtani
Start ear in Jboss with JDBCCacheLoader, restart DB (or wait until network fail and
repairs) and look in log for many falling messages like this:
12:52:49,349 ERROR [STDERR] org.jboss.cache.CacheException: Invalid transaction
TransactionImple < ac, BasicAction: 7f000001:e318:48fef5cb:37f status:
ActionStatus.ABORT_ONLY >, status = 1
12:52:49,349 ERROR [STDERR] at
org.jboss.cache.transaction.TransactionTable.assertTransactionValid(TransactionTable.java:367)
12:52:49,350 ERROR [STDERR] at
org.jboss.cache.lock.PessimisticNodeBasedLockManager.lock(PessimisticNodeBasedLockManager.java:104)
12:52:49,350 ERROR [STDERR] at
org.jboss.cache.lock.PessimisticNodeBasedLockManager.lockPessimistically(PessimisticNodeBasedLockManager.java:76)
12:52:49,350 ERROR [STDERR] at
org.jboss.cache.interceptors.PessimisticLockInterceptor.handleGetNodeCommand(PessimisticLockInterceptor.java:316)
12:52:49,351 ERROR [STDERR] at
org.jboss.cache.interceptors.base.PostProcessingCommandInterceptor.visitGetNodeCommand(PostProcessingCommandInterceptor.java:257)
12:52:49,351 ERROR [STDERR] at
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
12:52:49,351 ERROR [STDERR] at
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
12:52:49,351 ERROR [STDERR] at
org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:157)
12:52:49,352 ERROR [STDERR] at
org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:94)
12:52:49,352 ERROR [STDERR] at
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
12:52:49,353 ERROR [STDERR] at
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
12:52:49,353 ERROR [STDERR] at
org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:157)
12:52:49,353 ERROR [STDERR] at
org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:94)
12:52:49,353 ERROR [STDERR] at
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
12:52:49,354 ERROR [STDERR] at
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
12:52:49,354 ERROR [STDERR] at
org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:266)
12:52:49,354 ERROR [STDERR] at
org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:253)
12:52:49,355 ERROR [STDERR] at
org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:94)
12:52:49,355 ERROR [STDERR] at
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
12:52:49,355 ERROR [STDERR] at
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
12:52:49,355 ERROR [STDERR] at
org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:157)
12:52:49,356 ERROR [STDERR] at
org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:94)
12:52:49,356 ERROR [STDERR] at
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
12:52:49,356 ERROR [STDERR] at
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
12:52:49,356 ERROR [STDERR] at
org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:155)
12:52:49,357 ERROR [STDERR] at
org.jboss.cache.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:108)
12:52:49,357 ERROR [STDERR] at
org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:94)
12:52:49,357 ERROR [STDERR] at
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
12:52:49,358 ERROR [STDERR] at
org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:215)
12:52:49,358 ERROR [STDERR] at
org.jboss.cache.invocation.CacheInvocationDelegate.getNode(CacheInvocationDelegate.java:420)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira