jndiContext.lookup("ConnectionFactory");
I am not sure about this, but have you changed the JNDI name for the connection
factory. The default name is "JmsXA"
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850044#3850044
Reply to the post :
http://www.jboss.
I have checked the servlet code and it is working. I wrote a class that uses
QueueBrowser to check the messages. All of the messages I sent are on the Queue.
Here is the code for the servlet:
| package com.hott.servlets;
| import javax.jms.*;
| import javax.naming.*;
| import javax.s
The MDB does not need to know the connection factory. You just need to link the MDB
with the queue, which you are doing correctly in the jboss.xml
Maybe the problem is in your servlet code where you are sending the messages.
View the original post :
http://www.jboss.org/index.html?module=bb&op
Here is the ejb-jar.xml and the jboss.xml. I am getting a message that says I cannot
find "queue/MyMessageBean". In the configuration I am trying to point the Message
Bean to "queue/TestQueue".
ejb-jar.xml
|
|
| Message Driven Bean EJB
|
|
|
| MyMessageBean
|
Jerry,
Your mappings are probably not correct. By default jboss will create a queue for
anymessage driven beans that are not attached to a queue.
Check http://localhost:8080/jmx-console to see what queues you have.
Post your config files if you don't have any luck
HTH
Oz
View the original pos