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]

Reply via email to