No from a stand alone Tomcat Thanks ! -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Coetmeur, Alain Gesendet: Donnerstag, 23. Mai 2002 15:10 An: '[EMAIL PROTECTED]'; Tomcat User (E-Mail) Betreff: RE: [JBoss-user] Access InitialContext of Tomcat 4.0.2
> -----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 ) _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user