|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ-JMS - JMSAdmin configuration Error - Please help |
« View previous topic :: View next topic » |
Author |
Message
|
spraja |
Posted: Tue Mar 18, 2003 7:40 pm Post subject: MQ-JMS - JMSAdmin configuration Error - Please help |
|
|
Newbie
Joined: 18 Mar 2003 Posts: 2 Location: Singapore
|
I am using WebSphere MQ5.3 for AIX.
My JMSAdmin.config is as below
INITIAL_CONTEXT_FACTORY=com.ibm.websphere.naming.WsnInitialContextFactory
PROVIDER_URL=iiop://localhost
I get the following exception when i start the JMSAdmin
Initialising JNDI Context...
INITIAL_CONTEXT_FACTORY: com.ibm.ejs.ns.jndi.CNInitialContextFactory
PROVIDER_URL: iiop://localhost
Exception in thread "main" java.lang.NoClassDefFoundError: org/omg/CosNaming/NamingContextExtOperations
Please help. Thanks. |
|
Back to top |
|
 |
meekings |
Posted: Wed Mar 19, 2003 12:37 pm Post subject: |
|
|
 Voyager
Joined: 28 Jun 2001 Posts: 86 Location: UK, South West
|
Use INITIAL_CONTEXT_FACTORY com.ibm.ejs.ns.jndi.CNInitialContextFactory instead - see <unreachable url - see followup>.
Apparently there's some problem with JMSAdmin and the value you're using.
Last edited by meekings on Wed Mar 19, 2003 12:43 pm; edited 1 time in total |
|
Back to top |
|
 |
meekings |
Posted: Wed Mar 19, 2003 12:40 pm Post subject: |
|
|
 Voyager
Joined: 28 Jun 2001 Posts: 86 Location: UK, South West
|
Oops, sorry - that link is behind a firewall. Here's the appropriate info:
"1. Modify your JMSAdmin.config to look like this:
INITIAL_CONTEXT_FACTORY=com.ibm.ejs.ns.jndi.CNInitialContextFactory
PROVIDER_URL=iiop://localhost:900
Specify the correct PROVIDER_URL for your environment. In this example, the PROVIDER_URL specifies that WebSphere Application Server is running on the same machine (hostname = localhost) and it is listening on port 900. Technically, the context factory com.ibm.ejs.ns.jndi.CNInitialContextFactory is deprecated in WebSphere Application Server 4.0; however, the new context factory com.ibm.websphere.naming.WsnInitialContextFactory doesn't work as it should with the JMSAdmin application." |
|
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
|
|
|
|