wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Not able send messgae to other server queue from onMessgae() method of MDB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Not able send messgae to other server queue from onMessgae() method of MDB" Watch "Not able send messgae to other server queue from onMessgae() method of MDB" New topic
Author

Not able send messgae to other server queue from onMessgae() method of MDB

Rupesh Raut
Greenhorn

Joined: Nov 29, 2003
Posts: 5
Hi,
I am getting "could not found coonection" error message.
I am trying to send message to another WLS server queue from onMessage()
method of Message Driven Bean of WLS server. But it is raising error at following line
queueSessionLc = conLc.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);

What is wrong and what are the solutions for sending message on another WLS queue.

Thanks
H Sivad
Greenhorn

Joined: Dec 02, 2004
Posts: 14
Originally posted by Rupesh Raut:
Hi,
I am getting "could not found coonection" error message.
I am trying to send message to another WLS server queue from onMessage()
method of Message Driven Bean of WLS server. But it is raising error at following line
queueSessionLc = conLc.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);

What is wrong and what are the solutions for sending message on another WLS queue.

Thanks


You didn't include much code, so it's hard to tell. Do you get the connection from the context first? The code would look something like this:



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able send messgae to other server queue from onMessgae() method of MDB
 
Similar Threads
Deleting JMS Messages from the QUEUE
Unable to look up JNDI name for JMS connection factory from one weblogic server to o
Help required for JMS on Jboss server
servlet message forwarding
JMS and XAException on WLS 6...