Simple,

using the tomcat admin feature, you can specify the context to be whatever
you like. To access the admin feature, you need to set it first using the
tomcat-user.xml file located in your conf directory. An example that I have
below works just fine for me. After that then you should be able to add the
context you like anywhere so long as tomcat knows where it's going.  

In Linux: /tomcat/conf/tomcat-user.xml

<tomcat-users>
 
<user name="admin" password="xxxx" roles="admin" />
<user name="tomcat" password="tomcat" roles="tomcat" />
  <user name="role1"  password="tomcat" roles="role1"  />
  <user name="both"   password="tomcat" roles="tomcat,role1" />
</tomcat-users>

After that got http://localhost:8080/admin and bam... you should now be able
to access the admin feature. 

After you login, just follow the examples that are already in place and you
should figure how to add the context. If worse comes to worse, result to the
manual. 

Nael

-----Original Message-----
From: Tye, Timothy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 2:37 PM
To: [EMAIL PROTECTED]
Subject: How do I connect JNDI in Tomcat 4.0 to JNDI in JBoss?


I am trying to run Tomcat 4.0 and JBoss on separate virtual machines.
How do I get the JNDI context in Tomcat to look in JBoss JNDI context for
the <EJB-link> Remote object </EJB-link>?
 
Tim Tye
Computer Associates
Senior Software Developer
tel: +1 972 801-6436
fax: none
pager: none
mobile: +1 214 924-6396
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to