Hi All,
I am using Sun One Application Server.
When I try to run my JMS Client application (Simple application which used to send and receive Messages) I am getting the following error.
{java.naming.provider.url=iiop://localhost:3700, java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFact
ory}
javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL
mg.org/CosNa
ming/NamingContext/NotFound:1.0]
at com.sun.jndi.cosnaming.ExceptionMapper.mapException(Unknown Source)
at com.sun.jndi.cosnaming.CNCtx.callResolve(Unknown Source)
at com.sun.jndi.cosnaming.CNCtx.lookup(Unknown Source)
at com.sun.jndi.cosnaming.CNCtx.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at MessageSender.sendMessage(MessageSender.java:130)
at MessageSender.startMeessageSender(MessageSender.java:90)
at SDPSimulator.main(SDPSimulator.java:66)
Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL
mg.org/CosNaming/NamingContext/NotFound:1.0
at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(Unknown Source)
at org.omg.CosNaming._NamingContextExtStub.resolve(Unknown Source)
... 7 more
JNDI API lookup failed: javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.Not
Found: IDL
mg.org/CosNaming/NamingContext/NotFound:1.0]
Please let me know how to resolve this error.
Its bugging my head from last two days