aspose file tools*
The moose likes Websphere and the fly likes JMSAdmin tool problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "JMSAdmin tool problem" Watch "JMSAdmin tool problem" New topic
Author

JMSAdmin tool problem

Goutam Bhattacharjee
Ranch Hand

Joined: Aug 05, 2003
Posts: 44
Hello everybody,
I am trying to run the JMSAdmin tool to create a store JMS objects inside a JNDI namespace.
The settings are:

INITIAL_CONTEXT_FACTORY=com.ibm.websphere.naming.WsnInitialContextFactory
&
PROVIDER_URL=iiop://localhost:2809/

After I run the following command:

JMSAdmin -v -t

from a command prompt, the "InitCtx" prompt appears.
However, when I attempt to issue any command inside the "InitCtx" prompt, I get the following exception in the trace file: mqjms.trc



08:36:47 [1101222407844] [main] com.ibm.mq.jms.admin.JMSAdmin@5d7056 exitMessage() exit
08:36:47 [1101222407844] [main] com.ibm.mq.jms.admin.JMSAdmin@5d7056 commandLoop() exit
08:36:47 [1101222407844] [main] com.ibm.mq.jms.admin.AdminService@291aff ==> stopJNDI() entry
08:36:48 [1101222408965] [P=408365 =0:CT] com.ibm.mq.jms.admin.AdminService@291aff
Throwing javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.reflect.InvocationTargetException]
08:36:48 [1101222408965] [P=408365 =0:CT] com.ibm.mq.jms.admin.AdminService@291aff stopJNDI() exit
08:36:48 [1101222408965] [P=408365 =0:CT] com.ibm.mq.jms.services.psk.MessageCatalogue@2b95e6 getMessage(0)() entry
08:36:48 [1101222408965] [P=408365 =0:CT] com.ibm.mq.jms.services.psk.MessageCatalogue@2b95e6 getMessage(0)() exit
08:36:48 [1101222408965] [P=408365 =0:CT] com.ibm.mq.jms.admin.JMSAdmin@5d7056 constructor() javax.naming.NamingException exception caught: Failed to initialize the ORB
javax.naming.NamingException: Failed to initialize the ORB. Root exception is java.lang.reflect.InvocationTargetException: java.lang.UnsatisfiedLinkError: registerNatives
at com.ibm.jvm.ExtendedSystem.registerNatives(Native Method)

at com.ibm.jvm.ExtendedSystem.<clinit>(ExtendedSystem.java:163)
at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:224)
at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:203)
at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:107)
at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:1003)
at com.ibm.rmi.corba.ORB.orbParameters(ORB.java:1228)
at com.ibm.CORBA.iiop.ORB.orbParameters(ORB.java:1151)
at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1178)
at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1704)
at org.omg.CORBA.ORB.init(ORB.java:329)
at com.ibm.ws.orb.GlobalORBFactory.init(Unknown Source)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:189)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:365)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:313)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:364)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:408)
at com.ibm.ws.naming.util.WsnInitCtx.close(WsnInitCtx.java:390)
at javax.naming.InitialContext.close(InitialContext.java:481)
at com.ibm.mq.jms.admin.AdminService.stopJNDI(AdminService.java:255)
at com.ibm.mq.jms.admin.JMSAdmin.<init>(JMSAdmin.java:256)
at com.ibm.mq.jms.admin.JMSAdmin.main(JMSAdmin.java:1890)
08:36:48 [1101222408965] [P=408365 =0:CT] com.ibm.mq.jms.admin.JMSAdmin@5d7056 Unable to stop JNDI.
08:36:48 [1101222408965] [P=408365 =0:CT] com.ibm.mq.jms.admin.JMSAdmin@5d7056 constructor() exit
08:36:48 [1101222408965] [P=408365 =0:CT] com.ibm.mq.jms.admin.JMSAdmin::main() exit

Any ideas? Please help....


gb
 
 
subject: JMSAdmin tool problem