Thanks Matt for your response,

unfortunately, removing the doctype give me this error:ERROR -
Digester.error(1463) | Parse Error at line 2 column 17: Document is invalid:
no grammar found.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
[...]
at org.apache.commons.digester.Digester.parse(Digester.java:1591)
at
org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
at
org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237)
at
org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:162)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
[...]
ERROR - Digester.error(1463) | Parse Error at line 3 column 17: Document
root element "form-validation", must match DOCTYPE root "null".[...]


Marc






2008/7/18 Matt Raible <[EMAIL PROTECTED]>:

> I would recommend removing the doctype if it's trying to make an
> internet connection for validation.
>
> Matt
>
> On Fri, Jul 18, 2008 at 7:30 AM, Marc Siramy <[EMAIL PROTECTED]>
> wrote:
> > Hello,
> > I'm trying to run appfuse-light-struts-hibernate (1.8.2 version).
> > I have the following error when running it under jetty:
> > " ERROR - ValidatorPlugIn.init(171) | Connection timed out: connect ".
> > I suppose error is due to the fact that my proxy
> > not enable my application to retrieve struts validator dtds from
> Internet.
> > As a workaround,
> > I've changed doctypes declarations in validation.xml and
> validator-rules.xml
> > files like this:
> > <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD
> Commons
> > Validator Rules Configuration 1.1//EN"
> >
> "file:///C:/Developpement/workspace/appfuse-light-struts-hibernate-1.8.2/src/main/webapp/WEB-INF/dtds/validator_1_1.dtd">
> > <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD
> Commons
> > Validator Rules Configuration 1.3.0//EN"
> >
> "file:///C:/Developpement/workspace/appfuse-light-struts-hibernate-1.8.2/src/main/webapp/WEB-INF/dtds/validator_1_3_0.dtd">
> >
> > But putting full paths in doctypes is not really a good practice.
> > So, does someone know a pretty successful solution / workaround ?
> > Regards,
> > --
> > Marc
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to