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 =-----
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 =-----