0 Replies Latest reply on Jun 29, 2010 8:40 AM by Michael Caplan

    JDBC Statement Close Issue on 5.3.1-02

    Michael Caplan Newbie

      Hi,

       

      I just upgraded to Fuse MB 5.3.1-02 and am seeing the following faults.  I'm not sure what they mean.  Any ideas?

       

      Thanks,

       

      Mike

       

       

       

      2010-06-29 06:26:36,062 | WARN  | JDBC Failure: No operations allowed after statement closed. | org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | ActiveMQ Transport: tcp:///127.0.0.1:56770

      java.sql.SQLException: No operations allowed after statement closed.

      at com.mysql.jdbc.Statement.checkClosed(Statement.java:277)

      at com.mysql.jdbc.ServerPreparedStatement.checkClosed(ServerPreparedStatement.java:415)

      at com.mysql.jdbc.ServerPreparedStatement.setLong(ServerPreparedStatement.java:1737)

      at org.apache.commons.dbcp.DelegatingPreparedStatement.setLong(DelegatingPreparedStatement.java:120)

      at org.apache.commons.dbcp.DelegatingPreparedStatement.setLong(DelegatingPreparedStatement.java:120)

      at org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter.doAddMessage(DefaultJDBCAdapter.java:195)

      at org.apache.activemq.store.jdbc.JDBCMessageStore.addMessage(JDBCMessageStore.java:85)

      at org.apache.activemq.store.memory.MemoryTransactionStore.addMessage(MemoryTransactionStore.java:245)

      at org.apache.activemq.store.memory.MemoryTransactionStore$1.addMessage(MemoryTransactionStore.java:132)

      at org.apache.activemq.broker.region.Queue.doMessageSend(Queue.java:571)

      at org.apache.activemq.broker.region.Queue.send(Queue.java:539)

      at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:354)

      at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:445)

      at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:126)

      at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:95)

      at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:224)

      at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:133)

      at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:453)

      at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:631)

      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:303)

      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:181)

      at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)

      at org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:82)

      at org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:135)

      at org.apache.activemq.transport.stomp.ProtocolConverter.onStompSend(ProtocolConverter.java:247)

      at org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommand(ProtocolConverter.java:173)

      at org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:71)

      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)

      at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:205)

      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:187)

      at java.lang.Thread.run(Thread.java:619)

      2010-06-29 06:26:36,063 | WARN  | Close failed: Already closed. | org.apache.activemq.store.jdbc.TransactionContext | ActiveMQ Transport: tcp:///127.0.0.1:56770

      java.sql.SQLException: Already closed.

      at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:84)

      at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:181)

      at org.apache.activemq.store.jdbc.TransactionContext.close(TransactionContext.java:137)

      at org.apache.activemq.store.jdbc.JDBCMessageStore.addMessage(JDBCMessageStore.java:90)

      at org.apache.activemq.store.memory.MemoryTransactionStore.addMessage(MemoryTransactionStore.java:245)

      at org.apache.activemq.store.memory.MemoryTransactionStore$1.addMessage(MemoryTransactionStore.java:132)

      at org.apache.activemq.broker.region.Queue.doMessageSend(Queue.java:571)

      at org.apache.activemq.broker.region.Queue.send(Queue.java:539)

      at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:354)

      at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:445)

      at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:126)

      at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:95)

      at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:224)

      at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:133)

      at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:453)

      at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:631)

      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:303)

      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:181)

      at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)

      at org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:82)

      at org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:135)

      at org.apache.activemq.transport.stomp.ProtocolConverter.onStompSend(ProtocolConverter.java:247)

      at org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommand(ProtocolConverter.java:173)

      at org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:71)

      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)

      at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:205)

      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:187)

      at java.lang.Thread.run(Thread.java:619)

      2010-06-29 06:26:36,139 | WARN  | Async error occurred: java.lang.NullPointerException | org.apache.activemq.broker.TransportConnection.Service | ActiveMQ Transport: tcp:///127.0.0.1:56770

      java.lang.NullPointerException

      at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:541)

      at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)

      at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)

      at org.apache.activemq.store.jdbc.TransactionContext.executeBatch(TransactionContext.java:98)

      at org.apache.activemq.store.jdbc.TransactionContext.executeBatch(TransactionContext.java:76)

      at org.apache.activemq.store.jdbc.TransactionContext.close(TransactionContext.java:124)

      at org.apache.activemq.store.jdbc.JDBCMessageStore.addMessage(JDBCMessageStore.java:90)

      at org.apache.activemq.store.memory.MemoryTransactionStore.addMessage(MemoryTransactionStore.java:245)

      at org.apache.activemq.store.memory.MemoryTransactionStore$1.addMessage(MemoryTransactionStore.java:132)

      at org.apache.activemq.broker.region.Queue.doMessageSend(Queue.java:571)

      at org.apache.activemq.broker.region.Queue.send(Queue.java:539)

      at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:354)

      at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:445)

      at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:126)

      at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:95)

      at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:224)

      at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:133)

      at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:453)

      at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:631)

      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:303)

      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:181)

      at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)

      at org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:82)

      at org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:135)

      at org.apache.activemq.transport.stomp.ProtocolConverter.onStompSend(ProtocolConverter.java:247)

      at org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommand(ProtocolConverter.java:173)

      at org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:71)

      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)

      at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:205)

      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:187)

      at java.lang.Thread.run(Thread.java:619)

       

      Edited by: michaelcaplan on Jun 29, 2010 12:40 PM