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. I removed it and now it works on 8.0.18 too. thank you.
---- On Wed, 04 Feb 2015 08:52:24 -0800 Caldarale<chuck.caldar...@unisys.com> wrote ---- > From: Evil Bit [mailto:evil...@zoho.com] > Subject: Issues with log4j.core.async.AsyncLoggerContextSelector when upgrading from 8.0.15 to 8.0.18 > When running tomcat with > -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector > (defined in setenv.sh) to enable log4j2's async logging, I now get a ClassNotFoundException > (see below). What could be the problem? > 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). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org