This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS administration  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chances are no topic was associated with that jndi name. i would check the admin console.
regards,
-aao
 
Velik Huj
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That was my first reaction as well.
But jndi name in subscriber class the same as in adminconsole for topic.
 
We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!