jQuery in Action, 2nd edition
The moose likes Websphere and the fly likes JNDI initialisation failed, please check your JNDI settings and service Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "JNDI initialisation failed, please check your JNDI settings and service" Watch "JNDI initialisation failed, please check your JNDI settings and service" New topic
Author

JNDI initialisation failed, please check your JNDI settings and service

sameerleekha
Greenhorn

Joined: Jan 22, 2002
Posts: 26
Hi,
I am using IBM MQ Series 5.2 for JMS and Websphere 4.0.1.
My MQ server and App server is on same solaris machine.
In the JMSAdmin.config file I have given follwing setting:
INITIAL_CONTEXT_FACTORY=com.ibm.ejs.ns.jndi.CNInitialContextFactory
PROVIDER_URL=iiop://localhost/
when I am trying to start the JMSAdmin utility I am getting the error"JNDI initialisation failed, please check your JNDI settings and service"
please help


sameer
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

Moving to IBM/WebSphere.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Bug Menot
Greenhorn

Joined: Oct 15, 2004
Posts: 26
This symptom appears also when the directory you are writing file is incorrect.
For example, if the setting is
PROVIDER_URL=file:/C:/dir1/sdir2
and that directory is not found

It also happens when this directory is found, but the bindings file you are creating already exists.

I solved this problem by making sure the directory exists and renaming the existing bindings file in that directory
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNDI initialisation failed, please check your JNDI settings and service
 
Similar Threads
InitialContext lookup
Using simple java program i want to communicate with MQ
JMS in WAS 4.0
JNDI Initialisation failed
my MDB does not recives any messages