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 < [EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd