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=5952>.
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=5952

Refence to $JAVACMD  in tomcat.conf incorrect in RPM dist

           Summary: Refence to $JAVACMD  in tomcat.conf incorrect in RPM
                    dist
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Installable Packages
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The following reference in the /etc/tomcat/conf/tomcat4.conf file is incorrect.
# You can pass some parameters to java
# here if you wish to
#JAVACMD="$JAVA_HOME/bin/java -Xminf0.1 -Xmaxf0.3"

It should reference the $CATALINA_OPTS variable, for eg
CATALINA_OPTS="-Xms64m -Xmx256m"

The /usr/bin/dtomcat4 script does not check for $JAVACMD, it checks for 
CATALINA_OPTS. This is the comment from the dtomcat4 script.

#CATALINA_OPTS (Optional) Java runtime options used when the "start",
#                 "stop", or "run" command is executed

This may trip people up who are trying to tune their VM.

------- Additional Comments From [EMAIL PROTECTED]  2002-05-06 15:12 -------
I was tripped up when I tried to add "-Djava.awt.headless=true" to JAVACMD. I
ended up using JAVA_OPTS rather than CATALINA_OPTS. Should
/etc/tomcat/conf/tomcat4.conf perhaps make mention of JAVA_OPTS as well?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to