[opencms-dev] Unable to install 7.0.4 version

Ti Lian Hwang lian_hwang.ti at fairprice.com.sg
Mon Apr 28 03:29:16 CEST 2008


The whole stack is below.

We have a few other webapps on the same server with no problems.
I have also attempted a separate install on a Windows machine with Version 7.0.3
with the same problems.
 
There is no major changes to the server.xml, except for Global JNDI Resources.
 
When installation, everything seems complete, except it cannot restart the context.
 
Apr 25, 2008 3:04:31 PM org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started
log4j:ERROR Error occured while converting date.
java.lang.NullPointerException
        at java.lang.System.arraycopy(Native Method)
        at java.lang.AbstractStringBuilder.getChars(Unknown Source)
        at java.lang.StringBuffer.getChars(Unknown Source)
        at org.apache.log4j.helpers.AbsoluteTimeDateFormat.format(AbsoluteTimeDa
teFormat.java:117)
        at org.apache.log4j.helpers.DateTimeDateFormat.format(DateTimeDateFormat
.java:73)
        at java.text.DateFormat.format(Unknown Source)
        at org.apache.log4j.helpers.PatternParser$DatePatternConverter.convert(P
atternParser.java:444)
        at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.jav
a:64)
        at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
        at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
        at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.ja
va:236)
        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
(AppenderAttachableImpl.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.error(Log4JLogger.java:25
1)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3917)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
176)
        at org.apache.catalina.core.StandardContext.reload(StandardContext.java:
2988)
        at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoade
r.java:403)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
e.java:1276)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1568)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1577)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1577)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
un(ContainerBase.java:1557)
        at java.lang.Thread.run(Unknown Source)
Apr 25, 2008 3:04:35 PM org.apache.catalina.core.ContainerBase backgroundProcess
WARNING: Exception processing loader WebappLoader[/opencms] background process
java.lang.NullPointerException
        at org.apache.log4j.spi.LocationInfo.<init>(LocationInfo.java:104)
        at org.apache.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent
.java:191)
        at org.apache.log4j.helpers.PatternParser$ClassNamePatternConverter.getF
ullyQualifiedName(PatternParser.java:538)
        at org.apache.log4j.helpers.PatternParser$NamedPatternConverter.convert(
PatternParser.java:511)
        at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.jav
a:64)
        at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
        at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
        at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.ja
va:236)
        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
(AppenderAttachableImpl.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.error(Log4JLogger.java:25
1)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3917)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
176)
        at org.apache.catalina.core.StandardContext.reload(StandardContext.java:
2988)
        at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoade
r.java:403)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
e.java:1276)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1568)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1577)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1577)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
un(ContainerBase.java:1557)
        at java.lang.Thread.run(Unknown Source)
Apr 25, 2008 3:06:59 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
opencms] has already been started
 

Shutting down OpenCms, version 7.0.4 in web application "null"
Shutdown completed, total uptime was 00:02:30.
 
> Is that the whole stack trace? Will it run the JSP demos okay? It
> sorta looks like the logger isn't properly configured (and Tomcat 5.5
> uses, I thought, JULI instead of Log4J).
> 
> Matt
> 
> On Fri, Apr 25, 2008 at 7:14 PM, Ti Lian Hwang
> <lian_hwang.ti at fairprice.com.sg> wrote:
> >
> >
> > Its tomcat-5.5.15 running jre1.5.0_06 on Linux
> >
> > > Operating system? Tomcat version?
> > >
> > > Matt
> > >
> > > On Fri, Apr 25, 2008 at 1:39 AM, Ti Lian Hwang
> > > <lian_hwang.ti at fairprice.com.sg> wrote:
> > > >
> > > >
> > > >
> > > > I'm unable to install the 7.0.4 version.
> > > > Some thing with 7.0.3
> > > >
> > > > The following is in catalina.out
> > > > Any ideas ?
> > > >
> > > > Apr 25, 2008 3:04:31 PM org.apache.catalina.core.StandardContext reload
> > > > INFO: Reloading this Context has started
> > > > log4j:ERROR Error occured while converting date.
> > > > java.lang.NullPointerException
> > > >         at java.lang.System.arraycopy(Native Method)
> > > >         at java.lang.AbstractStringBuilder.getChars(Unknown Source)
> > > >         at java.lang.StringBuffer.getChars(Unknown Source)
> > > >         at
> > > > org.apache.log4j.helpers.AbsoluteTimeDateFormat.format(AbsoluteTimeDa
> > > > teFormat.java:117)
> > >
> >
> >
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080428/3c509d72/attachment.htm>


More information about the opencms-dev mailing list