Posts tagged struts
Yup, I’m. I’m confused because of lack of good TED presentations for last few weeks. Maybe I’m wrong and there were some, please feel free to show me them, because if so, it means that’s something wrong with me 😉
Never mind, back to business. I was working hard for last few weeks to release a new Apache Struts 2 version. The first attempt failed, as during the Vote progress a bug was detected – so it’s good, better sooner than later 😀 The second attempt is under Vote right now and I’m testing it – like a tester, by clicking here and there with the example Showcase application. It looks good, but Matt reported that tests for AppFuse are slower for version 2.2.3 comparing to version 2.1.8. Hmm… only two seconds but always …
I figured out how to check what can be wrong. In the latest version we’ve introduced mechanism to escape action’s name and method’s name as with Dynamic Method Invocation mechanism a hacker can use them for XSS attack. And as an Action is created per each request, that can slow down the whole framework. So I will use YSlow to measure load times for pages in the Showcase application, next I will rollback the changes regarding escaping and re-run the tests. And then compare the results.
Maybe it will give me the answer 😉
Staying around the Apache Software Foundation – proposal to join ASF is almost ready for OGNL project – it’s a very good information as OGNL was homeless for some time. Many thanks to Simone for taking care of that, lot of good work!
Another thing, I’ve started or rather joined a new project or better an on-going project 😉 It’s for financial industry – again someone could say – but it’s something different from what I had been doing for a previous bank. Anyway it should be funny and interesting – lot of JSF2ise, CDIse and JBossise stuff will be flying in the air 😛
What else is going on ? We’re working hard to prepare the next edition of the Warsaw JUG Conference – Confitura 2011 aka Javarsovia – see you there in June. On the beginning of May the GeeCON conference take place and hopefully I’ll be there as well.
I had been preparing a new Struts 2 release for last few weeks. It contains only a tiny change regarding security and I had been counting that it shouldn’t take more than a week to release it. How wrong I was 😉http://visualcage.ru
Everything had started smoothly, I’ve created a new Subversion branch, to not interfere with current on-going development of the new Struts 2.2.2. The branch was made from Subversion tag (yeah, branches, tags and trunks are all the same, just copies 😉 ). Next, I’ve applied a patch to solve the security hole and I was truly sure that’s it – I can start the release process. So I’ve gone ahead, mvn release:prepare command went smoothly, so the next step was mvn release:perform. And after almost waiting 1h I’ve got a strange looking massage: not all licenses were approved !?!
The first thought, I’m using the latest Maven 3.0.1 and that’s the problem, but it wasn’t. I started looking into RAT plugin source code to check what could be wrong. I’ve just discovered that the plugin is checking wrong Apache License header but also looking for the License’s URL so it should be ok. The origin of the problem was quite simple. The Maven Release plugin allows to make release only from a SNAPSHOT version, so I’ve changed the version only in the parent pom of the project. The rest was unmodified. After changing all the version signatures in all the poms the problem was gone 😉
To launch another release process I’ve had to rollback all the changes made during previous launching release command. mvn release:rollback did the job but I’ve had to manually remove the tag from Subversion repository. And of course I’ve removed the wrong one 🙁
Thanks to Wes for a tip how to rollback such a huge mistake, the command looks like this:
TAG_1 is the removed tag, number 10 is the revision -1 when the tag was removed.film The Bye Bye Man streaming
So I’ve started again, to make a release and again something went wrong. I noticed the release plugin is making a tag base on wrong path – it was using the original path of the tag from which the branch was made of instead the branch path. And again I’ve had to rollback all changes and remove the tag – this time the correct one 😉
Resolution was easy – change scm tag in all the poms to point to the branch 😛
And again, I’ve started the release process and this time everything went more than smoothly, all the artifacts were uploaded to Apache Nexus, so the last think before calling a vote was to close a staging repository. And again I was wrong, during that, Nexus reported that two jar files don’t have corresponding files with signature. I’ve checked locally and everything was ok. After short conversation with guys from support, I’ve got the solution – upgrade to latest Apache Parent 🙂
Yep, easy, but to do that I’ve had to once again rollback everything, prepare a new Struts Parent that will inherit from the latest Apache Parent, release it and call for a vote 😀
Finally, after almost 2 months I was able to release Struts 126.96.36.199 – the vote is under way, so if you are Struts PMC, please test the release and vote!
Just to relax a bit, take a time and watch that very inspiring talk about camels:
Anyway I discovered lot of strange use cases where some custom mechanism was build instead to use what was already provided with the framework. It was like inventing a wheel once again! Frankly, I was truly surprised how someone could do this that way. And I start thinking what was the reason to do that…
The only thought came to the mind that someone was afraid to use what was already provided to him with Apache Struts 1 – he didn’t know the framework well, he was too lazy to check sources, and so on. I was real devastated! If someone doing application in such way, no framework will help him or do the job for him!
Recently I’ve been solving issues in Apache Struts 2 and one of them was to add wildcard support to a file upload mechanism. Provided patch had solved that problem with some home made RegExp engine. I just added a test case to proof it was working properly and committed all the changes to a source code repository. After that a more experienced Committer pointed me out that I should use existing PatterMatcher class instead, what I did and the code looks much better right now. You can see an example here Apache Struts 2 useful beans.
From a House on Willow Street (2017) HD
|Release||:||March 24, 2017|
|Production Company||:||The Darkside, Fat Cigar Productions.|
Movie ‘From a House on Willow Street’ was released in March 24, 2017 in genre Horror. Alastair Orr was directed this movie and starring by Sharni Vinson. This movie tell story about Kidnappers abduct the daughter of a wealthy diamond distributor in Cape Town. But when they have her locked up in their hideout and prepare to issue their ransom demands, they realise too late that she’s been possessed by a sinister and very powerful demon. A stylish supernatural suspense, directed with clear genre assurance and featuring a killer role by Australian scream queen Sharni Vinson, a past FrightFest guest with YOU’RE NEXT and PATRICK.
Do not miss to Watch movie From a House on Willow Street (2017) Online for free with your family. only 2 step you can Watch or download this movie with high quality video. Come and join us! because very much movie can you watch free streaming.
Watch From a House on Willow Street 2017 Online Putlocker
From a House on Willow Street 2017 English Episode
From a House on Willow Street 2017 English Full Episodes Online Free Download
Watch From a House on Willow Street 2017 Online Free megashare
From a House on Willow Street 2017 Watch Online
Watch From a House on Willow Street 2017 Online Free Viooz
From a House on Willow Street 2017 For Free online
download film From a House on Willow Street now
From a House on Willow Street 2017 English Episodes
From a House on Willow Street 2017 Episodes Watch Online
From a House on Willow Street 2017 English Episodes Free Watch Online
watch full From a House on Willow Street 2017 movie
Watch From a House on Willow Street 2017 Online Free
watch full movie From a House on Willow Street 2017 online
watch From a House on Willow Street movie now
live streaming film From a House on Willow Street 2017 online
movie From a House on Willow Street download
watch film From a House on Willow Street 2017 now
From a House on Willow Street 2017 Full Episodes Watch Online
From a House on Willow Street 2017 HD Full Episodes Online
download From a House on Willow Street 2017 movie
From a House on Willow Street 2017 Online Free Megashare
Watch From a House on Willow Street 2017 Online Megashare
download full film From a House on Willow Street 2017
From a House on Willow Street 2017 English Full Episodes Watch Online
watch full film From a House on Willow Street online
download movie From a House on Willow Street now
trailer movie From a House on Willow Street 2017
Watch From a House on Willow Street 2017 Online Free Putlocker
From a House on Willow Street 2017 Episodes Online
streaming From a House on Willow Street film
Watch From a House on Willow Street 2017 Online Free putlocker
download film From a House on Willow Street
From a House on Willow Street 2017 HD English Full Episodes Download
From a House on Willow Street 2017 For Free Online
From a House on Willow Street 2017 English Full Episodes Download
From a House on Willow Street 2017 Full Episodes Online
film From a House on Willow Street streaming
From a House on Willow Street 2017 English Full Episodes Free Download
watch From a House on Willow Street 2017 film now
watch movie From a House on Willow Street now
watch full From a House on Willow Street movie online
From a House on Willow Street 2017 Full Episode
download movie From a House on Willow Street
Watch From a House on Willow Street 2017 Online Viooz
streaming film From a House on Willow Street
live streaming movie From a House on Willow Street 2017 online
I hadn’t have any particular tasks for last two days. Some minor updates to print layout – that’s it! So I had time to work with Apache Struts2 project and with Xwork project. Also I prepared another presentation from Javarsovia 2009 conference and uploaded it on beta.parleys.com.watch film Lady Macbeth now
Today we had Code Review – it was a bit to long, over three hours! Code Reviews are great if they are organized more often, but hopefully we will have another Code Review soon 😉
At the end of day I had working solution, that didn’t break anything – it was quite simple (if I look on it now 😉 ) – I just implemented the whole download logic in separated Struts action, not connected with the internal framework – that allowed me to skip the problems!
The last thing to do is write a unit test to confirm that!