tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhanyang Zhu" <zy...@sdsc.edu>
Subject tomcat/log4j
Date Fri, 19 Jan 2007 16:27:40 GMT

Hi There,

I am having a problem with my application. When I develop the application
to one of the test server, I got the following error. But I also tested on
three other servers. It worked fine. Any one know what it is wrong? Is the
log4j set up at the tomcat server wrong? and where is it wrong if know?

many thanks



Zhanyang


--------------------The error message-----------
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

java.lang.NullPointerException
        org.apache.log4j.spi.LocationInfo.<init>(LocationInfo.java:95)
        org.apache.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent.java:182)
        org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(PatternParser.java:475)
        org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:56)
        org.apache.log4j.PatternLayout.format(PatternLayout.java:495)
        org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:292)
        org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
        org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
        org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
        org.apache.log4j.Category.callAppenders(Category.java:187)
        org.apache.log4j.Category.forcedLog(Category.java:372)
        org.apache.log4j.Category.log(Category.java:864)
        org.apache.commons.logging.impl.Log4JLogger.debug(Log4JLogger.java:110)
        org.iedb.eptopdbtool.EpToPDBAdminServlet.service(EpToPDBAdminServlet.java:52)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.17 logs.



Zhanyang/SDSC





---------------------------------------------------------------------
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


Mime
View raw message