Posted: Thu Jul 10, 2003 12:10 pm Post subject: trying j2ee client that accesses jms in wsad 5
Newbie
Joined: 20 Jun 2003 Posts: 4
Hi.
I am not being able to run a j2ee client
application that puts and gets jms messages
in Websphere Studio Application Developer 5.0.I am
trying to use Internal JMS provider.
but I am getting following error:
com.ibm.websphere.naming.CannotInstantiateObjectException:
Exception occurred while the JNDI NamingManager was
processing a javax.naming.Reference object. Root
exception is java.lang.Exception: De-reference of JMS
provider's Reference failed - check provider is on
classpath
at
com.ibm.ejs.jms.JMSConnectionFactoryFactory.getObjectInstance(JMSConnectionFactoryFactory.java:89)
at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
at
com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
at
com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1674)
at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1537)
at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1457)
at
com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1167)
at
com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
at
javax.naming.InitialContext.lookup(InitialContext.java:359)
at com.test.TestAppClient.main(PointToPoint.java:23)
at java.lang.reflect.Method.invoke(Native Method)
at
com.ibm.websphere.client.applicationclient.launchClient.createContainerAndLaunchApp(launchClient.java:616)
at
com.ibm.websphere.client.applicationclient.launchClient.main(launchClient.java:420)
at java.lang.reflect.Method.invoke(Native Method)
at
com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
This error is telling me that you haven't added all of the MQ/JMS related jar files to your classpath. It has been a while since I've used WSAD, but I thought that there was a place under properties to add external jars.
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