> -----Message d'origine-----
> De: Dirk Storck [mailto:[EMAIL PROTECTED]]
> Date: jeudi 23 mai 2002 01:51
> À: Jboss User (E-Mail); Tomcat User (E-Mail)
> Objet: [JBoss-user] Access InitialContext of Tomcat 4.0.2
> 
> 
> 
> Hi,
> 
> I know it doesnt belongs to this mailing list but maybe 
> someone can help.
> 
> How can I access the InitialContext of Tomcat from whithin an 
> external java
> programm?

from the embedded catalina ?

there are no tomcat InitialContext, since jboss
propose it's own InitialContext...
to contact EJB and MBeans resources, just
include the jboss\client\jnp-client.jar, the jndi.properties
and alike as explained in jboss doc

http://www.jboss.org/online-manual/HTML/ch01s15.html

if you want to use a separate Tomcat, in order to
contact Jboss resources you need to add the
same jnp-client.jar, jndi.properties to the server classpath
(I think you can simply put it in the common/lib )

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to