Hello,
I'm a new one for JMS. When i run the JMS samples in weblogic 6.0..
I got the error like
Exception in thread "main" javax.naming.NameNotFoundException: Unable to resolve weblogic.examples.jms.QueueConnectionFactory Resolved: 'weblogic' Unresolved:'examples' ; remaining name 'jms.QueueConnectionFactory'
at weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRequest.java:90)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)
at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNode_WLStub.java:121)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at examples.jms.queue.QueueSend.init(QueueSend.java:51)
at examples.jms.queue.QueueSend.main(QueueSend.java:98).
But before i set the JNDI name for that that JMS in Console. where i got the following changes in my config.xml...
<JMSConnectionFactory AllowCloseInOnMessage="false" ClientId="0"
DefaultDeliveryMode="Persistent" DefaultPriority="4"
DefaultTimeToLive="1"
JNDIName="weblogic.examples.jms.QueueConnectionFactory"
MessagesMaximum="10" Name="weblogic.examples.jms.QueueConnectionFactory" OverrunPolicy="KeepNew"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
But still i found the same error.. What i should do for next
Thanx in advance
-Kalaiselvan.S
www.kalaiselvan.com