-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rob,

On 3/19/2010 1:51 PM, Rob S. wrote:
> The core of the issue seems to be that jsvc is starting Java directly which
> means you have to duplicate the hard work catalina.sh does.  So while I'm
> really talking about just getting the log files to show back up, that's only
> a symptom of the larger problem.
> 
> Is this an accurate analysis?
> 
> Is there a better approach that can rely on all the hard work catalina.sh
> does?

Hmm... not really: IIRC jsvc requires that it calls Java directly, so
you cant just do something like "./jsvc catalina.sh start". :(

It appears that the scripts that come with jsvc are not really up to
snuff. Actually, reading catalina.sh isn't too bad if you know which
"mode" you want to be in.

For instance, if you just want to "start", then search for "start"
(/with/ quotes) and look at the 'case' that handles starting Tomcat. You
also have the stuff before the switch statement, too, like determining
CATALINA_HOME, executing any existing setenv.sh file, etc.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkujwfYACgkQ9CaO5/Lv0PAxlQCgqoOjwlvgVKWWuStAHkJuAWS1
TcUAn17nSWMfFp7X5tRpA00XWqqyAIMe
=5EYt
-----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