RE: tomcat error
"Matthew Payne" <[email protected]>
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <[email protected]> |
I use sitemesh, it works. The web app here http://sourceforge.net/projects/quartz/ uses it. You could try 1.5, or build examples from cvs (2.0.2). The example application for 2.0.1 should probably be removed. Its a "horrible" example for sitemesh when the example for public comsuption does not work. This is not new information either. It does not deploy in tomcat. It works in resin. Resin is more tolerant of dtd errors. If you get past that error, you will likely run into bug sim-82, where the sample application uses static resources(fails on tomcat). I believe the sample app for 2.0.2 is fixed(answer here?). Matt _____ From: [email protected] [mailto:[email protected]] On Behalf Of Steve Poll Sent: Tuesday, April 27, 2004 9:53 AM To: Scott Farquhar Cc: [email protected] Subject: Re: [Opensymphony-sitemesh] tomcat error Hey Scott, thanks for the reply. Ok, then maybe I'm working under an incorrect assumption. I had assumed that I could simply drop the sitemesh-example.war file directly into /tomcat/webapps and restart, and that would take care of it. This doesn't seem to work. I've tried it on two different machines, and I've asked a colleague to try it on his machine as well, all with the same (error) results. (I'm sure the digester stuff is Tomcat internal) So maybe I'm just not using it the right way. Is this not how sitemesh-example.war was intended to be used? Or does it just not like to play with Tomcat? Regards, Steve Poll Tuesday, April 27, 2004 2:52 AM To: Steve Poll/Fort Lauderdale/IBM@IBMUS cc: [email protected] From: Scott Farquhar <[email protected]> Subject: Re: [Opensymphony-sitemesh] tomcat error This doesn't look like a sitemesh problem at all - we don't use commons digester (that I know of). It looks like some XML validation problem? Scott On Mon, Apr 26, 2004 at 02:06:37PM -0400, Steve Poll wrote: > > > > > > All, > > I'm new to Sitemesh and I would like to use it in my next project. On > installing the sitemesh-example.war file in my tomcat/webapps directory, > Tomcat complains with the following error msg. The error is the same > whether I user Tomcat 5.0.19 or 4.1.30. I'll include just a portion of the > stacktrace... > > Apr 26, 2004 2:02:55 PM org.apache.catalina.core.StandardHostDeployer > install > INFO: Installing web application at context path /sitemesh-example from URL > file > :c:/tomcat/webapps/sitemesh-example > Apr 26, 2004 2:02:55 PM org.apache.commons.digester.Digester endElement > SEVERE: End event threw exception > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav > a:252) > 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.dtd.XMLDTDValidator.endNamespaceScope(Unknown > Source) > > > Any help would be appreciated. Thanks. > > Regards, > > Steve Poll