> All other type of JNDI lookups (EJBs, resource references) > work just fine. Running JBoss + Tomcat in the default > configuration on W2K platform (run.bat). > > --- from web.xml ------ > <env-entry> > <description><![CDATA[Example of Env Entry]]></description> > <env-entry-name>Title</env-entry-name> > <env-entry-value>Fibonacci computation</env-entry-value> > <env-entry-type>java.lang.String</env-entry-type> > </env-entry> > ----------------------- > > ----- from servlet ---- > // env below is a Hashtable with the naming factory > // properties and such set...does not work > // Context context = new InitialContext(env); > Context context = new InitialContext(); > value = (String) context.lookup("java:comp/env/Title"); > -----------------------
This, btw, works perfectly, if I run Tomcat WITHOUT JBoss. With or without modifications to server.xml. Same exact .war file (minus EJBs). -TPP ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user