This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes javax.naming.NameNotFoundException: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "javax.naming.NameNotFoundException:" Watch "javax.naming.NameNotFoundException:" New topic
Author

javax.naming.NameNotFoundException:

sairam Kukudala
Greenhorn

Joined: Jun 25, 2012
Posts: 15

Hi All,

I am getting below error when i am using Websphere6.1


javax.naming.NameNotFoundException: Context: xyz-3Node02Cell/nodes/xyz-3Node02/servers/server1, name: jms/PROMOQCF: First component in name jms/PROMOQCF not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
at com.ibm.ws.naming.jndicos.CNContextImpl.processNotFoundException(CNContextImpl.java:4730)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1907)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1862)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1552)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1354)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:172)
at javax.naming.InitialContext.lookup(InitialContext.java:363)


Please suggest me to resolve this...!
Thanks in advance...!
Rakesh K. Cherukuri
Ranch Hand

Joined: Jun 01, 2010
Posts: 47

Please be selective in terms of choosing the right forum when posting a question.

Coming to the issue, the exception says that the code is not able to find any object bound at jms/PROMOQCF in the JNDI tree of server1 (under xyz-3Node02Cell -> xyz-3Node02). Please check the Queue connection factory configuration. Also, it might help to use JNDI dump and see where your object of interest is actually available.

Warm Regards,
Rakesh
 
jQuery in Action, 2nd edition
 
subject: javax.naming.NameNotFoundException:
 
Similar Threads
Unable to lookup JMS resources NotFound in WAS
Queue Connection
Unable to look JMS resources
Unable to get JNDI lookup for JMS Topic Connection Factory
exception in jndi configuration - spring framework