IntelliJ Java IDE
The moose likes BEA/Weblogic and the fly likes JMS administration Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "JMS administration" Watch "JMS administration" New topic
Author

JMS administration

Velik Huj
Greenhorn

Joined: Sep 10, 2001
Posts: 4
Hi,
while running JMS pub/sub examples realized that they works just on example server, all my attempts to run it on default did not get any result. I created Connetion Factory, Server, Store and Destination - always while getting Topic chatTopic = (Topic)ctx.lookup("weblogic.examples.jms.exampleTopic") i got exception.
Could be any security admimistration needed?
Thanks,
Velik

javax.naming.NameNotFoundException: Unable to resolve weblogic.examples.jms.exampleTopic. Resolved: 'weblogic.examples.jms' Unresolved:'exampleTopic' ; remaining name ''at weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRequest.java:90)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:247)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:225)
at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNod
e_WLStub.java:121)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at Chat_Weblogic7001.<init>(Chat_Weblogic7001.java:66)
at Chat_Weblogic7001.main(Chat_Weblogic7001.java:145)
I almost sure that some security issues involved, but
Andrew Ao
Greenhorn

Joined: Sep 10, 2001
Posts: 16
Chances are no topic was associated with that jndi name. i would check the admin console.
regards,
-aao
Velik Huj
Greenhorn

Joined: Sep 10, 2001
Posts: 4
That was my first reaction as well.
But jndi name in subscriber class the same as in adminconsole for topic.
 
 
subject: JMS administration
 
Threads others viewed
BasicOutboundRequest exception
weblogic6.1 - JNDI name
getHandle Error
Security Violation: In Cabin EJB
ObjectNotFoundException with findByPrimaryKey
MyEclipse, The Clear Choice