activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Mahar <derek.ma...@gmail.com>
Subject TransportDisposedIOException: peer (vm://test#3) stopped.
Date Mon, 27 Feb 2017 19:56:00 GMT
Why do the unit tests in project
https://github.com/derekmahar/spring-jpa-atomikos-hibernate-activemq/tree/1.0.0
<https://github.com/derekmahar/spring-jpa-atomikos-hibernate-activemq> that
create an embedded ActiveMQ broker all throw
TransportDisposedIOException? Why does Spring or ActiveMQ treat this
exception as a warning?  How can I eliminate the exception?

Running
me.derekmahar.example.spring.transaction.PersonRepositoryAndMessengerTest
2017-02-27 14:49:50,683|WARN|main|c.a.icatch.provider.imp.AssemblerImp|1932|
com.atomikos.logging.Slf4jLogger.logWarning(Slf4jLogger.java:24)
Thanks for using Atomikos! Evaluate
http://www.atomikos.com/Main/ExtremeTransactions for advanced features and
professional support
or register at http://www.atomikos.com/Main/RegisterYourDownload to disable
this message and receive FREE tips & advice
Thanks for using Atomikos! Evaluate
http://www.atomikos.com/Main/ExtremeTransactions for advanced features and
professional support
or register at http://www.atomikos.com/Main/RegisterYourDownload to disable
this message and receive FREE tips & advice
Hibernate: CREATE SCHEMA human AUTHORIZATION DBA
Hibernate:

    create table human.person (
       id binary(255) not null,
        firstName varchar(255),
        lastName varchar(255),
        primary key (id)
    )
2017-02-27 14:49:52,520|WARN|main|c.a.icatch.imp.TransactionServiceImp|3769|
com.atomikos.logging.Slf4jLogger.logWarning(Slf4jLogger.java:24)
Attempt to create a transaction with a timeout that exceeds maximum -
truncating to: 300000
Hibernate:
    select
        person0_.id as id1_0_0_,
        person0_.firstName as firstNam2_0_0_,
        person0_.lastName as lastName3_0_0_
    from
        human.person person0_
    where
        person0_.id=?
2017-02-27 14:49:52,846|WARN|main|c.a.jdbc.AbstractConnectionProxy|4095|
com.atomikos.logging.Slf4jLogger.logWarning(Slf4jLogger.java:24)
Forcing close of pending statement:
org.hsqldb.jdbc.JDBCPreparedStatement@75d4a80f[closed]
2017-02-27 14:49:52,855|WARN|main|c.a.icatch.imp.TransactionServiceImp|4104|
com.atomikos.logging.Slf4jLogger.logWarning(Slf4jLogger.java:24)
Attempt to create a transaction with a timeout that exceeds maximum -
truncating to: 300000
Hibernate:
    select
        count(*) as col_0_0_
    from
        human.person person0_
    where
        person0_.id=?
        and 1=1
2017-02-27 14:49:53,081|WARN|ActiveMQ Connection Executor:
vm://test#2|o.s.j.c.CachingConnectionFactory|4330|
org.springframework.jms.connection.SingleConnectionFactory.onException(SingleConnectionFactory.java:322)
Encountered a JMSException - resetting the underlying JMS Connection
javax.jms.JMSException: peer (vm://test#3) stopped.
at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:54)
at
org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1949)
at
org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1968)
at
org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:114)
at
org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:126)
at
org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:114)
at org.apache.activemq.transport.vm.VMTransport.stop(VMTransport.java:232)
at
org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:72)
at
org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:72)
at
org.apache.activemq.transport.ResponseCorrelator.stop(ResponseCorrelator.java:132)
at
org.apache.activemq.broker.TransportConnection.doStop(TransportConnection.java:1199)
at
org.apache.activemq.broker.TransportConnection$4.run(TransportConnection.java:1165)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.activemq.transport.TransportDisposedIOException: peer
(vm://test#3) stopped.
... 9 common frames omitted
2017-02-27 14:49:53,105|WARN|ActiveMQ Connection Executor:
vm://test#2|c.a.jms.AtomikosJmsXaSessionProxy|4354|
com.atomikos.logging.Slf4jLogger.logWarning(Slf4jLogger.java:40)
atomikos xa session proxy for resource xamq: could not close underlying
vendor session
javax.jms.JMSException: Peer (vm://test#3) disposed.
at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
at
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
at
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
at org.apache.activemq.ActiveMQSession.doClose(ActiveMQSession.java:666)
at org.apache.activemq.ActiveMQSession.close(ActiveMQSession.java:657)
at
com.atomikos.jms.AtomikosJmsXaSessionProxy.destroy(AtomikosJmsXaSessionProxy.java:196)
at
com.atomikos.jms.AtomikosJmsXaSessionProxy.onTerminated(AtomikosJmsXaSessionProxy.java:233)
at
com.atomikos.datasource.xa.session.SessionHandleState.fireTerminatedEvent(SessionHandleState.java:253)
at
com.atomikos.datasource.xa.session.SessionHandleState.notifySessionClosed(SessionHandleState.java:119)
at
com.atomikos.jms.AtomikosJmsXaSessionProxy.invoke(AtomikosJmsXaSessionProxy.java:116)
at com.sun.proxy.$Proxy47.close(Unknown Source)
at
org.springframework.jms.connection.CachingConnectionFactory$CachedSessionInvocationHandler.physicalClose(CachingConnectionFactory.java:502)
at
org.springframework.jms.connection.CachingConnectionFactory$CachedSessionInvocationHandler.invoke(CachingConnectionFactory.java:323)
at com.sun.proxy.$Proxy48.close(Unknown Source)
at
org.springframework.jms.connection.CachingConnectionFactory.resetConnection(CachingConnectionFactory.java:194)
at
org.springframework.jms.connection.SingleConnectionFactory.onException(SingleConnectionFactory.java:323)
at
org.springframework.jms.connection.SingleConnectionFactory$AggregatedExceptionListener.onException(SingleConnectionFactory.java:673)
at
org.apache.activemq.ActiveMQConnection$5.run(ActiveMQConnection.java:1956)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.activemq.transport.TransportDisposedIOException: Peer
(vm://test#3) disposed.
at org.apache.activemq.transport.vm.VMTransport.oneway(VMTransport.java:93)
at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68)
at
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
at
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
... 19 common frames omitted

Derek

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message