Hi,

    Every once in a while WebWork just starts to behave strangely and I have
no clue of what's going on.

    First it was the UI tags in Velocity that didn't work. I decided to
start another webapp from scratch, using the same tags, and it worked! There
were very few differences between the two examples, things I would consider
to be small details.

    Now I'm running into another problem:

java.lang.RuntimeException: Fallback must be an instance of
DefaultConfigurationManager
    at
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.setFall
back(DefaultComponentManager.java:50)
    at
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLi
fecycleFilter.java:55)


    I've had this problem before, when I configure the
RequestLifecycleFilter but didn't register any components, and I figured
that was the problem, because when I removed the RequestLifecycleFilter it
worked, and when I added a component (even if I didn't use it), it worked
too.

    But now WebWork started throwing that exception at me again, for no
reason, because I do have a registered component. I know it's the filter's
fault because if I remove it it stops throwing the exception.


    One other thing: WebWork is unable to find validators.xml:

4:25:19,476 DEBUG ValidationInterceptor:33 - Validating /adminadminLogin.
14:25:19,777 DEBUG ValidatorFactory:74 - Loading validator definitions.
14:25:23,873 ERROR ValidatorFileParser:132 - Caught exception while parsing
validator definitions.
14:25:24,023 ERROR ActionValidatorManager:145 - Caught exception while
loading file
br/inf/netropolis/cytour/core/aplicacao/webwork/AdminLoginAction-validation.
xml
java.lang.IllegalArgumentException: There is no validator class mapped to
the name requiredstring
    at
com.opensymphony.xwork.validator.ValidatorFactory.getValidator(ValidatorFact
ory.java:48)


    But it does find xwork.xml, which is at the same location (root of
classpath):

14:25:09,652 DEBUG XmlConfigurationProvider:517 - Loading xwork
configuration from: xwork.xml
14:25:09,973 DEBUG XmlConfigurationProvider:517 - Loading xwork
configuration from: webwork-default.xml


    Note: before today's changes, the validation framework worked fine.

    Question: what is going on??? What am I doing wrong? Please help!

Thanks,
        - Vítor




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to