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

Reply via email to