Problem getting MDB work with JBoss 4.0

T

Thomas Hoheneder

Hello,

I have a problem getting a message-driven EJB work with JBoss 4.0. My
scenario consists of three files:
- de\th\ejb\MyMDB.class
- META-INF\ejb-jar.xml
- META-INF\jboss.xml
which I have deployed as a package named mymdb.jar.

When starting up JBoss I always get the error
javax.naming.NameNotFoundException: DefaultJMSProvider not bound
and I have no idea where in the code or in the configuration the
DefaultJMSProvider is set.

My full code including the error message can be seen at
http://www.thomas-hoheneder.de/temp/java/mdb.txt

I don't know what to do but I assume the JNDI string at my code line
QueueConnectionFactory qcf = (QueueConnectionFactory)
initContext.lookup("java:comp/env/jms/QCF");
might be false. I have tried both "java:comp/env/jms/QCF" and
"ConnectionFactory" JNDI lookup strings, but both lead to the error
mentioned above.

Any suggestions to get my applcation work?
Any help to this would be much appreciated.
Thanks in advance.

Nice greetings from
Thomas




-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
http://www.newsfeed.com The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top