Hi,
I am using was application server and websphere MQ. I am trying to access connection factory using JNDI naming. But it throwing following exception please suggest me.
The exception is
Feb 25, 2010 9:33:22 AM com.ibm.ws.naming.util.Helpers
WARNING: jndiGetObjInstNoop
java.lang.ClassCastException: javax.naming.Reference cannot be cast to javax.jms.QueueConnectionFactory
at client.com.example.HelloWorldMessage.callinitialcontext(HelloWorldMessage.java:39)
at client.com.example.HelloWorldMessage.main(HelloWorldMessage.java:23)
My main code is
[Message sent by forum member 'siddeshbm' (siddeshbm.9_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=388551