[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Sharing wars between virtual hosts
jaikiran
do-not-reply at jboss.com
Tue Jul 17 15:32:07 EDT 2007
anonymous wrote : In JBoss, is there a JNDI context for each web context
Are you looking for "env-entry" for each web context, in which case each of the web-context will have the entry in its own java:/comp/env namespace.
More details about env-entry can be found in the dtd of web.xml at http://java.sun.com/dtd/web-app_2_3.dtd:
<!--
| The env-entry element contains the declaration of a web application's
| environment entry. The declaration consists of an optional
| description, the name of the environment entry, and an optional
| value. If a value is not specified, one must be supplied
| during deployment.
| -->
| <!ELEMENT env-entry (description?, env-entry-name, env-entry-value?,
| env-entry-type)>
|
| <!--
| The env-entry-name element contains the name of a web applications's
| environment entry. The name is a JNDI name relative to the
| java:comp/env context. The name must be unique within a web application.
|
| Example:
|
| <env-entry-name>minAmount</env-entry-name>
|
| Used in: env-entry
| -->
| <!ELEMENT env-entry-name (#PCDATA)>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065131#4065131
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065131
More information about the jboss-user
mailing list