about jms settings in j2ee server
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   nimit_shah
Posted On:   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

Posted By:   Laurent_Mihalkovic  
Posted On:   Wednesday, July 31, 2002 01:18 AM

Not sure i understand which server you are refering to... are you talking about sun's reference implementation?

Re: about jms settings in j2ee server

Posted By:   Sanjeev_Kasarabada  
Posted On:   Tuesday, July 30, 2002 03:52 PM

Make sure you have the JDBCConnectionPool and the JMSConnectionFactory properly set up.You need to make some entries in the config.xml file or you can use the admin tool to do that.

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.


-Sanjeev

About | Sitemap | Contact