You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Natarajan S <Na...@lntinfotech.com> on 2006/05/24 08:05:59 UTC

Log4j logging !!!

Hai All,

I am using netbean 5.0 with jakarta-tomcat-5.5.9. 

I am facing two problems.

1> i am using log4j for my website. it logs my application error messages 
with tomcat specific error messages with it. any one have idea how to make 
my logger should work for my application.

2> when i am compiling my webapplication using netbean it shows jasper 
exception below.
init:

deps-module-jar:

deps-ear-jar:

deps-jar:

library-inclusion-in-archive:

library-inclusion-in-manifest:

Compiling 56 source files to 
D:\netbeanprojects\RTS\build\web\WEB-INF\classes

Note: Some input files use or override a deprecated API.

Note: Recompile with -deprecation for details.

compile:

compile-jsps:

Created dir: D:\netbeanprojects\RTS\build\generated\src

log4j:WARN No appenders could be found for logger 
(org.apache.jasper.compiler.JspRuntimeContext).

log4j:WARN Please initialize the log4j system properly.

Created dir: D:\netbeanprojects\RTS\build\generated\classes

Compiling 1 source file to D:\netbeanprojects\RTS\build\generated\classes

Building jar: D:\netbeanprojects\RTS\dist\RTS.war

do-dist:

dist:

run-deploy:

Incrementally deploying http://localhost:8084/RTS

Completed incremental distribution of http://localhost:8084/RTS

Incrementally redeploying http://localhost:8084/RTS

deploy?config=file:/C:/DOCUME~1/721625/LOCALS~1/Temp/context47650.xml&path=/RTS

OK - Deployed application at context path /RTS



OK - Deployed application at context path /RTS

run-display-browser:

Browsing: http://localhost:8084/RTS/index.jsp

run:

BUILD SUCCESSFUL (total time: 9 seconds)

Regards,
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
S. Natarajan M.C.A.,
Software Engineer,
Mobile: +91-99941-81073
Office: 044-22537552
Web: http://gilnat21.4t.com
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

This document is classified as: 
( ) L&T Infotech Proprietary             ( ) L&T Infotech General Business
(x) L&T Infotech Internal Use only   ( ) L&T Infotech Confidential

______________________________________________________________________

Re: Log4j logging !!!

Posted by Mark Thomas <ma...@apache.org>.
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this  makes your new message appear as part
of the old thread. This makes it harder for other users to find
relevant information when searching the lists.

This is known as thread hijacking and is that is frowned
upon on this list. Frequent offenders will be removed from the list.
It should also be noted that many list subscribers automatically
ignore any messages that hijack another thread.

The correct procedure is to create a new message with a new subject.
This will start a new thread.

Mark
tomcat-user-owner

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