Yep, the "update" really just changed the name of Bootstrap :)

In the process of debugging this now and I will definitely post the results
here / submit a patch, hopefully later today.

Rob

On Fri, Mar 19, 2010 at 10:34 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Rob,
>
> On 3/19/2010 1:25 PM, Rob S. wrote:
> > After using the jsvc init script provided with Tomcat 6, Tomcat no longer
> > writes any log files to /logs.  The only log file I'm getting is
> > catalina.out, which is coming from JSVC capturing System.out and
> System.err.
>
> Are you talking about bin/Tomcat.sh that comes bundled with Tomcat 6
> under bin/jsvc.tar.gz? I'm looking at 6.0.20's version of that file, and
> it's got some disturbing stuff in it, like this:
>
> JAVA_HOME=/usr/java/jdk1.3.1
>
> and this:
>
> CLASSPATH=\
> $JAVA_HOME/lib/tools.jar:\
> $DAEMON_HOME/dist/commons-daemon.jar:\
> $CATALINA_HOME/bin/bootstrap.jar
>
> (note the tools.jar)
>
> The script Tomcat5.sh has similar craziness in it, but I suppose those
> scripts /do/ say:
>
> # Adapt the following lines to your configuration
>
> Given that the script basically has to be configured, can you please
> post any customizations that you have made to the script?
>
> I haven't looked at the source to jsvc, but I see that the -errfile
> parameter to jsvc is set to '&1' which, in many shells, means "standard
> output". You can see from the (rather simple) script that the -outfile
> and -errfile options are set to reasonable values
> ($CATALINA_HOME/logs/catalina.out).
>
> Actually, if you're using multiple Tomcat instances and setting
> CATALINA_BASE, then the script is wrong: it should say:
>
>    -outfile $CATALINA_BASE/logs/catalina.out \
>    -errfile '&1' \
>
> Better yet:
>
>    -outfile "$CATALINA_HOME/logs/catalina.out" \
>    -errfile '&1' \
>
> Oh, those pesky spaces in path names! (Cue Andre's rant)
>
> > My Google-fu must be on vacation because this seems like it would be a
> > common question :)
>
> :)
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkujtbIACgkQ9CaO5/Lv0PCcVgCfQxE6QpBJu80x+RLO5RBLZy1V
> 1NEAniXVtMqyiUsDioaDT0BL9v/yh4Xc
> =4n6+
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to