Last month, I reported a problem deploying a webapp using 1.2.4 to HP-UX.
It works fine on Windows.  I dropped back to 1.2.0 and promptly forgot about
it.  Sometime later I wondered why I wasn't using the new version, moved to
1.2.4 and used a few of the new things.  Then I tried to deploy it to HP-UX
again.  Uh oh.

Here's what happens (from the log file):

16:03:09,616 - INFO org.apache.struts.validator.ValidatorPlugIn - Loading
validation rules file from '/WEB-INF/validator-rules.xml'

16:03:09,618 - INFO org.apache.struts.validator.ValidatorPlugIn - Loading
validation rules file from '/WEB-INF/validation.xml'

16:03:09,737 - ERROR org.apache.struts.validator.ValidatorPlugIn - JAR entry
org/apache/commons/validator/resources/validator_1_1_3.dtd not found in
/opt/hpws/tomcat/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/lib/commons-validator.jar

I have no idea what it's talking about... that file is there, and the dtd is
inside it:

$ pwd
/opt/hpws/tomcat/webapps/benauth-test/WEB-INF/lib

$ ll commons-validator.jar
-rw-------   1 www        other        84260 Oct 29 16:02
commons-validator.jar

$ jar -tvf commons-validator.jar | grep validator_1_1_3.dtd  11032 Wed Jun
23 19:59:16 GMT-07:00 2004
org/apache/commons/validator/resources/validator_1_1_3.dtd

Realizing that Friday afternoon is the absolute worst time to ask a
question... does anyone have any idea what's wrong?  This happens with 1.2.4
and 1.2.5, but not 1.2.0.  I can't drop back this time, I'm already using
new features.  And besides I don't want to drop back.

The only possible strangeness I saw was an "old" commons-lang.jar file
hanging around.  Looks like it was part of the struts-1.1 distribution but
not anything after that.  I removed it but the behavior continues.

I've re-downloaded 1.2.4 repeatedly, and now tried 1.2.5 so I don't think
that .jar file is corrupt.  I've removed and re-deployed the webapp several
times, so it would be odd if the same file were damaged every time.

Help, please!

-- 
Wendy Smoak


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

Reply via email to