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
.
- 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
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
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
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
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
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
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
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
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
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
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
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
/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
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.
://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
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
: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
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
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
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:
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
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]
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 (
> 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
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
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
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" ,
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
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
>
> 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
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
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
/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
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
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
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
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
--- 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
39 matches
Mail list logo