• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JNDI initialisation failed, please check your JNDI settings and service

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to IBM/WebSphere.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic