|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMSAdmin Utility error |
« View previous topic :: View next topic » |
Author |
Message
|
neocruz |
Posted: Thu Sep 30, 2004 6:12 am Post subject: JMSAdmin Utility error |
|
|
Acolyte
Joined: 13 Jun 2004 Posts: 54
|
I'm attempting to run the JMSAdmin utillity. I've made the following changes to my JMSAdmin.config file:
INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file:/C:/JMSConfig
SECURITY_AUTHENTICATION=none
Here is the output of the command:
****************************************************
C:\WebSphereMQ\Java\bin>jmsadmin -v -t
5648-C60, 5724-B41, 5655-F10 (c) Copyright IBM Corp. 2002. 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:/JMSConfig
JNDI initialization failed, please check your JNDI settings and service
Error: javax.naming.NameNotFoundException; remaining name 'C:\JMSConfig'
********************************************************
Does the c:\JMSConfig file need to pre-exist? Why is this erroring out?
Any help would be appreciated.
Thanks,
Rich |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 30, 2004 6:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Why do you want to run JMSAdmin? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
neocruz |
Posted: Thu Sep 30, 2004 6:32 am Post subject: |
|
|
Acolyte
Joined: 13 Jun 2004 Posts: 54
|
Ive have a user that will be connecting to MQ through java using a straight connection. I need to give them a JNDI file. There is no LDAP or App server. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Sep 30, 2004 9:54 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I just tried running JMSAdmin with a file that pointed to a non-existent directory. I got the same error as you. Have you tried creating the directory you want to use (ie, C:\JMSConfig )? If so, what did it do? |
|
Back to top |
|
 |
neocruz |
Posted: Thu Sep 30, 2004 10:19 am Post subject: |
|
|
Acolyte
Joined: 13 Jun 2004 Posts: 54
|
I created the directory and it worked fine. The destination directory must exist.
Thanks!!! |
|
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
|
|
|
|