File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes connectionfactory not bound exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Reply Bookmark "connectionfactory not bound exception" Watch "connectionfactory not bound exception" New topic
Author

connectionfactory not bound exception

Ranjani Sivaraman
Greenhorn

Joined: May 29, 2012
Posts: 6
hi
im getting javax.naming.NameNotFoundException: connectionFactory not bound
im trying sample jms example from net..
I have configured my queue in hornetq-jms.xml in deploy/hornetq folder.
im using jboss-6.0.0.Final




exception thrown in this line from sender.java file
QueueConnectionFactory connFactory = (QueueConnectionFactory) ctx. lookup("connectionFactory");

suggest why connectionfactory not bound error is coming???
Do i need to configure any other ?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 8209
    
  71

QueueConnectionFactory connFactory = (QueueConnectionFactory) ctx. lookup("connectionFactory");


That should be:



P.S: Case is important too.

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connectionfactory not bound exception
 
Similar Threads
jboss-6.0.0.20100721-M4 Illegal state exception at the startup
JMS
JBOSS client side load balancing policy
ejb mdb
How to use Hornet Q in JBoss 6.0 Final