I am not getting what will be the value given to xxxxxx for to connect with MQ. I am trying to connect Websphere MQ via JMS Application. My doubt is how i can set that value. Or What that value exactly means or Points. I read so many notes and google texts and all made me into chaos.
I thought i missing a very basic idea. Please give me the details on the .same
Thanks for your updates.but i didnt got what exactly it mean.
I got below exceptions during the standalone class which trying to access MQ Server and its Queue.
1) javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.ClassCastException]
2) Caused by: java.lang.ClassCastException
if i gave like this,
ctx.lookup("QueueConnectionFactory"); or ctx.lookup("jms/QueueConnectionFactory");
3) And Now,
javax.naming.ConfigurationException: Name space accessor for the java: name space has not been set. Possible cause is that the user is specifying a java: URL name in a JNDI Context method call but is not running in a J2EE client or server environment.
if i gave like this.
ctx.lookup("java:/QueueConnectionFactory"); or ctx.lookup("java:comp/env/QueueConnectionFactory");
I want to know what is the value it is looking at inside of look up and how to configure (Either in MQ Server or Environment)