>From your log, its not picking up any properties for the ValidatorPlugin -
most importantly - the "pathnames" one - thats why your not getting any
validator resources initialized.

See these lines....

7 Dec 13:07:25 [DEBUG ActionServlet.807] Initializing module path '' plug
ins
7 Dec 13:07:25 [DEBUG BeanUtils.710]
BeanUtils.populate([EMAIL PROTECTED], {})

They should look something like this....

7 Dec 13:07:25 [DEBUG ActionServlet.807] Initializing module path '' plug
ins
7 Dec 13:07:25 [DEBUG BeanUtils.710]
BeanUtils.populate([EMAIL PROTECTED],
{stopOnFirstError=false, pathnames=/WEB-INF/validator-rules.xml,
/WEB-INF/validation-extends-rule.xml, /WEB-INF/validation.xml})


So the problem is in your strus-config. You said it looked like this....

<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
  <set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
  <set-property property="stopOnFirstError" value="false"/>
</plug-in>

Which looks fine. Are you 100% certain this is what you're deploying?
Somethings not right somewhere in this struts-config

Niall

----- Original Message ----- 
From: "Donie Kelly" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 2004 1:02 PM
Subject: RE: Exception when app goes to form which extends ValidatorForm


> Here is my log. Some of it is missing off the top. See if you can see
> anything I cant.
>
> Many thanks
> Donie
>
>
> -----Original Message-----
> From: Niall Pemberton [mailto:[EMAIL PROTECTED]
> Sent: 07 December 2004 12:59
> To: Struts Users Mailing List
> Subject: Re: Exception when app goes to form which extends ValidatorForm
>
> Another thought. You say your using Validator 1.1.3 (and presumably Struts
> 1.2.4?) - I just took a quick look at the tutorial - their versions of the
> validator config files are for Validator 1.0
>
> Make sure your validator-rules.xml is the latest one that ships with
Struts
> 1.2.4 - its in the "lib" folder in the binary distro. Also make sure your
> validation.xml has the correct dtd declaration at the top:
>
> <!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";>
>
>
> Niall
>
> ----- Original Message ----- 
> From: "Niall Pemberton" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 07, 2004 12:44 PM
> Subject: Re: Exception when app goes to form which extends ValidatorForm
>
>
> > The error is basically saying that it can't find any configured
validation
> > resources. Its a problem in your config files either struts or
validation.
> >
> > Its got to be something in how you've configured struts or validator. I
> > suggest you switch on logging.
> >
> > You should see INFO log messages for
> > "org.apache.struts.validator.ValidatorPlugin" telling you its loading
your
> > two validation config files. If you switch on DEBUG for
> > "org.apache.commons.validator" you'll see a whole ton of information
about
> > the stuff its loading from those validation config files.
> >
> > The other thing that springs to mind is are you using modules and is
your
> > validation stuff configured for the module thats trying to use them?
> >
> > Niall
> >
> > ----- Original Message ----- 
> > From: "Donie Kelly" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Tuesday, December 07, 2004 12:03 PM
> > Subject: RE: Exception when app goes to form which extends ValidatorForm
> >
> >
> > > Hi Niall
> > >
> > > <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
> > >   <set-property property="pathnames"
> > > value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
> > >   <set-property property="stopOnFirstError" value="false"/>
> > > </plug-in>
> > >
> > > Here is the plugin section and there are no errors in the logs that I
> can
> > > see...
> > >
> > > Thansk
> > > Donie
> > >
> > >
> > > -----Original Message-----
> > > From: Niall Pemberton [mailto:[EMAIL PROTECTED]
> > > Sent: 07 December 2004 11:06
> > > To: Struts Users Mailing List
> > > Subject: Re: Exception when app goes to form which extends
ValidatorForm
> > >
> > > What about your struts-config.xml - do you have the validator PlugIn -
> can
> > > you show us the entry?
> > >
> > > If you do have the Plugin are you getting any errors when the webapp
> > starts
> > > up - check your logs.
> > >
> > > Niall
> > >
> > > ----- Original Message ----- 
> > > From: "Donie Kelly" <[EMAIL PROTECTED]>
> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > > Sent: Tuesday, December 07, 2004 10:50 AM
> > > Subject: RE: Exception when app goes to form which extends
ValidatorForm
> > >
> > >
> > > > Hi David, thatnks for that. I'm only starting to set up validation
so
> my
> > > > file is this simple !
> > > >
> > > > <form-validation>
> > > >   <formset>
> > > >     <form name="mmscContentAdaptationForm">
> > > >       <field property="accessCheckInterval" depends="integer">
> > > >       <arg0 key="mmssm.mmsc.ca.accessCheckInterval"/>
> > > >       </field>
> > > >     </form>
> > > >   </formset>
> > > > </form-validation>
> > > >
> > > > Thanks
> > > > Donie
> > > >
> > > > -----Original Message-----
> > > > From: David G. Friedman [mailto:[EMAIL PROTECTED]
> > > > Sent: 07 December 2004 02:09
> > > > To: Struts Users Mailing List
> > > > Subject: RE: Exception when app goes to form which extends
> ValidatorForm
> > > >
> > > > Donie,
> > > >
> > > > What version of the Commons Validator (or Struts) do you have?  I've
> > > looked
> > > > at the raw code of the Validator for a few versions and that line
188
> > > seems
> > > > to be related to problems with your validation.xml form.  I can't
tell
> > if
> > > it
> > > > is a problem with the form name of one of the fields. I recommend
you
> > post
> > > > some of your validation.xml file for feedback.
> > > >
> > > > Regards,
> > > > David
> > > >
> > > > -----Original Message-----
> > > > From: Donie Kelly [mailto:[EMAIL PROTECTED]
> > > > Sent: Monday, December 06, 2004 9:49 AM
> > > > To: Struts Users Mailing List
> > > > Subject: RE: Exception when app goes to form which extends
> ValidatorForm
> > > >
> > > >
> > > > Yes, I have the resource file specified and I use it to load text
into
> > > > pages. This is working ok. I'm lost as to what might casuse this...
> > > >
> > > > Thanks
> > > > Donie
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> > > > Sent: 03 December 2004 17:08
> > > > To: Struts Users Mailing List
> > > > Subject: Re: Exception when app goes to form which extends
> ValidatorForm
> > > >
> > > > Do you have your resource file specified in your struts-config?
> > > >
> > > >
> > > > On Fri, 3 Dec 2004 16:42:09 -0000, Donie Kelly
> <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > Hi all
> > > > >
> > > > > I'm getting this error when accessign a form which extends
> > ValidatorForm
> > > > and
> > > > > I'm having trouble figuring out what;s wrong. Anybody know why
this
> > > might
> > > > > happen. I'm following the tutorial at
> > > > >
> > http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html
> > > > >
> > >
> <http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html>
> > > > >
> > > > > Thanks
> > > > >
> > > > > Donie
> > > > >
> > > > > java.lang.IllegalArgumentException: Resources cannot be null.
> > > > >         at
> org.apache.commons.validator.Validator.(Validator.java:188)
> > > > >         at
> > > > >
> > org.apache.struts.validator.Resources.initValidator(Resources.java:299)
> > > > >         at
> > > > >
> > >
> org.apache.struts.validator.ValidatorForm.validate(ValidatorForm.java:106)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
> > > > > ava:921)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:206)
> > > > >         at
> > > > >
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> > > > >         at
> > > > >
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
> > > > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > > > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
> > > > > java:684)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
> > > > > er.java:432)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
> > > > > .java:356)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> > > > > 56)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
> > > > > sor.java:388)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
> > > > >         at
> > > > >
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> > > > >         at
> > > > >
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
> > > > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > > > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > > > > FilterChain.java:247)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > > > > ain.java:193)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> > > > > va:260)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > >         at
> > > > >
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> > > > > va:191)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
> > > > > .java:493)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > > > eNext(StandardPipeline.java:641)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > >         at
> > > > >
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > >
> > >
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> > > > > )
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> > > > > java:170)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > > > eNext(StandardPipeline.java:641)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
> > > > > )
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > > > eNext(StandardPipeline.java:641)
> > > > >         at
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > > > eNext(StandardPipeline.java:641)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > >         at
> > > > >
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> > > > > :174)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > >         at
> > > > >
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> > > > > 1040)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151
> > > > > )
> > > > >         at java.lang.Thread.run(Thread.java:536)
> > > > >
> > > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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



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

Reply via email to