I'm still having a big problem with my Struts webapp when I deploy it to
HP-UX.

When I try to start the app, the log says:
09:20:52,516 - INFO org.apache.struts.validator.ValidatorPlugIn - Loading
valida
tion rules file from '/WEB-INF/validator-rules.xml'
09:20:52,517 - INFO org.apache.struts.validator.ValidatorPlugIn - Loading
valida
tion rules file from '/WEB-INF/validation.xml'
09:20:52,640 - ERROR org.apache.struts.validator.ValidatorPlugIn - JAR entry
org
/apache/commons/validator/resources/validator_1_1_3.dtd not found in
/opt/hpws/t
omcat/webapps/benauth-test/WEB-INF/lib/commons-validator.jar
java.io.FileNotFoundException: JAR entry
org/apache/commons/validator/resources/
validator_1_1_3.dtd not found in
/opt/hpws/tomcat/webapps/benauth-test/WEB-INF/l
ib/commons-validator.jar

This morning, I deployed the struts-examples.war file, which also contains
that .jar file and validation.xml and validator-rules.xml.  It works fine.

So now I'm trying to figure out what's different between my webapp and the
struts-examples webapp.

I found that my validation.xml file was pointed at the validator 1.0 dtd,
which makes even LESS sense-- the error has _always_ complained that it
can't find the 1.1.3 dtd.  I changed the top few lines of the file to match
the one from struts-examples:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE form-validation PUBLIC
          "-//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN"
          "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";>

And I still get the same error.  I copied the commons-validation.jar file
from the (working) struts-examples webapp over to my own app and started it.
Same error.

Has anyone possibly run into anything like this before?  The webapp works on
Windows, but when I deploy it to HP-UX, I get the errors in the log file and
it won't start.

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to