File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes JNDI of j2sdkee1.3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JNDI of j2sdkee1.3.1" Watch "JNDI of j2sdkee1.3.1" New topic

JNDI of j2sdkee1.3.1

Yong Hu

Joined: Apr 03, 2003
Posts: 6
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 in machine B. Which attributes should I use , "java.naming.provider.url" OR ""? And what value should be set to it?
In addtion,is it necessary to put config/ to machine B?
I am looking forwards to your reply.
Thanks in advance.
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
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

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
Checkout this section of JMS tutorial for step by step instructions.
I agree. Here's the link:
subject: JNDI of j2sdkee1.3.1
jQuery in Action, 3rd edition