Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to resolve JMS TOPIC Name

 
david souk
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
I am trying to subscribe to a topic on a remote jms server using runnin on weblogic 6.1. Here is the exception that I get:
javax.naming.NameNotFoundException: Unable to resolve 'BEACON.OUTBOUND.ORDER.TOPIC' Resolved: '' Unresolved:'BEACON' ; remaining name 'BEACON.OUTBOUND.ORDER.TOPIC'
at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:85)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy0.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:341)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at com.mcgrawhill.profcontent.ProfJMSListener.<init>(ProfJMSListener.java:83)
at com.mcgrawhill.profcontent.ProfJMSListener.main(ProfJMSListener.java:146)
$
I'm not sure what the problem might be as I have verified that the remote JMS server is running and that the topic is appropriately create...please shed some light...
thank you..
Please email me - davidsouk@yahoo.com
 
georgejk
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Just check these points
1. Create one TopicConnectionFactory in weblogic sever.
2. You have to lookup for this factory by
context.lookup(topicConnectionFactoryName)
3. After lookup createTopicConnection() method of
TopicConnectionFactory will give you the
TopicConnection object.
Just check these points and if anything more to clarify, plz let me know
george
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic