|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Domnio v8 to WMQ v7( Linux) connection |
« View previous topic :: View next topic » |
Author |
Message
|
NANNURU |
Posted: Mon Jan 11, 2010 7:42 am Post subject: Domnio v8 to WMQ v7( Linux) connection |
|
|
Novice
Joined: 08 Jan 2010 Posts: 13
|
Hi Team,
I am connecting form Domnio v8 to WMQ v7( Linux).
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.fscontext.RefFSContextFactory");
env.put(Context.PROVIDER_URL,"ldap://<remote server details where my MQ is running>:port");
I have given the above details based the belwo URL.
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/jm10810_.htm
but still it is not working.
Kindly advise us what exactly i need to provide on the Provided URL.
I am getting the below exception:
javax.naming.InvalidNameException: ldap://<server>:port [Root exception is java.net.MalformedURLException: unknown protocol: ldap]
at com.sun.jndi.fscontext.FSContextFactory.getFileNameFromURLString(FSContextFactory.java:119)
at com.sun.jndi.fscontext.RefFSContextFactory.createContext(RefFSContextFactory.java:41)
at com.sun.jndi.fscontext.RefFSContextFactory.createContextAux(RefFSContextFactory.java:47)
at com.sun.jndi.fscontext.FSContextFactory.getInitialContext(FSContextFactory.java:49)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:679)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:259)
at javax.naming.InitialContext.init(InitialContext.java:235)
at javax.naming.InitialContext.<init>(InitialContext.java:209)
at JavaAgent.NotesMain(JavaAgent.java:45)
at lotus.domino.AgentBase.runNotes(Unknown Source)
at lotus.domino.NotesThread.run(Unknown Source)
Caused by: java.net.MalformedURLException: unknown protocol: ldap
at java.net.URL.<init>(URL.java:609)
at java.net.URL.<init>(URL.java:499)
at java.net.URL.<init>(URL.java:448)
at com.sun.jndi.fscontext.FSContextFactory.getFileNameFromURLString(FSContextFactory.java:116)
... 10 more |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jan 11, 2010 8:12 am Post subject: Re: Domnio v8 to WMQ v7( Linux) connection |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
We're not your team, and possibly you should be asking them these very simple questions.
NANNURU wrote: |
Kindly advise us what exactly i need to provide on the Provided URL. |
You were given that information here
and you could work out the problem if you actually looked at this:
NANNURU wrote: |
javax.naming.InvalidNameException: ldap://<server>:port [Root exception is java.net.MalformedURLException: unknown protocol: ldap]
|
_________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
manicminer |
Posted: Mon Jan 11, 2010 8:31 am Post subject: Re: Domnio v8 to WMQ v7( Linux) connection |
|
|
 Disciple
Joined: 11 Jul 2007 Posts: 177
|
NANNURU wrote: |
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.fscontext.RefFSContextFactory");
env.put(Context.PROVIDER_URL,"ldap://<remote server details where my MQ is running>:port");
|
Read those 2 lines very carefully... and I'm sure it will be obvious what the issue is. Especialy when coupled with Vitor's advice of actually reading the error message you are getting. _________________ Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. |
|
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
|
|
|
|