4 Replies Latest reply on Apr 28, 2006 12:03 PM by David Duchaine

    env-entry elements not bound with virtual hosts (external di

    David Duchaine Newbie

      JBoss 4.0.2 and 4.0.3

      env-entry elements specified in web.xml are not put in JNDI when a virtual host is deployed with an external directory.

      I have this server.xml config:


      appBase element c:\\domaindirectory has the .war structure



      <Engine name="jboss.web" defaultHost="localhost">
      <Host name="domainname.com" appBase="c:\\domaindirectory" autoDeploy="false" deployXML="false">
       <DefaultContext allowLinking="true" useNaming="true" override="true"/>
       <Context docBase="." path=""/>
       <Alias>www.domainname.com</Alias>
       <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="domainname_com-" suffix=".log" pattern="common" directory="${jboss.server.home.dir}/log"/>
      
      </Host>
      </Engine>
      



      Am I missing something here?