qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brent Villalobos <Brent.Villalo...@pdi.dreamworks.com>
Subject Re: HermesJMS Configuration
Date Wed, 05 Mar 2008 19:28:12 GMT
Oops, I posted the wrong log.  This is the log I should have posted (and 
I do have the qpid broker running and I can telnet into it).  Again, 
this is using Java6 and Hermes v1.13 with the M2 qpid broker.
-Brent

This is the error that get thrown to the console:

Mar 5, 2008 11:23:35 AM org.apache.qpid.client.AMQConnection <init>
INFO: 
Connection:amqp://guest:********@changeling1204745015084/?brokerlist='tcp://localhost:5672'
Mar 5, 2008 11:23:35 AM 
org.apache.qpid.client.transport.SocketTransportConnection connect
INFO: Using SimpleByteBufferAllocator
Mar 5, 2008 11:23:35 AM 
org.apache.qpid.client.transport.TransportConnection$1 newSocketConnector
INFO: Using Mina NIO
Mar 5, 2008 11:23:35 AM 
org.apache.qpid.client.transport.SocketTransportConnection connect
INFO: send-buffer-size = 32768
Mar 5, 2008 11:23:35 AM 
org.apache.qpid.client.transport.SocketTransportConnection connect
INFO: recv-buffer-size = 32768
Mar 5, 2008 11:23:35 AM 
org.apache.qpid.client.transport.SocketTransportConnection connect
INFO: Attempting connection to localhost/127.0.0.1:5672
Mar 5, 2008 11:23:36 AM 
org.apache.qpid.client.security.CallbackHandlerRegistry <init>
INFO: Callback handlers available for SASL mechanisms: CRAM-MD5 
CRAM-MD5-HASHED PLAIN
Mar 5, 2008 11:23:36 AM 
org.apache.qpid.client.protocol.AMQProtocolHandler exceptionCaught
INFO: Protocol Exception caught NOT going to attempt failover as cause 
isn't AMQConnectionClosedException: 
org.apache.mina.filter.codec.ProtocolEncoderException: 
java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z
org.apache.mina.filter.codec.ProtocolEncoderException: 
java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z
        at 
org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:241)
        at 
org.apache.mina.common.support.AbstractIoFilterChain.callPreviousFilterWrite(AbstractIoFilterChain.java:573)
        at 
org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:52)
        at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.filterWrite(AbstractIoFilterChain.java:789)
        at 
org.apache.mina.common.support.AbstractIoFilterChain$2.filterWrite(AbstractIoFilterChain.java:213)
        at 
org.apache.mina.common.support.AbstractIoFilterChain.callPreviousFilterWrite(AbstractIoFilterChain.java:573)
        at 
org.apache.mina.common.support.AbstractIoFilterChain.fireFilterWrite(AbstractIoFilterChain.java:564)
        at 
org.apache.mina.transport.socket.nio.SocketSessionImpl.write0(SocketSessionImpl.java:186)
        at 
org.apache.mina.common.support.BaseIoSession.write(BaseIoSession.java:146)
        at 
org.apache.mina.common.support.BaseIoSession.write(BaseIoSession.java:132)
        at 
org.apache.qpid.client.protocol.AMQProtocolSession.writeFrame(AMQProtocolSession.java:319)
        at 
org.apache.qpid.client.protocol.AMQProtocolSession.writeFrame(AMQProtocolSession.java:314)
        at 
org.apache.qpid.client.handler.ConnectionStartMethodHandler.methodReceived(ConnectionStartMethodHandler.java:162)
        at 
org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:183)
        at 
org.apache.qpid.client.protocol.AMQProtocolHandler.messageReceived(AMQProtocolHandler.java:429)
        at 
org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:189)
        at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:502)
        at 
org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
        at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:777)
        at 
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:60)
        at 
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:185)
        at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:502)
        at 
org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
        at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:777)
        at 
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:243)
        at 
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:305)
        at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
        at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z
        at 
org.apache.qpid.framing.FieldTable.writeToBuffer(FieldTable.java:709)
        at 
org.apache.qpid.framing.EncodingUtils.writeFieldTableBytes(EncodingUtils.java:362)
        at 
org.apache.qpid.framing.ConnectionStartOkBody.writeMethodPayload(ConnectionStartOkBody.java:163)
        at 
org.apache.qpid.framing.AMQMethodBody.writePayload(AMQMethodBody.java:77)
        at org.apache.qpid.framing.AMQFrame.writePayload(AMQFrame.java:55)
        at 
org.apache.qpid.framing.AMQDataBlock.toByteBuffer(AMQDataBlock.java:48)
        at 
org.apache.qpid.framing.AMQDataBlockEncoder.encode(AMQDataBlockEncoder.java:47)
        at org.apache.qpid.codec.AMQEncoder.encode(AMQEncoder.java:56)
        at 
org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:219)
        ... 28 more
Mar 5, 2008 11:23:36 AM org.apache.qpid.client.AMQConnection 
exceptionReceived
SEVERE: Throwable Received but no listener set: 
java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z
Mar 5, 2008 11:23:36 AM org.apache.qpid.client.AMQConnection 
exceptionReceived
INFO: Closing AMQConnection due to :java.lang.NoSuchMethodError: 
org.slf4j.Logger.isTraceEnabled()Z
Mar 5, 2008 11:24:06 AM org.apache.qpid.client.state.AMQStateManager 
attainState
WARNING: State not achieved within permitted time.  Current state 
AMQState: id = 2 name: CONNECTION_NOT_TUNED, desired state: AMQState: id 
= 4 name: CONNECTION_OPEN
Mar 5, 2008 11:24:06 AM org.apache.qpid.client.AMQConnection <init>
INFO: Unable to connect to broker at tcp://localhost:5672
Mar 5, 2008 11:24:06 AM 
org.apache.qpid.client.transport.SocketTransportConnection connect
INFO: Using SimpleByteBufferAllocator
Mar 5, 2008 11:24:06 AM 
org.apache.qpid.client.transport.TransportConnection$1 newSocketConnector


A few minutes later, this is the error that appears in a dialog box 
inside Hermes:

org.apache.qpid.AMQConnectionFailureException: State not achieved within 
permitted time.  Current state AMQState: id = 2 name: 
CONNECTION_NOT_TUNED, desired state: AMQState: id = 4 name: CONNECTION_OPEN
    at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:346)
    at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:218)
    at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:206)
    at 
org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:300)
    at 
hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:126)
    at 
hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:92)
    at 
hermes.impl.jms.ConnectionSharedManager.reconnect(ConnectionSharedManager.java:81)
    at 
hermes.impl.jms.ConnectionSharedManager.connect(ConnectionSharedManager.java:91)
    at 
hermes.impl.jms.ConnectionSharedManager.getConnection(ConnectionSharedManager.java:104)
    at 
hermes.impl.jms.ConnectionSharedManager.getObject(ConnectionSharedManager.java:142)
    at 
hermes.impl.jms.ThreadLocalSessionManager.connect(ThreadLocalSessionManager.java:190)
    at 
hermes.impl.jms.ThreadLocalSessionManager.getSession(ThreadLocalSessionManager.java:570)
    at 
hermes.impl.jms.AbstractSessionManager.getDestination(AbstractSessionManager.java:465)
    at 
hermes.impl.DefaultHermesImpl.getDestination(DefaultHermesImpl.java:367)
    at 
hermes.browser.tasks.BrowseDestinationTask.invoke(BrowseDestinationTask.java:141)
    at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
    at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.qpid.AMQException: State not achieved within 
permitted time.  Current state AMQState: id = 2 name: 
CONNECTION_NOT_TUNED, desired state: AMQState: id = 4 name: CONNECTION_OPEN
    at 
org.apache.qpid.client.state.AMQStateManager.attainState(AMQStateManager.java:259)
    at 
org.apache.qpid.client.protocol.AMQProtocolHandler.attainState(AMQProtocolHandler.java:523)
    at 
org.apache.qpid.client.AMQConnection.makeBrokerConnection(AMQConnection.java:401)
    at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:292)
    ... 17 more



Mime
View raw message