Problem with Log4J starting TOMCAT 5.5.9

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem with Log4J starting TOMCAT 5.5.9

Rogério Saulo
HI,
I have installed TOMCAT 5.5.9 on my Windows XP jdk 1.5.0 and when I start
the server I receive the following error :

log4j:WARN No appenders could be found for logger (
org.apache.catalina.startup.ClassLoaderFactory).
log4j:WARN Please initialize the log4j system properly.
 The server starts, but the logs are broken.
 Thanks
Rogerio
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Problem with Log4J starting TOMCAT 5.5.9

adcworks
Hi,

You need to configure the log4j subsystem with a log4j.properties file and pop it into your web application's classes folder (or in Tomcat's common/classes if you have no webapp). At the very least you will want to setup a root logger. See the log4j documentation for this or use the Tomcat 5.5 logging page

Cheers, Allistair.

> -----Original Message-----
> From: Rogério Saulo [mailto:[hidden email]]
> Sent: 06 May 2005 14:30
> To: [hidden email]
> Subject: Problem with Log4J starting TOMCAT 5.5.9
>
>
> HI,
> I have installed TOMCAT 5.5.9 on my Windows XP jdk 1.5.0 and
> when I start
> the server I receive the following error :
>
> log4j:WARN No appenders could be found for logger (
> org.apache.catalina.startup.ClassLoaderFactory).
> log4j:WARN Please initialize the log4j system properly.
>  The server starts, but the logs are broken.
>  Thanks
> Rogerio
>


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Problem with Log4J starting TOMCAT 5.5.9

Alex Pure
In reply to this post by Rogério Saulo
my english es bad

puede ser por que has instalado tu TomCat/Java como usuario
intentalo como Administrador sobre tu maquina

-----Mensaje original-----
De: Rogério Saulo [mailto:[hidden email]]
Enviado el: viernes, 06 de mayo de 2005 8:30
Para: [hidden email]
Asunto: Problem with Log4J starting TOMCAT 5.5.9


HI,
I have installed TOMCAT 5.5.9 on my Windows XP jdk 1.5.0 and when I start
the server I receive the following error :

log4j:WARN No appenders could be found for logger (
org.apache.catalina.startup.ClassLoaderFactory).
log4j:WARN Please initialize the log4j system properly.
 The server starts, but the logs are broken.
 Thanks
Rogerio

--
"Esta comunicación representa las opiniones y puntos de vista del
autor y no reflejan necesariamente la posición del MIMDES. Este
mensaje y todos los archivos que contenga, son confidenciales y son
sólo para su destinatario. Si usted no es el destinatario original,
es posible que haya recibido este mensaje por error, en cuyo caso
cualquier uso, distribución, derivación o copia de este mensaje
está estrictamente prohibido. Si usted recibe este mensaje por
error, sírvase notificar inmediatamente a [hidden email]
y borrar el mensaje de su casilla sin conservar copia."


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Problem with Log4J starting TOMCAT 5.5.9

Joy Kenneth Harry
In reply to this post by Rogério Saulo


Remove the commons-logging.jar  from WEB-INF\lib and place log4j.jar in it
And
Place log4j.xml in WEB-INF\classes folder



Joy Kenneth



-----Original Message-----
From: Alex Pure [mailto:[hidden email]]
Sent: Friday, May 06, 2005 8:41 PM
To: Tomcat Users List
Subject: RE: Problem with Log4J starting TOMCAT 5.5.9

my english es bad

puede ser por que has instalado tu TomCat/Java como usuario
intentalo como Administrador sobre tu maquina

-----Mensaje original-----
De: Rogério Saulo [mailto:[hidden email]]
Enviado el: viernes, 06 de mayo de 2005 8:30
Para: [hidden email]
Asunto: Problem with Log4J starting TOMCAT 5.5.9


HI,
I have installed TOMCAT 5.5.9 on my Windows XP jdk 1.5.0 and when I start
the server I receive the following error :

log4j:WARN No appenders could be found for logger (
org.apache.catalina.startup.ClassLoaderFactory).
log4j:WARN Please initialize the log4j system properly.
 The server starts, but the logs are broken.
 Thanks
Rogerio

--
"Esta comunicación representa las opiniones y puntos de vista del
autor y no reflejan necesariamente la posición del MIMDES. Este
mensaje y todos los archivos que contenga, son confidenciales y son
sólo para su destinatario. Si usted no es el destinatario original,
es posible que haya recibido este mensaje por error, en cuyo caso
cualquier uso, distribución, derivación o copia de este mensaje
está estrictamente prohibido. Si usted recibe este mensaje por
error, sírvase notificar inmediatamente a [hidden email]
y borrar el mensaje de su casilla sin conservar copia."


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with Log4J starting TOMCAT 5.5.9

Rogério Saulo
I doesn´t have an application installed yet, the message appears when I
start TOMCAT wiithout install any application.

On 5/6/05, Joy Kenneth Harry <[hidden email]> wrote:

>
>
>
> Remove the commons-logging.jar from WEB-INF\lib and place log4j.jar in it
> And
> Place log4j.xml in WEB-INF\classes folder
>
>
> Joy Kenneth
>
>
> -----Original Message-----
> From: Alex Pure [mailto:[hidden email]]
> Sent: Friday, May 06, 2005 8:41 PM
> To: Tomcat Users List
> Subject: RE: Problem with Log4J starting TOMCAT 5.5.9
>
> my english es bad
>
> puede ser por que has instalado tu TomCat/Java como usuario
> intentalo como Administrador sobre tu maquina
>
> -----Mensaje original-----
> De: Rogério Saulo [mailto:[hidden email]]
> Enviado el: viernes, 06 de mayo de 2005 8:30
> Para: [hidden email]
> Asunto: Problem with Log4J starting TOMCAT 5.5.9
>
> HI,
> I have installed TOMCAT 5.5.9 on my Windows XP jdk 1.5.0 and when I start
> the server I receive the following error :
>
> log4j:WARN No appenders could be found for logger (
> org.apache.catalina.startup.ClassLoaderFactory).
> log4j:WARN Please initialize the log4j system properly.
> The server starts, but the logs are broken.
> Thanks
> Rogerio
>
> --
> "Esta comunicación representa las opiniones y puntos de vista del
> autor y no reflejan necesariamente la posición del MIMDES. Este
> mensaje y todos los archivos que contenga, son confidenciales y son
> sólo para su destinatario. Si usted no es el destinatario original,
> es posible que haya recibido este mensaje por error, en cuyo caso
> cualquier uso, distribución, derivación o copia de este mensaje
> está estrictamente prohibido. Si usted recibe este mensaje por
> error, sírvase notificar inmediatamente a [hidden email]
> y borrar el mensaje de su casilla sin conservar copia."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Loading...