Where exactly in the start process can I add "-Dfile.encoding=ISO-8859-1"
to ensure this is the base encoding of Tomcat:
Quote from tomcat.sh (invoked with "start" from startup.sh):
<quote>
if [ "$1" = "start" ] ; then
shift
echo Using classpath: ${CLASSPATH}
if [ "$1" = "-security" ] ; then
shift
echo Starting with a SecurityManager
$JAVACMD $TOMCAT_OPTS -Djava.security.manager -
Djava.security.policy==${TOMCAT_HOME}/conf/tomcat.policy -
Dtomcat.home=${TOMCAT_HOME} org.apache.tomcat.startup.Tomcat "$@" &
else
$JAVACMD $TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME}
org.apache.tomcat.startup.Tomcat "$@" &
fi
# $JAVACMD org.apache.tomcat.shell.Startup "$@" &
</quote>
($JAVACMD= $JAVA_HOME/bin/java and $TOMCAT_OPTS seem to be "")
I tried adding my line at several positions in the "else" part, but get
errors like "XmlMapper: Can't find resource for entity:......". Isn't
there anyone that can give advice on the subject? I use Tomcat 3.2.4
(Yes, I know this is old, but it's what I'm stuck with for now).
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]