users@glassfish.java.net

Re: Cannot set my own default-web.xml file in GlassFish v3.0.1 Embedded

From: <glassfish_at_javadesktop.org>
Date: Tue, 22 Jun 2010 17:40:46 PDT

I have no clue as to the connection between the default-web.xml and the access log files, but I just noticed that if I disable the access logging my default-web.xml file once again is read correctly.

Here is a snippet from my domain.xml file I change the value of access-logging-enabled to false:

      <http-service access-logging-enabled="true">
        <access-log />
        <virtual-server
            id="vserver-secure"
            network-listeners="http-listener-1,http-listener-2"
            docroot="${com.sun.aas.instanceRoot}/docroot"
            access-log="${com.sun.aas.instanceRoot}/../logs/access"
            log-file="${com.sun.aas.instanceRoot}/../logs/vserver-secure.log">
        </virtual-server>
      </http-service>

Any clues as to what the connection might be? I really do need access logging enabled AND be able to have my default-web.xml file read.
[Message sent by forum member 'hotngui']

http://forums.java.net/jive/thread.jspa?messageID=475433