ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » unable to create JNDI name space to lookup QUEUEMANAGER/QUEU

Post new topic  Reply to topic
 unable to create JNDI name space to lookup QUEUEMANAGER/QUEU « View previous topic :: View next topic » 
Author Message
ravikishore
PostPosted: Thu Nov 09, 2006 9:24 pm    Post subject: unable to create JNDI name space to lookup QUEUEMANAGER/QUEU Reply with quote

Newbie

Joined: 09 Nov 2006
Posts: 5

HAI

I am unable to configure JNDI name space for QueueManager and Queue as i could not Configure JMSAdmin tool. I am using default JMSAdmin.config which comes along with IBM WebSphere MQ serie installation.
Operating system : Windows XP with SP2
I have installed :
IBM Compatiable Jdk by using default System JVM(J2SE1.5.0)
IBM WebSphere Eclipse3.0.1
IBM WebSphere MQ Explorer
Cleint File Transfer
Server File Transfer
IBM Key Managent

what ever i installed is a WebSphere MQ Series 90 day Trail version version 6.0

so what i need is please tell me the
INITIAL_CONTEXT_FACTORY and PROVIDER_URL
for provider_url i want to use file based , if so how i can get that file
what are the entries i have to posted in that file , otherwise suggest me another alternative i can configure JNDI name space for QueueManager/ Queue. So that i can write a program for IBM WebSphere MQ Java/ JMS

I already executed JMSAdmin tool by uncommenting initial context and provider url with following options

Initial_Context_Factory = "com.sun.jndi.ldap.LdapCtxFactory"
Provider_URL ="ldap://polaris/o=ibm,c=us"

for the above option i got the following error

5724-H72, 5655-L82, 5724-L26 (c) Copyright IBM Corp. 2002,2005. All Rights Reserved.
Starting Websphere MQ classes for Java(tm) Message Service Administration

Initializing JNDI Context...
INITIAL_CONTEXT_FACTORY: com.sun.jndi.ldap.LdapCtxFactory
PROVIDER_URL: ldap://polaris/o=ibm,c=us
JNDI initialization failed, please check your JNDI settings and service.
For additional information on the cause of this problem run with the -v argument

Error: javax.naming.CommunicationException: polaris:389 [Root exception is java.net.UnknownHostExcep
tion: polaris]
and also with the options

Initial_Context_Factory = "com.sun.jndi.fscontext.RefFSContexFactory"
Provider_URL ="file:/C:/JNDI-Directory"

for the above option I got the following error:

5724-H72, 5655-L82, 5724-L26 (c) Copyright IBM Corp. 2002,2005. All Rights Reserved.
Starting Websphere MQ classes for Java(tm) Message Service Administration

Initializing JNDI Context...
INITIAL_CONTEXT_FACTORY: com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL: file:/C:/JNDI-Directory
JNDI initialization failed, please check your JNDI settings and service.
For additional information on the cause of this problem run with the -v argument

Error: javax.naming.NameNotFoundException; remaining name 'C:\JNDI-Directory'

Thanks & Regards

Ravikishore
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 10, 2006 4:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www.mqseries.net/phpBB2/viewtopic.php?t=33189



What does "UnknownHostException" mean? Why is it complaining about the word "polaris"?

What does "NameNotFoundException" mean? Why is it complaining about the word "C:\JNDI-Directory"?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jlamond
PostPosted: Fri Nov 10, 2006 4:37 am    Post subject: Reply with quote

Voyager

Joined: 28 May 2002
Posts: 94
Location: Paris

You need to create the C:/JNDI-Directory directory
_________________
Jean-Marc
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » unable to create JNDI name space to lookup QUEUEMANAGER/QUEU
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.