Zoinks, JBoss 3.2.4 (on unix) and 3.2.5 (on win 2000) have been able to
parse the default validator-rules.xml (version 1.1, which has several
'depends=""') for me without any problems. However, I did run into some
problems with parsing errors on hot redeploys, but never could discover
a pattern to them. I don't recall seeing your particular error. One
thing I discovered that helped in my case was to invalidate any existing
sessions before a hot redeploy. Sorry to be of little help.
Are you sure that is a parsing error?
Erik
Rick Reumann wrote:
Any idea what I need to do to get JBoss3.2.5 to parse the default
validation-rules that comes with Struts? For some reason it chokes on
parsing or evaluating the depends="" sections. If I comment out those
rules it can parse it fine. (Tomcat5 also parses it fine.) I'm
guessing JBoss is using a different parser? Any idea what I should
change?
The relevant error:
17:46:32,072 INFO [ValidatorPlugIn] Loading validation rules file
from '/WEB-INF/validator-rules.xml'
17:46:32,088 INFO [ValidatorPlugIn] Loading validation rules file
from '/WEB-INF/validation.xml'
17:46:32,228 ERROR [Digester] Begin event threw exception
java.lang.reflect.InvocationTargetException
<snip>
Caused by: java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:146)
at java.util.StringTokenizer.<init>(StringTokenizer.java:162)
at
org.apache.commons.validator.ValidatorAction.setDepends(ValidatorAction.java:255)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]