JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Bobby Mitch
Hi, I am using JBoss RC 1 and Struts 2 and I am facing a problem when trying to use an XML validation file. The error message i get is : Code: java.lang.IllegalArgumentException: URI scheme is not "file" at java.io.File.(Unknown Source) at com.opensymphony.xwork2.validator.ValidatorFactory.parse

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Struts Two
. - Original Message From: Bobby Mitch <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Sunday, September 7, 2008 6:17:45 AM Subject: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") Hi, I am using JBoss RC 1 and Struts 2 and I am facing a proble

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Bobby Mitch
ROTECTED]> wrote: From: Struts Two <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Sunday, September 7, 2008, 8:21 AM What version of Struts are you using? If you are u

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Struts Two
Sent: Sunday, September 7, 2008 4:45:07 PM Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") Hi, thanks for your reply. I am using this version : struts-2.0.11.2. I will try the version 2.1.2 and i hope it will work. I will let you know. In t

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Bobby Mitch
oblem in this version. thanks. --- On Sun, 9/7/08, Struts Two <[EMAIL PROTECTED]> wrote: From: Struts Two <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Sunday, Sept

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Jeromy Evans
Bobby Mitch wrote: Well, I upgraded to the beta version and I am getting errors in the struts-tags.tld file that i extracted from struts2-core-2.1.2.tld and put under WEB-INF/ Upgrading to 2.1.2 is a major effort, so I don't recommend that (too late...). You'll have to read the release no

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Don Brown
There was a JBoss issue that I found once I added JBoss 4.2 testing with the tld. Not sure if that fix is in 2.1.2, but it will be in 2.1.3. If you need, you can just unzip the Struts jar, fix the order of the elements that is causing the problem, and zip it back up. Don On Mon, Sep 8, 2008 at

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-08 Thread Bobby Mitch
helping. --- On Sun, 9/7/08, Don Brown <[EMAIL PROTECTED]> wrote: From: Don Brown <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Sunday, September 7, 2008, 10:53 PM

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Don Brown
on Brown <[EMAIL PROTECTED]> > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > is not "file") > To: "Struts Users Mailing List" > Date: Sunday, September 7, 2008, 10:53 PM > > There was a JBoss issue that I found once I add

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Bobby Mitch
Any other suggestion, anyone ? Thanks for helping. --- On Tue, 9/9/08, Don Brown <[EMAIL PROTECTED]> wrote: From: Don Brown <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing Lis

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Jeromy Evans
Bobby Mitch wrote: Any other suggestion, anyone ? Thanks for helping. Did you try my suggestion of changing the doctype to point to a local file? Or a local catalog? Or perhaps even removing the doctype? It appears to be failing to parse the XML and the only URI present is in the doctype

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Bobby Mitch
On Tue, 9/9/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Tuesday, September 9, 2008, 4:56 AM Bo

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Jeromy Evans
Bobby Mitch wrote: hi, thanks again for helping. What XML file exactly are you talking about ? The decriptor file strugs-tag.tld from the The validators XML file you provided in your original email: "-//OpenSymphony Group//XWork Validator 1.0.2//EN" "http://www.opensy

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Bobby Mitch
/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Tuesday, September 9, 2008, 4:59 PM Bobby Mitch wrote

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Jeromy Evans
Bobby Mitch wrote: yes, but i wrote that with this XML file or without this XML file, that is with annotations only (@Validation etc), i still get the same error. So i do not see the point of me trying to change that file. And I want this to work with annotations too. Thanks anyway for helping.

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Bobby Mitch
://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 ? --- On Tue, 9/9/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 a

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Jeromy Evans
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=4542

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Struts Two
:40 AM Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") 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 t

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Musachy Barroso
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, >> thin

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Musachy Barroso
this ticket: https://issues.apache.org/struts/browse/WW-2653 ? On Wed, Sep 10, 2008 at 9:58 AM, Musachy Barroso <[EMAIL PROTECTED]> 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 Eva

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Struts Two
I believe the issue should be fixed on 2.1.2 (for Websphere at least), but it still remains an issue for Struts 2.0.11.2 (for Websphere users). See the email below: - Original Message From: Rene Gielen <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Wednesday, July 16, 2008 2:

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Bobby Mitch
I guess it is game over until a new working release comes out ... --- On Wed, 9/10/08, Struts Two <[EMAIL PROTECTED]> wrote: From: Struts Two <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Jeromy Evans
Musachy Barroso wrote: this ticket: https://issues.apache.org/struts/browse/WW-2653 ? Yeah, that's a fix for the same issue. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Struts Two
ultActionInvocation.invoke(DefaultActionInvocation.java:221) I guess it is game over until a new working release comes out --- On Wed, 9/10/08, Struts Two <[EMAIL PROTECTED]> wrote: From: Struts Two <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Musachy Barroso
> From: Bobby Mitch <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Sent: Wednesday, September 10, 2008 5:01:14 PM > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > is not "file") > > Thanks. > Applying the workaroun

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
What exactly is the fix for this problem then ? Thanks --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: From: Musachy Barroso <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Strut

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Musachy Barroso
blem then ? > Thanks > > --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: > From: Musachy Barroso <[EMAIL PROTECTED]> > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > is not "file") > To: "Struts Users Mai

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
That is not the same error. --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: From: Musachy Barroso <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" ,

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Musachy Barroso
usachy Barroso <[EMAIL PROTECTED]> wrote: > From: Musachy Barroso <[EMAIL PROTECTED]> > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > is not "file") > To: "Struts Users Mailing List" , [EMAIL PROTECTED] > Date: Thursday, September

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
modification been reported on more recent versions of Xwork ? Thanks --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: From: Musachy Barroso <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: &quo

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Gabriel Belingueres
> > Thanks > > > > --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: > From: Musachy Barroso <[EMAIL PROTECTED]> > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > is not "file") > To: &qu

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Musachy Barroso
gt; To: "Struts Users Mailing List" , > > [EMAIL PROTECTED] > >> Date: Thursday, September 11, 2008, 7:54 AM > >> > >> A fix in the code I meant: > > https://issues.apache.org/struts/browse/WW-2653. > >> Grabbing the latest xwor

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
t; > > > Thanks > > > > > > > > --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: > > From: Musachy Barroso <[EMAIL PROTECTED]> > > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI > scheme is not "file&qu

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: From: Musachy Barroso <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" , [EMAIL PROTECTED] Date: Thursday, September 11, 20

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Jeromy Evans
Bobby Mitch wrote: The Xwork issue is this one : http://jira.opensymphony.com/browse/XW-649 They have not fixed it yet ... Can someone fix it with the changes described below on the method private static void parseValidators() { ...} of the class com.opensymphony.xwork2.validator.ValidatorFa

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-12 Thread Bobby Mitch
that contains a fix for my problem (Uri scheme exception which prevents me from using validation). Thanks --- On Thu, 9/11/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI sc

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-12 Thread Jeromy Evans
Bobby Mitch wrote: hi, thanks for the explanations. "Which means if you work from a snapshot version of xwork it's fixed (which is a 2.1 stream though, which you don't want)." What do you mean here ? I didn't realise you could move to 2.1.x. It's not a trivial migration normally. A

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-12 Thread Bobby Mitch
TED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Friday, September 12, 2008, 3:56 AM Bobby Mitch wrote: > hi, > thanks for the

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, Bobby Mitch wrote: > Perhaps you mean to use this Struts-core 2.1.3 jar with this 2.1.2 Xwork jar ? Perhaps. But AFAIK the nightlies only include core, not the rest of the framework. So you'll still probably want to build from source, or fix the version for S2.0 and contrib