File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "javax.naming.NameNotFoundException:" Watch "javax.naming.NameNotFoundException:" New topic


sairam Kukudala

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:]
at javax.naming.InitialContext.lookup(

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

Joined: Jun 01, 2010
Posts: 48

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,
I agree. Here's the link:
subject: javax.naming.NameNotFoundException:
It's not a secret anymore!