This looks like a classpath error, or using different jar version on
broker & client


On 4/6/07, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
Hi,



I am trying to connect to AMQ server via VIP and AMQ is running behind a
Radware Load balancer. I am getting following Exception in my client. I
tried using AMQ4.1.0 and AMQ4.1.1 no change in results.



I will appreciate any help in this matter; this is kind of a serious
road block in my almost production ready application.



Thanks!





Exception in thread "Thread-1" java.lang.NoSuchMethodError:
org.apache.activemq.command.ConnectionInfo.isBroker

MasterConnector()Z

        at
org.apache.activemq.openwire.v2.ConnectionInfoMarshaller.tightMarshal1(C
onnectionInfoMarshaller.java

:105)

        at
org.apache.activemq.openwire.OpenWireFormat.marshal(OpenWireFormat.java:
234)

        at
org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:
118)

        at
org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.jav
a:86)

        at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNego
tiator.java:77)

        at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:
44)

        at
org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCo
rrelator.java:63)

        at
org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrela
tor.java:68)

        at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection
.java:1098)

        at
org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQ
Connection.java:1197)

        at
org.apache.activemq.ActiveMQConnection.setClientID(ActiveMQConnection.ja
va:335)

        at
com.lexisnexis.batch.bber2.consolidator.ToolSupport.createConnection(Too
lSupport.java:69)

        at
com.lexisnexis.batch.bber2.consolidator.Consolidator.receiveRecoveryMsgs
(Consolidator.java:426)Excep

tion in thread "Thread-1"

java.lang.NoSuchMethodError:
org.apache.activemq.command.ConnectionInfo.isBrokerMasterConnector()Z

        at
com.lexisnexis.batch.bber2.consolidator.Consolidator.run(Consolidator.ja
va:248)

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

        at
org.apache.activemq.openwire.v2.ConnectionInfoMarshaller.tightMarshal1(C
onnectionInfoMarshaller.java

:105)

        at
org.apache.activemq.openwire.OpenWireFormat.marshal(OpenWireFormat.java:
234)

        at
org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:
118)

        at
org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.jav
a:86)

        at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNego
tiator.java:77)

        at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:
44)Exception in thread "tcp:

//batchamq-vip.br.seisint.com/10.121.146.202:61616"

        at
org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCo
rrelator.java:63)

        at
org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrela
tor.java:68)java.lang.Abstra

ctMethodError:
org.apache.activemq.openwire.v2.BrokerInfoMarshaller.tightUnmarshal(Lorg
/apache/activemq/openwir

e/OpenWireFormat;Ljava/lang/Object;Ljava/io/DataInputStream;Lorg/apache/
activemq/openwire/BooleanStream;)V



        at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection
.java:1098)

        at
org.apache.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireFormat.j
ava:346)

        at
org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQ
Connection.java:1197)

        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.jav
a:272)

        at
org.apache.activemq.ActiveMQConnection.setClientID(ActiveMQConnection.ja
va:335)

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

        at
com.lexisnexis.batch.bber2.consolidator.ToolSupport.createConnection(Too
lSupport.java:69)

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

        at
com.lexisnexis.batch.bber2.consolidator.Consolidator_Q_redirector.openco
nnection(Consolidator_Q_redi

rector.java:555)

        at
com.lexisnexis.batch.bber2.consolidator.Consolidator_Q_redirector.run(Co
nsolidator_Q_redirector.java

:488)

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

Exception in thread
"tcp://batchamq-vip.br.seisint.com/10.121.146.202:61616"
java.lang.AbstractMethodError: org

.apache.activemq.openwire.v2.BrokerInfoMarshaller.tightUnmarshal(Lorg/ap
ache/activemq/openwire/OpenWireFormat;L

java/lang/Object;Ljava/io/DataInputStream;Lorg/apache/activemq/openwire/
BooleanStream;)V

        at
org.apache.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireFormat.j
ava:346)

        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.jav
a:272)

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

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



Vik






--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to