Re: Struts 2 multiple wars in single ear, under JBoss

2009-10-01 Thread Yohan Liyanage
I modified the jboss-web.xml files to the following : http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd";> com...crs.maintenance:loader=-maintenance-web.war java2ParentDelegation=false But now I get a Linkage Error when starting JBoss :

Struts 2 multiple wars in single ear, under JBoss

2009-10-01 Thread Yohan Liyanage
Hi, I am trying to deploy a EAR file which contains two WAR files, each of which uses Struts 2 into JBoss, but it fails due to a class loading problem. The exception I get is as follows: 10:52:46,698 ERROR [[/-reservation-web]] Exception starting filter struts2 Unable to load bean: type: cla

Re: Access Denied error with Struts 2.1.8

2009-10-01 Thread Wes Wannemacher
Try moving your project to a directory on your machine that doesn't have spaces in it... There are problems with the JDK's built-in URL handling and if eclipse is accessing your jars via constructed URLs (like it seems from the stacktrace), then you might be bitten by this bug. Of course we'll work

Re: Access Denied error with Struts 2.1.8

2009-10-01 Thread Dan R. Olsen III
I don't set that path. It seems to be building that path in one of the functions listed in the stack trace. Like I said, if I switch out the jar files to the Struts 2.1.6 jars it works just fine. On 10/1/2009 4:34 PM, Dale Newfield wrote: Dan R. Olsen III wrote: jar:file:\C:\Documents and Sett

Re: Access Denied error with Struts 2.1.8

2009-10-01 Thread Dale Newfield
Dan R. Olsen III wrote: jar:file:\C:\Documents and Settings\DOLSEN\My Documents\Eclipse3.5Projects\Temp\war\WEB-INF\lib\struts2-core-2.1.8.jar Surely doesn't seem like a valid URL Even file:\C:\Documents and Settings\DOLSEN\My Documents\Eclipse3.5Projects\Temp\war\WEB-INF\lib\struts2-core-2.1

Access Denied error with Struts 2.1.8

2009-10-01 Thread Dan R. Olsen III
When I am trying to run my Struts application under 2.1.8 I am getting an "Access Denied" error. I have checked the file permissions on the struts-core-2.1.8.jar file and it is the same as my 2.1.6 file. Under 2.1.6 it works just fine. Any ideas? The error and stack trace I get are below.

dynamic collections as form inputs / tabular inputs

2009-10-01 Thread Allen Lee
Is it possible to have a list of lists as a form input? I've looked at http://struts.apache.org/2.x/docs/tabular-inputs.html and http://struts.apache.org/2.x/docs/tabular-inputs-with-hashmap.html but they aren't quite capturing my needs. I've got multiple tables of annotated data that I'd like to

Re: Problem Using Struts 2.1.8 Portlet Plugin With redirectAction

2009-10-01 Thread Nils-Helge Garli Hegvik
Definitively a bug somewhere. A quick fix is to add ".action" in the configuration for the redirectAction result. Something has changed from 2.1.6 and 2.1.8 that caused this. I'll investigate further. It also fails in the sample portlet application, which I did click through before 2.1.8... Nils-H

Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

2009-10-01 Thread Lukasz Lenart
2009/10/1 E Au : > I just migrated my struts 2.1.6 webapp to 2.1.8. My webapp failed to load > because > it couldn't read struts-default.xml which is using > http://struts.apache.org/dtds/struts-2.1.7.dtd. > The dtd is not currently available in that url. Please fill Jira ticket for that, I will

Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

2009-10-01 Thread Musachy Barroso
there was a change after 2.1.6 to add the plugin load order attribute. musachy On Thu, Oct 1, 2009 at 10:56 AM, Lukasz Lenart wrote: > 2009/10/1 Wes Wannemacher : >> There was a post-2.1.6 change to that dtd, that's why it doesn't >> currently point to 2.1.dtd > > Are you sure? I've just checked

Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

2009-10-01 Thread Lukasz Lenart
2009/10/1 Wes Wannemacher : > There was a post-2.1.6 change to that dtd, that's why it doesn't > currently point to 2.1.dtd Are you sure? I've just checked struts-default.xml for 2.1.6 and it's pointing to http://struts.apache.org/dtds/struts-2.1.dtd Regards -- Lukasz http://www.lenart.org.pl/

Re: Problem Using Struts 2.1.8 Portlet Plugin With redirectAction

2009-10-01 Thread Nils-Helge Garli Hegvik
It Should work with redirectAction. I'll look into it. Nils-H On Thu, Oct 1, 2009 at 7:28 PM, phillips1021 wrote: > > I changed my struts.xml configuration to use type chain instead of type > redirectAction > >                 class="com.struts2.tutorial.action.EmployeeAction" method="delete"> >

Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

2009-10-01 Thread Wes Wannemacher
There was a post-2.1.6 change to that dtd, that's why it doesn't currently point to 2.1.dtd On Thu, Oct 1, 2009 at 1:48 PM, Lukasz Lenart wrote: > 2009/10/1 E Au : >> I just migrated my struts 2.1.6 webapp to 2.1.8. My webapp failed to load >> because >> it couldn't read struts-default.xml which

Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

2009-10-01 Thread Lukasz Lenart
2009/10/1 E Au : > I just migrated my struts 2.1.6 webapp to 2.1.8. My webapp failed to load > because > it couldn't read struts-default.xml which is using > http://struts.apache.org/dtds/struts-2.1.7.dtd. You should point struts.xml to http://struts.apache.org/dtds/struts-2.1.dtd there isn't ve

Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

2009-10-01 Thread Wes Wannemacher
Are you using tomcat? This crops up from time to time on this list... I'll make sure a copy of that dtd gets pushed out there, there is a better solution (since not every web-app will have access to the 'net). I know it has to do with the jars that come with Tomcat. I am pretty sure that you can ov

Re: Problem Using Struts 2.1.8 Portlet Plugin With redirectAction

2009-10-01 Thread phillips1021
I changed my struts.xml configuration to use type chain instead of type redirectAction index /portlet/employeeFormPortlet.jsp and now it works. So despite the warning about using type="chain" here: http://str

Re: [ANN] Struts 2.1.8 GA Release

2009-10-01 Thread Musachy Barroso
We are looking at it, this will probably mean another build, if you guys can keep an eye on the dev@ mailing list and help us test it, it will be greatly appreciated. musachy On Thu, Oct 1, 2009 at 9:44 AM, Karl wrote: > As reported by Lee, the zip file for 2.1.8GA on Windows is unusable. Please

Problem Using Struts 2.1.8 Portlet Plugin With redirectAction

2009-10-01 Thread phillips1021
I have a Struts 2 portlet application that works fine using Struts 2.0.14. We could not get it to work using 2.1.6 and the 2.1.6 portlet plugin due to the problem the 2.1.6 portlet plugin version had with the s:form tag (see http://www.nabble.com/Error-when-deploying-portlets-beside-a-normal-S

RE: [ANN] Struts 2.1.8 GA Release

2009-10-01 Thread Karl
As reported by Lee, the zip file for 2.1.8GA on Windows is unusable. Please repackage. If not reported as a bug, I assume it should be? I'm new around these parts so am hesitant to pull the trigger. > Should any issues arise with your use of any version of the Struts > framework, please post you

http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

2009-10-01 Thread E Au
I just migrated my struts 2.1.6 webapp to 2.1.8. My webapp failed to load because it couldn't read struts-default.xml which is using http://struts.apache.org/dtds/struts-2.1.7.dtd. The dtd is not currently available in that url. However, struts-2.1.7.dtd file is included in the struts-core-2.1.

IE complains about mixed content when doing HTTP-server-redirect with Struts

2009-10-01 Thread Raphaël Di Cicco
Hello, it has been a few weeks that I try to solve this issue, not with success so far. I run a website in full SSL, by using a certificate on either Tomcat or another equipment on the network (either one doesn't change the issue). The issue that I have is only happenning with IE6, despite having

Re: Convention Plugin - "Unable to find a result type for extension [svn/]"

2009-10-01 Thread Musachy Barroso
boo :). I wrote a test and all with a file like ".xyz" and forgot about dirs. musachy On Thu, Oct 1, 2009 at 7:55 AM, Christian Bockermann wrote: > Hi Musachy, > > I'm sorry to say that your patch didn't work. In the '.svn' case, '.svn' is > a directory and the value of "path" will be ".../.svn/

Re: Convention Plugin - "Unable to find a result type for extension [svn/]"

2009-10-01 Thread Christian Bockermann
Hi Musachy, I'm sorry to say that your patch didn't work. In the '.svn' case, '.svn' is a directory and the value of "path" will be ".../.svn/". In you patch you check String fileName = StringUtils.substringAfterLast( path, "/" ) which in the '.svn'-directory-case will result in an e

Re: Errors during unzip of 2.1.8

2009-10-01 Thread Wes Wannemacher
sweet, I'll try it out -Wes On Thu, Oct 1, 2009 at 10:42 AM, Peter Phillips wrote: > The option --restrict-file-names=windows on wget should sort out the > question marks. > > Peter. > > 2009/10/1 Wes Wannemacher : >> I think that's a side effect of mirroring the wiki with wget... There >> are a

Re: Errors during unzip of 2.1.8

2009-10-01 Thread Peter Phillips
The option --restrict-file-names=windows on wget should sort out the question marks. Peter. 2009/10/1 Wes Wannemacher : > I think that's a side effect of mirroring the wiki with wget... There > are a few possible solutions, we could try to remove those files > before zipping (since I'm guessing t

[OT] Re: User provisioning and maintenance systems

2009-10-01 Thread Wes Wannemacher
I've been contemplating this lately as well. I've generally rolled my own similar to what you describe, but I am thinking about moving away from that and into using CAS for authentication and authorization and configuring spring security to honor it in the apps. The upside is that user management w

Re: Errors during unzip of 2.1.8

2009-10-01 Thread Wes Wannemacher
I think that's a side effect of mirroring the wiki with wget... There are a few possible solutions, we could try to remove those files before zipping (since I'm guessing that their content is the same as the file without the ?C=M;O=D.html crap). -Wes On Wed, Sep 30, 2009 at 8:45 PM, Lee Clemens

Re: S2: Validation not happening

2009-10-01 Thread maestro
For sake of completeness, I have decided to drop the Validation.xml route and go with the plain old java validation. Time is running, and so am I. :) On Tue, Sep 29, 2009 at 1:06 PM, maestro wrote: > I have searched and compared to no avail. > This one has been stumping me for some time now. > I

RE: Create new theme in struts Tutorial

2009-10-01 Thread Mike Baranski
This should get you started, it took me forever to figure it all out... http://mikeski.net/site/node/16 >-Original Message- >From: Eduard Neuwirt [mailto:eduard.neuw...@googlemail.com] >Sent: Wednesday, September 30, 2009 3:33 PM >To: Struts Users Mailing List >Subject: Re: Create new the

Re: Localization and Dates

2009-10-01 Thread Lukasz Lenart
2009/10/1 Robin Mannering : > It seems that the Date conversion provided by struts/xwork is not working in > this case as expected. > > I have no idea if this is a config issue or not. > > If nobody else can shed a light on this problem, I shall fall back to > defining date fields as String and fol

Re: Localization and Dates

2009-10-01 Thread Robin Mannering
Thanks very much for the detailed answer Greg. Thanks Tommy for the links but the problem I have isn't related to displaying of dates. Specifically, I've narrowed it down to the type conversion carried out by Struts. The struts type conversion documentation states type conversion for dates