• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI of j2sdkee1.3.1

 
Yong Hu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use sun's J2sdkee1.3.1 to as my Naming server and JMS server. I start it in one machine( named A), and start my JMS application in another machine(named B).
I want to know how to config the jndi.properties in machine B. Which attributes should I use , "java.naming.provider.url" OR "com.sun.jms.internal.java.naming.provider.url"? And what value should be set to it?
In addtion,is it necessary to put config/orb.properties to machine B?
I am looking forwards to your reply.
Thanks in advance.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your machine 'B' should be started using
j2eeadmin -addJmsFactory < Q/TOPIC JNDI on Machine A> <Q/TOPIC Name> -props url=corbaname:iiop:A:1050#A
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Checkout this section of JMS tutorial for step by step instructions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic