-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

James,

On 9/1/16 7:16 PM, James H. H. Lampert wrote:
>>> Seems to me that a paraphrase of the third paragraph quoted
>>> above ought to be added -- PROMINENTLY -- to the comment lines
>>> at the top of catalina.bat and catalina.sh, to keep midrange
>>> jocks like me from driving ourselves nuts trying to manipulate
>>> services the wrong way.
> 
> On 9/1/16, 3:52 PM, André Warnier (tomcat) wrote:
>> Maybe reading this would have helped : 
>> http://wiki.apache.org/tomcat/FAQ/Windows#Q11
>> 
>> (I wrote that, at a time just after when I was just as puzzled as
>> you are about these curious Windows thingies..)
> 
> Thanks.
> 
> It definitely helps explain what these things are, but I think the 
> prominent notice I suggested for the preambles of the catalina.bat
> and catalina.sh procedure files would be better at alerting those
> who aren't WinDoze service jocks that for a WinDoze service
> installation, a setenv.bat or a setenv.sh (or any modification of
> existing *.bat or *.sh) would be a monumental waste of time and a
> source of potentially lethal (or at least insanity-inducing) levels
> of frustration.

It's worth noting that, when creating the service from the
command-line, the service.bat script will use the current environment
to configure the service. That means that CATALINA_HOME and
CATALINA_BASE are all used to configure the service.

Unfortunately, CATALINA_OPTS is not used. I'll have a look to see how
tough it would be to add CATALINA_OPTS-handling to service.bat... it
seems like it would be nice to do that, and fairly easy.

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJXzttBAAoJEBzwKT+lPKRYUUwP/A8UwIItMyAtK3tDo8bs2zZ2
SP9+ajCcVGayC6k5xNJCR8Gi6PiOHozWb5t30odwzBvARVd3YUyKIEzVYGjn9UFA
u8rXoEBRnma+Itp71V+Cd7oAqKPaYuXMMuCwypRSzIshC/V6IWsNhwiiD6zIG8Ou
UpaYflQGW/NleDnR1vdch5Joq7+yg+HdtTDykS2MyXqTpnRFbVqnfVzUMGguOzIg
Ru/wgru63edxOau+BM5nQBB6Y60z4XcK4O9PgKAVzFBIYAVOfURoi+qzLEf6n0+K
jiOmVqunRoBhBn+HNOKovGSQerNMp7o0tXiufZhGZRAHeDQc0FwUAtX5AB69+kxJ
+HyKPQEYAL4vdnhSxHz5QdZyQrG71B4rSHbpUvWBc5tcXxvDKDg4C1ylaU/pRd2T
5G5YPtFdiqQY/bpVVaMLuu1jOkx8kFvDMBfgBJKv22ZHYQkoX7oM2e8GagA+PpOm
ZsENmAe5jl6xKOxjwxSGE2TPnFDJwpkDyzCMLnIxdFLsv3/3HvaawXe0jfh6iwcc
Hlmy9i4o8ISQ/fwhKuED18Eo4lU8eex7GHNRw9CaaD1Drz5L5HfdGAefbcLDlRfX
sK3VcehnzNCHSzzkw2Kf6tn1EZocFLlen2ERTRQLipdl3Y2ClM/84p0sYuxeXx1r
DM+qhD3sE6ga4Iyo76RW
=Hq5r
-----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