Hello,
<br>Does anyone know how to configure a different set of JNDI environment entries for each 
virtual host that uses the same WAR in JBoss? This can be done with 
stand alone Tomcat using context.xml fragments under 
CATALINA_HOME/conf/Catalina/www.site1.com/ROOT.xml
<br>
<br>&lt;Context&gt;
<br>&nbsp; &lt;Environment description=&quot;Unique Host ID&quot; name=&quot;siteId&quot; 
type=&quot;java.lang.String&quot; value=&quot;site1&quot;/&gt;
<br>&lt;/Context&gt;
<br>
<br>I can then give each virtual host it&#39;s own siteId so that it accesses 
the correct rows from a shared database.
<br>
<br>This doesn&#39;t seem to work with Tomcat embedded in JBoss. The
closest I have found so far is jboss-web.xml under WEB-INF inside the
WAR, but it seems that you can only configure environment entries for
this WAR that would then be shared across all virtual hosts that use it.<br>
<br>Any information would be appreciated?
<br>
<br>Thanks,
<br>
<br>Steve