Re: Exception starting filter sitemesh

Joe Walnes <[email protected]> Tue, 9 Aug 2005 10:18:35 +0100
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user
Message-ID <[email protected]>
The error message is a bit cryptic, but I suspect it might not be able
to parse WEB-INF/decorators.xml - check the XML is valid.

On 7/20/05, emartin24 <[email protected]> wrote:
> I am trying to build a sample app from Equinox. When I deploy the app, I get the following errors:
> 
> ============================================================
> 
> [20/Jul/2005:09:42:32] failure ( 2108): WebModule[/SAT]: WEB2680: Exception starting filter sitemesh
> com.opensymphony.module.sitemesh.factory.FactoryException: Cannot construct Factory : com.opensymphony.module.sitemesh.factory.DefaultFactory: java.lang.reflect.InvocationTargetException
>         at com.opensymphony.module.sitemesh.Factory.report(Factory.java:87)
>         at com.opensymphony.module.sitemesh.Factory.getInstance(Factory.java:56)
>         at com.opensymphony.module.sitemesh.filter.PageFilter.init(PageFilter.java:86)
>         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
>         at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:322)
>         at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:120)
>         at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3271)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3747)
>         at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
>         at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
>         at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
>         at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
>         at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
> 
> Root cause:
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at com.opensymphony.module.sitemesh.Factory.getInstance(Factory.java:52)
>         at com.opensymphony.module.sitemesh.filter.PageFilter.init(PageFilter.java:86)
>         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
>         at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:322)
>         at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:120)
>         at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3271)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3747)
>         at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
>         at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
>         at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
>         at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
>         at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
> Caused by: java.lang.IllegalStateException: Cannot load excludes configuration file from jar
>         at com.opensymphony.module.sitemesh.factory.DefaultFactory.loadExcludes(DefaultFactory.java:192)
>         at com.opensymphony.module.sitemesh.factory.DefaultFactory.loadConfig(DefaultFactory.java:121)
>         at com.opensymphony.module.sitemesh.factory.DefaultFactory.<init>(DefaultFactory.java:57)
>         ... 20 more
> 
> ============================================================
> 
> Everything is where it should be...so, any ideas?
> 
> TIA
> 
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.opensymphony.com/thread.jspa?threadID=4522&messageID=11010#11010
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]