activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pangupta <>
Subject Re: Requires help in integrating activeMQ jms client with weblogic Server
Date Fri, 24 Aug 2007 16:31:54 GMT

Thanks a lot Joe for replying to my mail. I have a client application which
can connect to all servers like Jboss,Weblogic,Tibco etc using their third
party jars. Its not vendor dependent. But it uses JNDI as the middle man.
Now i wanted to make another application of the same type which does not
make use of JNDI. (SONICMQ s earlier versions does not support JNDI so i
cant use my existing application there).Going through forums i saw using
ActiveMQ jars. I thought i can make such an application using ActiveMQ jars
which can be also be vender independent. But as you said its not possible to
connect to weblogic and on similar lines it wont be possible for other
servers like SonicMQ also. 
 Joe , can you suggest me some way of doing this. Thanks a lot.

ttmdev wrote:
> Hello Pankaj,
> You cannot use ActiveMQ to access BEA's JMS implementation (MessageQ).
> These are two  different JMS implementations that use different Java class
> libraries and underlying wire protocols; therefore, they're not
> interoperable.   
> If you plan to point your client to different JMS providers, then you
> should adhere strictly to the JMS and JNDI and not directly reference any
> ActiveMQ objects w/in your code; adhering to the JMS and JNDI will
> facilitate the porting of your client across multiple JMS providers.  
> I hope this helps, 
> Joe
> pangupta wrote:
>> Hi
>>   I am using a sample code of active mq jms client. It successfully sends
>> the message to my activeMQ server running at default 61616 port. But now
>> i want to use the same client to send a message to weblogic server
>> running on my local machine at 7001 port. It gives me the following
>> exception.
>> Caught: javax.jms.JMSException: Wire format negociation timeout: peer did
>> not send his wire format.
>> javax.jms.JMSException: Wire format negociation timeout: peer did not
>> send his wire format.
>> 	at
>> org.apache.activemq.util.JMSExceptionSupport.create(
>> 	at
>> org.apache.activemq.ActiveMQConnection.syncSendPacket(
>> 	at
>> org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(
>> 	at
>> org.apache.activemq.ActiveMQConnection.start(
>> 	at
>> 	at ProducerTool.main(
>> Caused by: Wire format negociation timeout: peer did
>> not send his wire format.
>> 	at
>> org.apache.activemq.transport.WireFormatNegotiator.oneway(
>> 	at
>> org.apache.activemq.transport.MutexTransport.oneway(
>> 	at
>> org.apache.activemq.transport.ResponseCorrelator.asyncRequest(
>> 	at
>> org.apache.activemq.transport.ResponseCorrelator.request(
>> 	at
>> org.apache.activemq.ActiveMQConnection.syncSendPacket(
>> 	... 4 more
>> I have attached my java code file here. I would like to say thanks in
>> advance for all your support.
>> pankaj

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message