Em 28/01/2013 16:16, Christopher Schultz escreveu:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Tiago,
On 1/28/13 11:02 AM, Tiago Sousa wrote:
Em 28/01/2013 15:41, Christopher Schultz escreveu: Tiago,
On 1/28/13 8:49 AM, Tiago Sousa wrote:
Thanks, one more time, for your reply. The problem with log4j
1.x is that it outputs the following error: log4j:WARN No
appenders could be found for logger
(org.apache.catalina.startup.Embedded). log4j:WARN Please
initialize the log4j system properly.
I know that this is a common error, usually related with
classpath problems. In my case, the configuration i'm using
doesn´t seem to be have those sort of problems....
This is a symptom of having your log4j.properties in the wrong
place.
You never said anything about using Tomcat Embedded. If you are
using Embedded Tomcat, you'll have to make sure that your
log4j.properties file is in the CLASSPATH of the JVM when it
starts.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Hi. Thanks for your reply. Isn´t that assured (log4j in classpath)
putting the log4j.properties in apache lib folder since i'm using
tomcat 6.x?
If you are using Tomcat Embedded, you are entirely responsible for
your own CLASSPATH. The "Embedded" class causes the logger to be
initialized before any real code gets executed (it's in the first
static initializer in the class), so "Embedded" can't change the
CLASSPATH or launch a new ClassLoader for that purpose.
Can you please describe your environment? It's been tough to get
details from you.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEAREIAAYFAlEGpFUACgkQ9CaO5/Lv0PCXmACgjoQhdKJ0czXMdIAfYKwOsOpH
D4UAnjTr99Jd/sebfuP5IhOJLYB6a+On
=ocWz
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Hi,
Sorry, i am a newbie in tomcat issues.
I'm just "following orders"... :-)
My configuration is the most standard i could find:
1 step: download apache-tomcat-6.0.36.zip from apache.org
2 - unzip
3 - erase logging.properties from conf folder
4 - copy jar files (juli and juli-adapters)from extras to bin and lib
directories, respectively.
5 - create a logging.properties file (standard definitions as in
apache.org) and put it in lib folder.
6- download log4j.1.2.7.jar and put it in lib folder.
And that's it. I'm using tomcat in windows.
Hope this helps you to help me...
Tiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org