[ http://issues.apache.org/jira/browse/GERONIMO-1371?page=all ]

John Sisson updated GERONIMO-1371:
----------------------------------

    Summary: ActiveMQ SQL Exception logged during shutdown  (was: SQL Exception 
logged during shutdown)

> ActiveMQ SQL Exception logged during shutdown
> ---------------------------------------------
>
>          Key: GERONIMO-1371
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1371
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0
>  Environment: Windows
>     Reporter: Dave Colasurdo
>      Fix For: 1.0, 1.x
>  Attachments: simple.patch
>
> Noticed two separate issues when using the latest v1 candidate build 
> (12/15/05) on a windows platform... 
> Seeing the following warning in the secondary window and the log for various 
> shutdowns...
> a) "startup.bat" followed by "shutdown.bat" 
> b) "geronimo.bat start"  followed by "shutdown.bat" 
> 13:36:31,052 WARN  [GeronimoConnectionEventListener] connectionErrorOccurred 
> called with null
> SQL Exception: No current connection.
>       at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown Source)
>       at org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedConnection.commit(Unknown Source)
>       at org.apache.derby.impl.jdbc.EmbedConnection.setAutoCommit(Unknown 
> Source)
>       at org.apache.derby.iapi.jdbc.BrokeredConnection.setAutoCommit(Unknown 
> Source)
>       at 
> org.tranql.connector.jdbc.ManagedXAConnection.localTransactionStart(ManagedXAConnection.java:89)
>       at 
> org.tranql.connector.AbstractManagedConnection$LocalTransactionImpl.begin(AbstractManagedConnection.java:188)
>       at 
> org.tranql.connector.jdbc.ConnectionHandle.setAutoCommit(ConnectionHandle.java:161)
>       at 
> org.activemq.store.jdbc.JDBCPersistenceAdapter.beginTransaction(JDBCPersistenceAdapter.java:126)
>       at 
> org.activemq.store.jdbc.JDBCPersistenceAdapterGBean.beginTransaction(JDBCPersistenceAdapterGBean.java:76)
>       at 
> org.activemq.store.jdbc.JDBCPersistenceAdapterGBean$$FastClassByCGLIB$$8be8a0a0.invoke(<generated>)
>       at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>       at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
>       at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>       at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
>       at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>       at 
> org.activemq.store.PersistenceAdapter$$EnhancerByCGLIB$$98dcaa17.beginTransaction(<generated>)
>       at 
> org.activemq.store.journal.JournalPersistenceAdapter.beginTransaction(JournalPersistenceAdapter.java:158)
>       at 
> org.activemq.util.TransactionTemplate.run(TransactionTemplate.java:38)
>       at 
> org.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:227)
>       at 
> org.activemq.store.journal.JournalPersistenceAdapter$3.run(JournalPersistenceAdapter.java:357)
>       at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(Unknown 
> Source)
>       at java.lang.Thread.run(Thread.java:534)
> 13:36:31,062 ERROR [JournalPersistenceAdapter] Failed to checkpoint a message 
> store: javax.jms.JMSException: Failed to create transaction: SQL Exception: 
> No current connection.
> javax.jms.JMSException: Failed to create transaction: SQL Exception: No 
> current connection.
>       at 
> org.activemq.util.JMSExceptionHelper.newJMSException(JMSExceptionHelper.java:49)
>       at 
> org.activemq.store.jdbc.JDBCPersistenceAdapter.beginTransaction(JDBCPersistenceAdapter.java:130)
>       at 
> org.activemq.store.jdbc.JDBCPersistenceAdapterGBean.beginTransaction(JDBCPersistenceAdapterGBean.java:76)
>       at 
> org.activemq.store.jdbc.JDBCPersistenceAdapterGBean$$FastClassByCGLIB$$8be8a0a0.invoke(<generated>)
>       at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>       at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
>       at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>       at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
>       at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>       at 
> org.activemq.store.PersistenceAdapter$$EnhancerByCGLIB$$98dcaa17.beginTransaction(<generated>)
>       at 
> org.activemq.store.journal.JournalPersistenceAdapter.beginTransaction(JournalPersistenceAdapter.java:158)
>       at 
> org.activemq.util.TransactionTemplate.run(TransactionTemplate.java:38)
>       at 
> org.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:227)
>       at 
> org.activemq.store.journal.JournalPersistenceAdapter$3.run(JournalPersistenceAdapter.java:357)
>       at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(Unknown 
> Source)
>       at java.lang.Thread.run(Thread.java:534)
> Caused by: SQL Exception: No current connection.
>       at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown Source)
>       at org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedConnection.commit(Unknown Source)
>       at org.apache.derby.impl.jdbc.EmbedConnection.setAutoCommit(Unknown 
> Source)
>       at org.apache.derby.iapi.jdbc.BrokeredConnection.setAutoCommit(Unknown 
> Source)
>       at 
> org.tranql.connector.jdbc.ManagedXAConnection.localTransactionStart(ManagedXAConnection.java:89)
>       at 
> org.tranql.connector.AbstractManagedConnection$LocalTransactionImpl.begin(AbstractManagedConnection.java:188)
>       at 
> org.tranql.connector.jdbc.ConnectionHandle.setAutoCommit(ConnectionHandle.java:161)
>       at 
> org.activemq.store.jdbc.JDBCPersistenceAdapter.beginTransaction(JDBCPersistenceAdapter.java:126)
>       ... 16 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to