private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Table of Contents
java:comp/env lookups in webapps. This is
an optional feature for which you need to do some setup.
If you are using the standard distribution of Jetty, you must enable the jndi module, if it is not already enabled via a transitive dependency from another module. Assuming you have jetty installed in /opt/jetty, and you have made a jetty base in /opt/jetty/my-base, do:
cd /opt/jetty cd my-base java -jar ../start.jar --add-to-startd=jndi
You can now start Jetty and use JNDI within your webapps. See Using JNDI for information on how to add entries to the JNDI environment that Jetty can look up within webapps.