tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Tomcat 5.5.15 Context Reloading issue
Date Thu, 16 Feb 2006 14:15:01 GMT
Looks like a log4j error, not Tomcat error. What does your 
log4j.properties file look like?

Filip


Joey Geiger wrote:
> I've done some further searching, and noticed that tomcat was also dumping
> information into stdout. There is another log trace that might be helpful if
> anyone else recognizes the problem. I'm of the belief that this is a bug of
> some sort, but I don't know who to pass the information along to.
>
>  
>
> Also, I tried adding information into the context docbase, and it had no
> effect on the problem. I also removed all log4j files that I had added to
> the configuration. Again, this wasn't happening with tomcat 5.5.12, but
> started after I began to use 5.5.15.
>
>  
>
> Thanks.
>
>  
>
>  
>
> log4j:ERROR Error occured while converting date.
>
> java.lang.NullPointerException
>
>             at java.lang.System.arraycopy(Native Method)
>
>             at
> java.lang.AbstractStringBuilder.getChars(AbstractStringBuilder.java:331)
>
>             at java.lang.StringBuffer.getChars(StringBuffer.java:202)
>
>             at
> org.apache.log4j.helpers.AbsoluteTimeDateFormat.format(AbsoluteTimeDateForma
> t.java:117)
>
>             at java.text.DateFormat.format(DateFormat.java:314)
>
>             at
> org.apache.log4j.helpers.PatternParser$DatePatternConverter.convert(PatternP
> arser.java:444)
>
>             at
> org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64)
>
>             at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
>
>             at
> org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
>
>             at
> org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
>
>             at
> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
>
>             at
> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(Append
> erAttachableImpl.java:65)
>
>             at org.apache.log4j.Category.callAppenders(Category.java:203)
>
>             at org.apache.log4j.Category.forcedLog(Category.java:388)
>
>             at org.apache.log4j.Category.log(Category.java:853)
>
>             at
> org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:133)
>
>             at
> org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:638)
>
>             at
> org.apache.catalina.core.ApplicationContextFacade.log(ApplicationContextFaca
> de.java:249)
>
>             at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(Cont
> extLoader.java:176)
>
>             at
> org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServl
> et.java:83)
>
>             at javax.servlet.GenericServlet.init(GenericServlet.java:211)
>
>             at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11
> 05)
>
>             at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>
>             at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
> 3915)
>
>             at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
>
>             at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:2988)
>
>             at
> org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:
> 403)
>
>             at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:
> 1276)
>
>             at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
> hildren(ContainerBase.java:1568)
>
>             at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
> hildren(ContainerBase.java:1577)
>
>             at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
> hildren(ContainerBase.java:1577)
>
>             at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
> ainerBase.java:1557)
>
>             at java.lang.Thread.run(Thread.java:595)
>
>
>   


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


Mime
View raw message