Tuesday, July 30, 2002 03:54 AM
I am not able to run message driven bean.
I am using j2ee server. It has built-in jms queue and topic bounded with jndi.
When I look up connection factory using "java:comp/env/jms/TopicConnectionFactory",
It gives error , javax.naming... no object bound .
Now I dont understand how to make settings for
1) binding TopicConnectionFactory in jndi
2) In client code when I get TopicConnectionFactory using jndi,
how can I identify that where the JMS server is situated.
3) How can message driven bean can know that where JMS server is situated.
Re: about jms settings in j2ee server
Wednesday, July 31, 2002 01:18 AM
Tuesday, July 30, 2002 03:52 PM
And also you must properly configure the Queues in config.xml file. Then you need to map your new created MDB to the Queue in the EJB deployment descriptor files. Please refer to the documentation for more detailed information.
Hope it helps.