Hi Chris,

I have a script that works and I'm ready to submit a patch.  Tomcat pulls
jsvc.tar.gz from the commons-daemon project, circa 2004/2005.

http://archive.apache.org/dist/commons/daemon/binaries/

The structure of the 1.0.1 commons-daemon is different than the structure of
1.0.2.  There is no /bin directory in the 1.0.2 release.

Part of the trick is that in order to get this patch into Tomcat:

- There needs to be another release of commons-daemon (unlikely for some
time).
- Once that happens, Tomcat needs to be updated to pull that new release
from the archive.

Since the current version that Tomcat links to isn't very useful, does
anyone have a suggestion on how to get it replaced?

Rob

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

> -----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