You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/08/23 12:45:52 UTC

DO NOT REPLY [Bug 11965] New: - undocumented requirement for executable java.conf

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11965>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11965

undocumented requirement for executable java.conf

           Summary: undocumented requirement for executable java.conf
           Product: Tomcat 4
           Version: 4.0.4 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Installable Packages
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ian@iay.org.uk


The /etc/tomcat4/tomcat4.conf file installed by default includes the following:

# Source Java system configuration if exist
if [ -x /etc/java.conf ]; then
. /etc/java.conf
fi

This requires that the new configuration file /etc/java.conf must be EXECUTABLE 
in order to be processed, which I think is an un-necessary (and as far as I can 
see, undocumented) restriction.  The following would be more sensible:

# Source Java system configuration if exist
if [ -e /etc/java.conf ]; then
. /etc/java.conf
fi

In other words, do what the comment says.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>