Re: sitemesh and tomcat 5.0.24

Mathias Bogaert <[email protected]>
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <[email protected]>
The solution is

1. use CVS version

2. change the filter-mapping in web.xml from * to /*, but you might run  
into other (known) issues with Tomcat

Mathias

On 17 May 2004, at 15:30, Chris Catton wrote:

> Hi,
>
> We’re in the process of moving an application from tomcat4 to tomcat5,  
> and having a problem that seems to be caused by sitemesh.  The example  
> app unpacked from the war file into webapps does not run on tomcat  
> 5.0.24 (sitemesh 2.01)  and in the logs I have
>
>   
>
> INFO: Processing Context configuration file URL  
> file:/var/jakarta-tomcat-5.0.24/conf/Catalina/localhost/manager.xml
>
> 17-May-2004 13:52:40 org.apache.catalina.core.StandardHostDeployer  
> install
>
> INFO: Installing web application at context path /sitemesh-example  
> from URL file:/var/tomcat5/webapps/sitemesh-example
>
> 17-May-2004 13:52:41 org.apache.commons.digester.Digester endElement
>
> SEVERE: End event threw exception
>
>  
>
> java.lang.IllegalArgumentException: Invalid <url-pattern> * in filter  
> mapping
>
>         at  
> org.apache.commons.digester.Digester.createSAXException(Digester.java: 
> 2540)
>
>         at  
> org.apache.commons.digester.Digester.createSAXException(Digester.java: 
> 2566)
>
>         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(Un 
> known Source)
>
>         at  
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi 
> spatcher.dispatch(Unknown Source)
>
>         at  
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn 
> own Source)
>
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown  
> Source)
>
>         at org.apache.xerces.parsers.XML11Configuration.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:1548)
>
>         at  
> org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConf 
> ig.java:263)
>
>         at  
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.java: 
> 624)
>
>         at  
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig. 
> java:216)
>
>         at  
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS 
> upport.java:119)
>
>         at  
> org.apache.catalina.core.StandardContext.start(StandardContext.java: 
> 4268)
>
>         at  
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j 
> ava:823)
>
>         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.install(StandardHostDeplo 
> yer.java:277)
>
>         at  
> org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
>
>         at  
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:613)
>
>         at  
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
>
>         at  
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:964)
>
>         at  
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java: 
> 349)
>
>         at  
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS 
> upport.java:119)
>
>  
>
> Is this a known problem, should I be using a different version of  
> sitemesh – or is there some other solution?
>
>  
>
> Many thanks,
>
> C
>
>  
>
> Chris Catton
>
> BioImage Database Development Manager
>
> Department of Zoology
>
> University of Oxford
>
> OX1 3PS
>
>  
>
> Tel: +44 (0) 1865 281993
>
> email: [email protected]
>
> web site: www.bioimage.org
>
>  
>
Mathias Bogaert
Senior Software Architect
Intrasoft International
Mobile +32 (0) 478 48 28 96



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.