Hi

Is it possible to create environment entries in jndi which then can be then
looked up
outside of the app server

e.g <env-entry>
    <description>test</description>
    <env-entry-name>TEST_ENTRY</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>test value</env-entry-value>
   </env-entry>
I have done this in the web.xml file and have an empty jboss-web.xml file
under WEB-INF works fine when
a servlet does a look up e.g java:comp/env/TEST_ENTRY works fine.
Unfortunately i get a NameNotBoundException when run
ocally( lookup(TEST_ENTRY) & lookup(env/TEST_ENTRY)

Any thoughts?

Richard

JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to