This content has been marked as final.
Show 1 reply
-
1. Re: Qeustion on transactions and restarting the Server
mclu Sep 7, 2009 3:40 AM (in response to mclu)I can reproduce it if I add a breakpoint at the JDBCPersistenceManager after the tx records are added to the Database.
I I then kill the server the message stays there forever.
My jta Recovery also ignores it!
I don't know but is it an option to remove the TX states while startup?
Greets
Markus
Stacktrace where I add my breakpoint:JDBCPersistenceManager$1HandleBeforePrepareRunner.doTransaction() line: 1958 JDBCPersistenceManager$1HandleBeforePrepareRunner(JDBCSupport$JDBCTxRunner2<T>).execute() line: 474 JDBCPersistenceManager$1HandleBeforePrepareRunner(JDBCSupport$JDBCTxRunner2<T>).executeWithRetry() line: 512 JDBCPersistenceManager.handleBeforePrepare(List, List, Transaction) line: 2077 JDBCPersistenceManager$TransactionCallback.beforePrepare() line: 2998 Transaction.prepare() line: 265 ServerConnectionEndpoint.sendTransaction(TransactionRequest, boolean) line: 509 ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(TransactionRequest, boolean) line: 101 ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext() line: not available SecurityAspect.handleSendTransaction(Invocation) line: 195 GeneratedMethodAccessor89.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object...) line: 597 PerInstanceAdvice.invoke(Invocation) line: 121 ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext() line: not available ServerLogInterceptor.invoke(Invocation) line: 105 ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext() line: not available ConnectionAdvised.sendTransaction(TransactionRequest, boolean) line: not available ConnectionSendTransactionRequest.serverInvoke() line: 82 JMSServerInvocationHandler.invoke(InvocationRequest) line: 157 SSLBisocketServerInvoker(ServerInvoker).invoke(InvocationRequest) line: 862 ServerThread.processInvocation(SocketWrapper) line: 609 ServerThread.dorun() line: 421 ServerThread.run() line: 174
I let the JDBCSupport$JDBCTxRunner2 do the commit (Line 476) before I kill the Jboss Server.