struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")
Date Wed, 10 Sep 2008 14:05:05 GMT
 this ticket: https://issues.apache.org/struts/browse/WW-2653 ?

On Wed, Sep 10, 2008 at 9:58 AM, Musachy Barroso <musachy@gmail.com> wrote:

> Didn't we fix this already in xwork trunk?, I think I committed a patch
> someone supplied at some point.
>
>
> On Wed, Sep 10, 2008 at 6:58 AM, Jeromy Evans <
> jeromy.evans@blueskyminds.com.au> wrote:
>
>>
>>
>> Bobby Mitch wrote:
>>
>>> ok,
>>> well for your information I asked about that problem in the JBoss
>>> problem, thinking that the problem could come from JBoss, and I just posted
>>> the question on the XWORK forum
>>> where i hope they will help me fix it.
>>>
>>> http://forums.opensymphony.com/thread.jspa?threadID=454261
>>> http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175490#4175490
>>>
>>> It seems that it is a problem related to xwork, not Struts 2 itself.
>>>
>>> What do you think ?
>>>
>>>
>>
>> It is probably in Xwork, but Struts2 is so tightly coupled to Xwork it's
>> much the same thing.  Most S2 developers can change Xwork code.
>>
>> Looks like you received from good help in the jboss forum.
>>
>> Now that you know where the error occurs, place a breakpoint inside
>> parseValidators to find out *exactly* which URI is causing the problem.
>>
>> Iterator<URL> urls = ClassLoaderUtil.getResources("",
>> ValidatorFactory.class, false);
>> while (urls.hasNext()) {
>>  URL u = urls.next();
>>  File f = new File(u.toURI());
>>
>> It's strange that getResources() is returning a non-file url.  What URL is
>> it returning that causes the exception to be thrown?
>>
>> (normally you get these exceptions when opening a FileInputSream on, say,
>> an http: URL)
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message