|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
how to use JMSAdmin? |
« View previous topic :: View next topic » |
Author |
Message
|
mailtosathiyan@gmail.com |
Posted: Sun Aug 21, 2005 10:43 pm Post subject: how to use JMSAdmin? |
|
|
Novice
Joined: 02 Aug 2005 Posts: 13
|
hi
when i used JMSAdmin to create QCF nd Q
with this option in JMSAdmin.config
INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file:/C:/myjndi
it's working fine
but with this option in JMSAdmin config
INITIAL_CONTEXT_FACTORY=com.ibm.websphere.naming.WsnInitialContextFactory
PROVIDER_URL=iiop://localhost:2809
i m getting the error like this
5724-H72, 5655-L82, 5724-L26 (c) Copyright IBM Corp. 2002,2005. All Rights Reser
ved.
Starting Websphere MQ classes for Java(tm) Message Service Administration
Initializing JNDI Context...
INITIAL_CONTEXT_FACTORY: com.ibm.websphere.naming.WsnInitialContextFactory
PROVIDER_URL: iiop://localhost:2809
Class specified by INITIAL_CONTEXT_FACTORY not found in CLASSPATH
Error: java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory
so what jar i have set in the classpath?
regards
sathiya |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Aug 22, 2005 3:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
JMSAdmin is really only good for two things: - File system contexts
- WAS version 4 or less
It will not create permanent entries in the JNDI of WAS version 5 or later. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mailtosathiyan@gmail.com |
Posted: Mon Aug 22, 2005 4:29 am Post subject: how to run JMSAdmin using this option? |
|
|
Novice
Joined: 02 Aug 2005 Posts: 13
|
my problem is i m unable to run JMSAdmin with following option in JMSAdmin.config
INITIAL_CONTEXT_FACTORY:com.ibm.websphere.naming.WsnInitialContextFactory
PROVIDER_URL: iiop://localhost:2809
getting error like this
Initializing JNDI Context...
INITIAL_CONTEXT_FACTORY: com.ibm.websphere.naming.WsnInitialContextFactory
PROVIDER_URL: iiop://localhost:2809
Class specified by INITIAL_CONTEXT_FACTORY not found in CLASSPATH
how to resolve this and run JMSAdmin?
anyone tell me what jar files i have to add to the classpath to run JMSAdmin using above option?
regards
sathiya |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Aug 22, 2005 4:49 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Try running <WAS-install>/bin/setupCmdLine(.sh/.bat) and then running JMSAdmin.
But again, if you're trying to create resources in WAS 5 or later, you *should not* use JMSAdmin. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Aug 22, 2005 6:15 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Also,
Using Java -> Guidance For Users -> Prerequisites wrote: |
To use the WebSphere MQ JMS administration tool, you need one of the following service provider packages, supplied with WebSphere MQ:
Lightweight Directory Access Protocol (LDAP) - ldap.jar, providerutil.jar.
File system - fscontext.jar, providerutil.jar.
These packages provide the Java(TM) Naming and Directory Service (JNDI) service. This is the resource that stores physical representations of the administered objects. Users of WebSphere MQ JMS probably use an LDAP server for this purpose, but the tool also supports the use of the file system context service provider. If you use an LDAP server, configure it to store JMS objects. For information to assist with this configuration, see the documentation for your LDAP server. |
_________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|