activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pangupta <pankaj.r.gu...@gmail.com>
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.
pankaj

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(JMSExceptionSupport.java:58)
>> 	at
>> org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1185)
>> 	at
>> org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1263)
>> 	at
>> org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:449)
>> 	at ProducerTool.run(ProducerTool.java:79)
>> 	at ProducerTool.main(ProducerTool.java:62)
>> Caused by: java.io.IOException: Wire format negociation timeout: peer did
>> not send his wire format.
>> 	at
>> org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:88)
>> 	at
>> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:47)
>> 	at
>> org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:69)
>> 	at
>> org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:74)
>> 	at
>> org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1175)
>> 	... 4 more
>> I have attached my java code file here. I would like to say thanks in
>> advance for all your support.
>> pankaj http://www.nabble.com/file/p12307414/ProducerTool.java
>> ProducerTool.java 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Requires-help-in-integrating-activeMQ-jms-client-with-weblogic-Server-tf4321960s2354.html#a12315619
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message