File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Unable to resolve JMS TOPIC Name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Unable to resolve JMS TOPIC Name" Watch "Unable to resolve JMS TOPIC Name" New topic
Author

Unable to resolve JMS TOPIC Name

david souk
Greenhorn

Joined: Nov 27, 2002
Posts: 1
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

Joined: Jul 29, 2002
Posts: 24
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to resolve JMS TOPIC Name