You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Lukasz Lenart <lu...@googlemail.com> on 2011/04/04 14:26:42 UTC

Re: [VOTE] Struts 2.2.2

Hi Matt,

Did you have a time to check the options ?


Thanks in advance
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

2011/3/29 Lukasz Lenart <lu...@googlemail.com>:
> In 2.2.1 the new FreeMarker cache options were introduced
> https://cwiki.apache.org/confluence/display/WW/FreeMarker#Cache
>
> And in 2.2.2 the new escape mechanism was added into constructor of
> DefaultActionProxy to avoid XSS
> https://issues.apache.org/jira/browse/WW-3579
> https://svn.apache.org/repos/asf/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/DefaultActionProxy.java
>
>
> Kind regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Warszawa JUG conference - Confitura http://confitura.pl/
>
> 2011/3/28 Matt Raible <ma...@raibledesigns.com>:
>> I'm currently using Struts 2.1.8 and I tried upgrading to 2.2.2. While all
>> my tests pass, my app feels slower. Is there anything performance-wise
>> that's changed since 2.1.x? Looks like my tests take 15 seconds longer to
>> run and 22MB more in memory.
>>
>> mvn clean install -Dstruts.version=2.1.8
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1:30.231s
>> [INFO] Finished at: Mon Mar 28 09:25:28 MDT 2011
>> [INFO] Final Memory: 20M/81M
>>
>> mvn clean install -Dstruts.version=2.2.2
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1:45.934s
>> [INFO] Finished at: Mon Mar 28 09:31:00 MDT 2011
>> [INFO] Final Memory: 22M/81M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> On Mon, Mar 28, 2011 at 9:09 AM, Matt Raible <ma...@raibledesigns.com> wrote:
>>>
>>> The release notes has the wrong staging URL. It has:
>>>
>>> <repositories>
>>>   <repository>
>>>     <id>apache.nexus</id>
>>>     <name>ASF Nexus Staging</name>
>>>
>>> <url>https://repository.apache.org/content/groups/snapshots-group/</url>
>>>   </repository>
>>> </repositories>
>>>
>>> On Sun, Mar 27, 2011 at 4:59 AM, Lukasz Lenart
>>> <lu...@googlemail.com> wrote:
>>>>
>>>> The Struts 2.2.2 test build is now available.
>>>>
>>>> Release notes:
>>>> * [https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.2.2]
>>>>
>>>> Distribution:
>>>> * [http://people.apache.org/builds/struts/2.2.2/]
>>>>
>>>> Maven 2 staging repository:
>>>> *
>>>> [https://repository.apache.org/content/repositories/orgapachestruts-042/]
>>>>
>>>> Once you have had a chance to review the test build, please respond
>>>> with a vote on its quality:
>>>>
>>>> [ ] Leave at test build
>>>> [ ] Alpha
>>>> [ ] Beta
>>>> [ ] General Availability (GA)
>>>>
>>>> Everyone who has tested the build is invited to vote. Votes by PMC
>>>> members are considered binding. A vote passes if there are at least
>>>> three binding +1s and more +1s than -1s.
>>>>
>>>> The vote will remain open for at least 72 hours, longer upon request.
>>>> A vote can be amended at any time to upgrade or downgrade the quality
>>>> of the release based on future experience. If an initial vote
>>>> designates the build as "Beta", the release will be submitted for
>>>> mirroring and announced to the user list. Once released as a public
>>>> beta, subsequent quality votes on a build may be held on the user
>>>> list.
>>>>
>>>> As always, the act of voting carries certain obligations. A binding
>>>> vote not only states an opinion, but means that the voter is agreeing
>>>> to help do the work
>>>>
>>>>
>>>> Kind regards
>>>> --
>>>> Łukasz
>>>> + 48 606 323 122 http://www.lenart.org.pl/
>>>> Warszawa JUG conference - Confitura http://confitura.pl/
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>
>>>
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [VOTE] Struts 2.2.2

Posted by Lukasz Lenart <lu...@googlemail.com>.
2011/4/4 Maurizio Cucchiara <ma...@gmail.com>:
> I'm still using and there is no problem.

Super, thanks :-)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [VOTE] Struts 2.2.2

Posted by Maurizio Cucchiara <ma...@gmail.com>.
I'm still using and there is no problem.

On 4 April 2011 16:43, Matt Raible <ma...@raibledesigns.com> wrote:
> No, I did not. Traveling in Poland this week so probably won't have time to
> check. What I need to change to speed things up?
>
> On Mon, Apr 4, 2011 at 2:26 PM, Lukasz Lenart
> <lu...@googlemail.com>wrote:
>
>> Hi Matt,
>>
>> Did you have a time to check the options ?
>>
>>
>> Thanks in advance
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>> Warszawa JUG conference - Confitura http://confitura.pl/
>>
>> 2011/3/29 Lukasz Lenart <lu...@googlemail.com>:
>> > In 2.2.1 the new FreeMarker cache options were introduced
>> > https://cwiki.apache.org/confluence/display/WW/FreeMarker#Cache
>> >
>> > And in 2.2.2 the new escape mechanism was added into constructor of
>> > DefaultActionProxy to avoid XSS
>> > https://issues.apache.org/jira/browse/WW-3579
>> >
>> https://svn.apache.org/repos/asf/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/DefaultActionProxy.java
>> >
>> >
>> > Kind regards
>> > --
>> > Łukasz
>> > + 48 606 323 122 http://www.lenart.org.pl/
>> > Warszawa JUG conference - Confitura http://confitura.pl/
>> >
>> > 2011/3/28 Matt Raible <ma...@raibledesigns.com>:
>> >> I'm currently using Struts 2.1.8 and I tried upgrading to 2.2.2. While
>> all
>> >> my tests pass, my app feels slower. Is there anything performance-wise
>> >> that's changed since 2.1.x? Looks like my tests take 15 seconds longer
>> to
>> >> run and 22MB more in memory.
>> >>
>> >> mvn clean install -Dstruts.version=2.1.8
>> >>
>> >> [INFO]
>> >> ------------------------------------------------------------------------
>> >> [INFO] BUILD SUCCESS
>> >> [INFO]
>> >> ------------------------------------------------------------------------
>> >> [INFO] Total time: 1:30.231s
>> >> [INFO] Finished at: Mon Mar 28 09:25:28 MDT 2011
>> >> [INFO] Final Memory: 20M/81M
>> >>
>> >> mvn clean install -Dstruts.version=2.2.2
>> >>
>> >> [INFO]
>> >> ------------------------------------------------------------------------
>> >> [INFO] BUILD SUCCESS
>> >> [INFO]
>> >> ------------------------------------------------------------------------
>> >> [INFO] Total time: 1:45.934s
>> >> [INFO] Finished at: Mon Mar 28 09:31:00 MDT 2011
>> >> [INFO] Final Memory: 22M/81M
>> >> [INFO]
>> >> ------------------------------------------------------------------------
>> >>
>> >> On Mon, Mar 28, 2011 at 9:09 AM, Matt Raible <ma...@raibledesigns.com>
>> wrote:
>> >>>
>> >>> The release notes has the wrong staging URL. It has:
>> >>>
>> >>> <repositories>
>> >>>   <repository>
>> >>>     <id>apache.nexus</id>
>> >>>     <name>ASF Nexus Staging</name>
>> >>>
>> >>> <url>https://repository.apache.org/content/groups/snapshots-group/
>> </url>
>> >>>   </repository>
>> >>> </repositories>
>> >>>
>> >>> On Sun, Mar 27, 2011 at 4:59 AM, Lukasz Lenart
>> >>> <lu...@googlemail.com> wrote:
>> >>>>
>> >>>> The Struts 2.2.2 test build is now available.
>> >>>>
>> >>>> Release notes:
>> >>>> * [https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.2.2
>> ]
>> >>>>
>> >>>> Distribution:
>> >>>> * [http://people.apache.org/builds/struts/2.2.2/]
>> >>>>
>> >>>> Maven 2 staging repository:
>> >>>> *
>> >>>> [
>> https://repository.apache.org/content/repositories/orgapachestruts-042/]
>> >>>>
>> >>>> Once you have had a chance to review the test build, please respond
>> >>>> with a vote on its quality:
>> >>>>
>> >>>> [ ] Leave at test build
>> >>>> [ ] Alpha
>> >>>> [ ] Beta
>> >>>> [ ] General Availability (GA)
>> >>>>
>> >>>> Everyone who has tested the build is invited to vote. Votes by PMC
>> >>>> members are considered binding. A vote passes if there are at least
>> >>>> three binding +1s and more +1s than -1s.
>> >>>>
>> >>>> The vote will remain open for at least 72 hours, longer upon request.
>> >>>> A vote can be amended at any time to upgrade or downgrade the quality
>> >>>> of the release based on future experience. If an initial vote
>> >>>> designates the build as "Beta", the release will be submitted for
>> >>>> mirroring and announced to the user list. Once released as a public
>> >>>> beta, subsequent quality votes on a build may be held on the user
>> >>>> list.
>> >>>>
>> >>>> As always, the act of voting carries certain obligations. A binding
>> >>>> vote not only states an opinion, but means that the voter is agreeing
>> >>>> to help do the work
>> >>>>
>> >>>>
>> >>>> Kind regards
>> >>>> --
>> >>>> Łukasz
>> >>>> + 48 606 323 122 http://www.lenart.org.pl/
>> >>>> Warszawa JUG conference - Confitura http://confitura.pl/
>> >>>>
>> >>>> ---------------------------------------------------------------------
>> >>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> >>>> For additional commands, e-mail: dev-help@struts.apache.org
>> >>>>
>> >>>
>> >>
>> >>
>> >
>>
>



-- 
Maurizio Cucchiara

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [VOTE] Struts 2.2.2

Posted by Lukasz Lenart <lu...@googlemail.com>.
2011/4/4 Matt Raible <ma...@raibledesigns.com>:
> No, I did not. Traveling in Poland this week so probably won't have time to
> check. What I need to change to speed things up?

The best is to disable the devMode.
The second it would be great if you could rollback the changes to the
DefaultActionProxy class and remove escaping to see the impact.


Kind regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

PS. Krakow is quite a nice city, especially the old town, but if you
have a time, try to visit Nowa Huta (New Smelter) ;-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [VOTE] Struts 2.2.2

Posted by Matt Raible <ma...@raibledesigns.com>.
No, I did not. Traveling in Poland this week so probably won't have time to
check. What I need to change to speed things up?

On Mon, Apr 4, 2011 at 2:26 PM, Lukasz Lenart
<lu...@googlemail.com>wrote:

> Hi Matt,
>
> Did you have a time to check the options ?
>
>
> Thanks in advance
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Warszawa JUG conference - Confitura http://confitura.pl/
>
> 2011/3/29 Lukasz Lenart <lu...@googlemail.com>:
> > In 2.2.1 the new FreeMarker cache options were introduced
> > https://cwiki.apache.org/confluence/display/WW/FreeMarker#Cache
> >
> > And in 2.2.2 the new escape mechanism was added into constructor of
> > DefaultActionProxy to avoid XSS
> > https://issues.apache.org/jira/browse/WW-3579
> >
> https://svn.apache.org/repos/asf/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/DefaultActionProxy.java
> >
> >
> > Kind regards
> > --
> > Łukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> > Warszawa JUG conference - Confitura http://confitura.pl/
> >
> > 2011/3/28 Matt Raible <ma...@raibledesigns.com>:
> >> I'm currently using Struts 2.1.8 and I tried upgrading to 2.2.2. While
> all
> >> my tests pass, my app feels slower. Is there anything performance-wise
> >> that's changed since 2.1.x? Looks like my tests take 15 seconds longer
> to
> >> run and 22MB more in memory.
> >>
> >> mvn clean install -Dstruts.version=2.1.8
> >>
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] BUILD SUCCESS
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Total time: 1:30.231s
> >> [INFO] Finished at: Mon Mar 28 09:25:28 MDT 2011
> >> [INFO] Final Memory: 20M/81M
> >>
> >> mvn clean install -Dstruts.version=2.2.2
> >>
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] BUILD SUCCESS
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Total time: 1:45.934s
> >> [INFO] Finished at: Mon Mar 28 09:31:00 MDT 2011
> >> [INFO] Final Memory: 22M/81M
> >> [INFO]
> >> ------------------------------------------------------------------------
> >>
> >> On Mon, Mar 28, 2011 at 9:09 AM, Matt Raible <ma...@raibledesigns.com>
> wrote:
> >>>
> >>> The release notes has the wrong staging URL. It has:
> >>>
> >>> <repositories>
> >>>   <repository>
> >>>     <id>apache.nexus</id>
> >>>     <name>ASF Nexus Staging</name>
> >>>
> >>> <url>https://repository.apache.org/content/groups/snapshots-group/
> </url>
> >>>   </repository>
> >>> </repositories>
> >>>
> >>> On Sun, Mar 27, 2011 at 4:59 AM, Lukasz Lenart
> >>> <lu...@googlemail.com> wrote:
> >>>>
> >>>> The Struts 2.2.2 test build is now available.
> >>>>
> >>>> Release notes:
> >>>> * [https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.2.2
> ]
> >>>>
> >>>> Distribution:
> >>>> * [http://people.apache.org/builds/struts/2.2.2/]
> >>>>
> >>>> Maven 2 staging repository:
> >>>> *
> >>>> [
> https://repository.apache.org/content/repositories/orgapachestruts-042/]
> >>>>
> >>>> Once you have had a chance to review the test build, please respond
> >>>> with a vote on its quality:
> >>>>
> >>>> [ ] Leave at test build
> >>>> [ ] Alpha
> >>>> [ ] Beta
> >>>> [ ] General Availability (GA)
> >>>>
> >>>> Everyone who has tested the build is invited to vote. Votes by PMC
> >>>> members are considered binding. A vote passes if there are at least
> >>>> three binding +1s and more +1s than -1s.
> >>>>
> >>>> The vote will remain open for at least 72 hours, longer upon request.
> >>>> A vote can be amended at any time to upgrade or downgrade the quality
> >>>> of the release based on future experience. If an initial vote
> >>>> designates the build as "Beta", the release will be submitted for
> >>>> mirroring and announced to the user list. Once released as a public
> >>>> beta, subsequent quality votes on a build may be held on the user
> >>>> list.
> >>>>
> >>>> As always, the act of voting carries certain obligations. A binding
> >>>> vote not only states an opinion, but means that the voter is agreeing
> >>>> to help do the work
> >>>>
> >>>>
> >>>> Kind regards
> >>>> --
> >>>> Łukasz
> >>>> + 48 606 323 122 http://www.lenart.org.pl/
> >>>> Warszawa JUG conference - Confitura http://confitura.pl/
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> >>>> For additional commands, e-mail: dev-help@struts.apache.org
> >>>>
> >>>
> >>
> >>
> >
>