|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
unable to create JNDI name space to lookup QUEUEMANAGER/QUEU |
« View previous topic :: View next topic » |
Author |
Message
|
ravikishore |
Posted: Thu Nov 09, 2006 9:24 pm Post subject: unable to create JNDI name space to lookup QUEUEMANAGER/QUEU |
|
|
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 |
|
 |
jefflowrey |
Posted: Fri Nov 10, 2006 4:11 am Post subject: |
|
|
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 |
|
 |
jlamond |
Posted: Fri Nov 10, 2006 4:37 am Post subject: |
|
|
Voyager
Joined: 28 May 2002 Posts: 94 Location: Paris
|
You need to create the C:/JNDI-Directory directory _________________ Jean-Marc |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|