tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Different handling of -Dfoo="bar" between versions
Date Thu, 03 Oct 2013 16:39:28 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Steve,

(Bringing your reply back on-list.)

On 10/3/13 11:40 AM, Steve Arch (sarch) wrote:
> I trimmed the running process line to strip out our private stuff 
> (like our AWS keys!) and must have snipped out the logging
> parameters too. As I said, tomcat behaves as designed so the bug
> with AWS is appropriate, but this happens on all our machines. We
> can run on version 24 and restart tomcat as many times as we like
> and the value of the 'foo' parameter in the java code (and returned
> by our webapp) is 'bar' (no quotes). We upgrade tomcat to 7.0.37
> via yum and restart tomcat and it immediately returns '"foo"'.
> Tomcat is the only thing that's changed here - nothing else has.

It could be a problem with the package-managed version of Tomcat.
Requesting the apache-tomcat-7.0.37 package from AWS's repository
doesn't mean that you are getting only ASF code, scripts, etc. It is
certainly a possibility that their package is broken in some way.

You said that you use Elastic Beanstalk... I've never used it but my
understanding was that you deploy your WAR file and you have no access
to the machines actually running the webapp. Am I misinformed? I'm
wondering why -- if you are using Beanstalk -- you are even managing
your own Tomcat package?

> IT's not a problem with Tomcat, but saying that it's a change in 
> something else is incorrect as Tomcat is the only thing that's 
> changed (but as I said, that change is correct (what I wanted to 
> verify on the mailing list) so the bug is with AWS, not Tomcat).

Yep, things work fine for me specifying arbitrary things on the
command-line. This problem it likely with whatever components "stores"
your settings and then converts them into command-line parameters...
it's probable a part of the "tomcat" package from Amazon, even though
it doesn't really make sense to me that it would be.

Good luck, and please reply to the list if/when the problem is
resolved... it would be good to have an answer in the list archives.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSTZ3AAAoJEBzwKT+lPKRY46IQALVRC593JdhO/d3wnx8pzcbN
KTiEOAgMrhxBPHWqeDdH/Uud8EM1Yac3L/FiAN9Zo8qkASAgh4qi4wWvBfNi9hAW
iMfvV0TnncomjZTTilavR2ISUcpUIOtpbz51+QElzKsb6Ia5eYXEmejUP7GDYPR2
Cf4zis19tAHLWpcfgigNN5k2pmh7no5uYCp41s3O3uNc6vx74TjOhoc3e+0bG5p2
50v5bYhbVdBywNSHr4eFrfPoEVfQYNOx+plhMfMu04bo79s6jV7BGSUctzugKDGa
WTAxp+BmAG/NqYLCqycfO93kEkq6NKy2EqMwYk3zx373xpPhpqid/wNGe1QqRsnl
K8Ezbbl15P1RabSW7ApweCV0ly81Y/fvGse5Vu6XcvDB6Mkkp03eCICGIvWD5fYq
ffZAPY9hVpt/E/nPEjvG3qMgZFKZZ4jLr84CXyoVTLb9ecWgIMEDiFjeYP4Rc25A
9e9hwSR179/M9RQ4OmXJy8YN0YNKV2jKkFS5kh5A3tEaxNWJumxmCS9/E6Z7KakV
MVgui1vTRMlnSi7m1h7I9o9v6DTQg2ETZ2EGgffUWtTvhtyg41hXyRa+k8oaKjBp
uDcZq9crtgXbaslxKh9IHHDqY/cE2m6+9Vic4UYqQTtL1Dfp6YNypgB8xLvcXPoz
Z99yzjSsVWtRH9l8qajW
=8ghn
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message