tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sriram N <sriramx_2...@yahoo.com>
Subject Re: [ANN] Apache Tomcat 4.1.29 Stable and Apache Tomcat 5.0.14 Beta released
Date Sun, 02 Nov 2003 09:17:19 GMT
Hi:

HAve you looked at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/BUILDING.txt
? This file contains information on building against different versions of
Xerces.

I have a dim recollection that the Xerces was changed recently, though I dont'
remember if I read this for the 5.x series or the 4.x series.

As a last resort to get to the bottom of the matter, you could download the
binary release, and check the changelog.

-- SRiram

--- Luigi Bai <lpb@focalpoint.com> wrote:
> Sriram,
> 
> It took me a while to figure out where you were going with your 
> question. No, I did not download a tar-gzip distribution; I built 4.1.29 
> from the (tagged) CVS source (which right there may be part of the 
> problem). I used the versions of commons-* etc from the 4.1.27 
> distribution that I had been using; it seems that making Tomcat build 
> with Maven (and its support for specific versions of third party jars) 
> would be really a big help here. And I confirmed that the DTDs in 
> servlet-api.jar are intact.
> 
> What version of Xerces does 4.1.29 depend on? It may be that using the 
> Xerces parser from 4.1.27 is too old? I really can't think of any other 
> reason why Digester would barf on <session-timeout> with a parse error.
> 
> Luigi
> 
> Sriram N wrote:
> 
> > Hi,
> > 
> > Have you downloaded a tgz by chance ?
> > 
> > If you have, then use Winzip on windows, or the tar command from the
> command
> > line, to uncompress Tomcat. Any other application may not uncompress the
> tgz
> > correctly. e.g. I used the File Roller application that comes with Redhat
> 9,
> > and it does not extract all files correctly.
> > 
> > The tar command you could use is
> > 
> > tar -xzvf jakarta-tomcat4.1.29
> > 
> > -- Sriram
> > 
> > --- Luigi Bai <lpb@focalpoint.com> wrote:
> > 
> >>I'm using 4.1.29 as CATALINA_HOME, and am seeing a strange error. The 
> >>line in the default web.xml file points to the <session-timeout> 
> >>element; so does the referenced line in the application web.xml file. If 
> >>I comment out _both_ the context will start. I checked the DTD in 
> >>servlet-api.jar and it looks fine.
> >>
> >>In CATALINA_HOME/server/lib, the commons-logging.jar file has 
> >>impl.Log4jFactory.class and impl.Log4jLogger.class. These are loaded 
> >>because I have a copy of log4j-1.2.8 in the directory.
> >>
> >>Using 4.1.27 as CATALINA_HOME I have no problems either.
> >>
> >>Any ideas on where to look?
> >>
> >>Thanks;
> >>Luigi
> >>
> >>2003-10-31 21:02:32 ContextConfig[/blog] Parse error in default web.xml
> >>org.apache.commons.logging.LogConfigurationException: 
> >>java.lang.ClassNotFoundException: 
> >>org.apache.commons.logging.impl.Log4jFactory
> >>	at 
> >>org.apache.commons.digester.Digester.createSAXException(Digester.java:2583)
> >>	at 
> >>org.apache.commons.digester.Digester.createSAXException(Digester.java:2609)
> >>	at org.apache.commons.digester.Digester.endElement(Digester.java:1061)
> >>	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> >>	at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown 
> >>Source)
> >>	at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown 
> >>Source)
> >>	at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
> >>	at 
>
>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
> 
> >>Source)
> >>	at 
> >>
> > 
> >
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> > 
> >>Source)
> >>	at 
> >>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> >>Source)
> >>	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> >>	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> >>	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >>	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> >>	at org.apache.commons.digester.Digester.parse(Digester.java:1546)
> >>	at 
> >>
> > 
> >
>
org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:548)
> > 
> >>	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:638)
> >>	at 
> >>
> > 
> >
>
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
> > 
> >>	at 
> >>
> > 
> >
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
> > 
> >>	at 
> >>org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
> >>	at 
> >>
> > 
> >
>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
> > 
> >>	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> >>	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
> >>	at 
> >>
> > 
> >
>
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:700)
> > 
> >>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>	at 
>
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>	at 
> >>
> > 
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > 
> >>	at java.lang.reflect.Method.invoke(Method.java:324)
> >>	at 
> >>org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:258)
> >>	at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
> >>	at org.apache.commons.digester.Rule.end(Rule.java:276)
> >>	at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
> >>	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> >>	at 
>
>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
> 
> >>Source)
> >>	at 
> >>
> > 
> >
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> > 
> >>Source)
> >>	at 
> >>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> >>Source)
> >>	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> >>	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> >>	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >>	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> >>	at org.apache.commons.digester.Digester.parse(Digester.java:1565)
> >>	at 
> >>
> > 
> >
>
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)
> > 
> >>	at org.apache.catalina.core.StandardHost.install(StandardHost.java:819)
> >>	at 
>
>>org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442)
> >>	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
> >>	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
> >>	at 
> >>org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
> >>	at 
> >>
> > 
> >
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
> > 
> >>	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
> >>	at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
> >>	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> >>	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
> >>	at
> org.apache.catalina.core.StandardService.start(StandardService.java:497)
> >>	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> >>	at 
> >>org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
> >>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>	at 
>
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>	at 
> >>
> > 
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > 
> >>	at java.lang.reflect.Method.invoke(Method.java:324)
> >>	at 
>
>>org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245)
> >>	at 
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

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


Mime
View raw message