This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes connectionfactory not bound exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "connectionfactory not bound exception" Watch "connectionfactory not bound exception" New topic

connectionfactory not bound exception

Ranjani Sivaraman

Joined: May 29, 2012
Posts: 6
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 file
QueueConnectionFactory connFactory = (QueueConnectionFactory) ctx. lookup("connectionFactory");

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

Joined: Jul 20, 2005
Posts: 10441

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:
subject: connectionfactory not bound exception
It's not a secret anymore!