tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Issues with log4j.core.async.AsyncLoggerContextSelector when upgrading from 8.0.15 to 8.0.18
Date Thu, 05 Feb 2015 14:04:39 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

To whom it may concern,

On 2/4/15 12:15 PM, Evil Bit wrote:
> setenv.sh does have an extra "\r" but the same file worked for me
> on 8.0.15 - I only copied it from the older tomcat.

How did you copy it? Was 8.0.15 running on Windows or *NIX?

> I removed it and now it works on 8.0.18 too. thank you.
> 
> ---- On Wed, 04 Feb 2015 08:52:24 -0800
> Caldarale&lt;Chuck.Caldarale@unisys.com&gt; wrote ----
> 
> &gt; From: Evil Bit [mailto:evilbit@zoho.com] &gt; Subject: Issues
> with log4j.core.async.AsyncLoggerContextSelector when upgrading
> from 8.0.15 to 8.0.18
> 
> &gt; When running tomcat with &gt;
> -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
>  &gt; (defined in setenv.sh) to enable log4j2's async logging, I
> now get a ClassNotFoundException &gt; (see below). What could be
> the problem?
> 
> &gt; ERROR StatusLogger Unable to create context
> org.apache.logging.log4j.core.async.AsyncLoggerContextSelector^M
> 
> Note the ^M at the end of the class name; this makes me suspicious
> that your setenv.sh file has been edited on Windows and then used
> on Linux/UNIX/OSX/? (been there, done that).

Good catch. I saw the ^M too but assumed it was a copy/paste mailing
list thing or some other unrelated issue.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJU03h3AAoJEBzwKT+lPKRYyq0QAK1yjTVxUx+p6paL2M5C6gJz
0NKClLDL1vtnKYhiquw970NVYKn6vp1tJaZpEnfIv1/CV4aadyzAqJ6x7f/61a5/
ah/nX+e0Dtw5EAJSidx8qXBcU8gz35Yda3TRDmfRa/zZ45hfOjDspf6YV4Fh7glN
lbdVYUQapJO0htTzbReaUd0NODHulu67x1TZyeIboVHlSaNcS5TCGiSlZJBvleUT
/nrtdaUkhkAdrQRiFZR7SO9lqRD9TKFeWu35mgNGWG/W9mMDa4NXabCbKS0nFE/b
kqcWUSa5F4XLpZ+w7H5rkoxUApuPmTXiywlYBks/+hZ/6tnPRRSvSo7CJTkdDYDT
uEoJUqnYLWkJVv4Qhmf6fiflatx6UcmwbO8cYFlDt3XuSU762Tw/MaLQ4qUUqHnf
1SYBBzWrWbrjJZPSvFDMYTxlIiCapAlJUAeVYGJT4sVCblquUVZKuQXDnL/yq4Hv
rxU3WKlZFi/wsi75IvoUmTumI0mHGr5Kf6gOApZaMyfwuM2whMnz5X9bO55+2hm9
s1lvpG732X0o1gQxTSzSi/G7McrbMEvxDbbkjLThE0U2IN/RyQRXQFl2QpDEjzQA
9V4WIyi0Bdwr0GLorkibQnd8RHfO+ns0PZy6Fh94N1Vq48tgpEEkaaAZsi0Wp3H3
zt5MO1Zz1Yf4V6uAxBhI
=y/iW
-----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