Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
Hi, I'm using eclipse + jboss 7 to deploy my struts2 latest distro app... gettng this following deployment exception on alternate deployment. ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/pgr]] (ServerService Thread Pool -- 56) JBWEB000284: Exception starting

conversionError interceptor is causing ModelDriven to fail

2013-07-26 Thread Sreekanth S. Nair
Hi, conversionError interceptor in the interceptor stack breaking the ModelDriven, can't able to bind Model which have custom object association

Re: Error on every concurrent deployment.

2013-07-26 Thread Lukasz Lenart
Do you put framework's lib in JBoss shared library folder? I mean all the app instances use the same libs? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: Hi, I'm using eclipse + jboss 7 to deploy my struts2 latest

Re: conversionError interceptor is causing ModelDriven to fail

2013-07-26 Thread Lukasz Lenart
2013/7/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: Hi, conversionError interceptor in the interceptor stack breaking the ModelDriven, can't able to bind Model which have custom object association My magic ball is broken today and I cannot do any magic, sorry, shop is closed ;-)

Re: Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
Yes, its an ear deployment and all my struts libs are in .ear/lib/ folder -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jul 26, 2013 at 1:08 PM, Lukasz

Re: Error on every concurrent deployment.

2013-07-26 Thread Lukasz Lenart
So you have many war archives in one ear archive? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: Yes, its an ear deployment and all my struts libs are in .ear/lib/ folder -- Thanks Regards Srikanth Software

Re: conversionError interceptor is causing ModelDriven to fail

2013-07-26 Thread Sreekanth S. Nair
Cool... :). There is no stacktrace i can provide you apart from some OGNL obvious dirty WARNINGS. I debugged through some struts code and couldn't figured out whats going wrong, but when i removed conversionError interceptor, all started working, object Associations are getting bound. s:push is

Re: Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
yes thats right and my local wars/lib don't have any lib of struts2. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jul 26, 2013 at 1:11 PM, Lukasz Lenart

Re: Error on every concurrent deployment.

2013-07-26 Thread Lukasz Lenart
So this is probably related to https://issues.apache.org/jira/browse/WW-4152 2013/7/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: yes thats right and my local wars/lib don't have any lib of struts2. -- Thanks Regards Srikanth Software Developer

Re: Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
Yes it is. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jul 26, 2013 at 1:19 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: So this is probably related

Re: conversionError interceptor is causing ModelDriven to fail

2013-07-26 Thread Sreekanth S. Nair
FYI : The following is my FORM Data : 1. struts.token.name: NotificationGroupAction8204bfb6-349c-48ce-b713-668a7466fd78 2. NotificationGroupAction8204bfb6-349c-48ce-b713-668a7466fd78: CTVCK4B205D4CVJL3II5BEPKUPE2W77C 3. id: 4. groupName: sdsdfssasads 5. groupDesc:

Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
Is there any annotation available to bypass prepare method while invoking certain methods, just like @skipvalidation -- Thanks Regards Srikanth

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Paul Benedict
Why would you want to bypass it? On Jul 26, 2013 3:47 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Is there any annotation available to bypass prepare method while invoking certain methods, just like @skipvalidation -- Thanks Regards Srikanth

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
Suppose i need to call any ajax validation on the same Action, it unnecessarily run in to prepare. Where that ajax validation doesn't required to call prepare. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob :

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Paul Benedict
Have you thought of removing the implements Preparable from your action? That will do it. On Jul 26, 2013 6:12 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Suppose i need to call any ajax validation on the same Action, it unnecessarily run in to prepare. Where that ajax

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
No i can't do that, because that Action contains other method which needs Prepare, the only option i can think of is moving these Ajax method to some other Action which is not extending Prepareable. But as of now its very hard because so many resources i have to change. Any other idea? -- Thanks

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Dave Newton
Did you try `prepareWhateverMethodThatNeedsPrepare`? I don't recall if that works or not. On Fri, Jul 26, 2013 at 7:24 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: No i can't do that, because that Action contains other method which needs Prepare, the only option i can think

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
Too many methods :( needs its own prepare then. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jul 26, 2013 at 6:37 PM, Dave Newton davelnew...@gmail.com

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Dave Newton
If you'll note in the docs the interceptor extends MethodFilterInterceptor, so one trivial way to fix it is to configure the interceptor for the specific actions. Another option is to take the existing interceptor and extend it to support something like annotations, a naming convention, etc. to

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
The idea is precisely good, thats what i wanted but do you think it will be a good addition to strust2 framework by any chance then i hope the same could be a part of struts2 framework itself. -- Thanks Regards Srikanth Software Developer eGovernments

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Dave Newton
Technically it already *is* part of S2 in the MethodFilterInterceptor class. I'm not particularly excited about an annotation to skip Prepareable, but I'm not fundamentally opposed, either. Dave On Fri, Jul 26, 2013 at 2:07 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: The

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
Okay, i can create one for mine, leaving to struts2 framework developer whether strust2 need an annotation like @SkipPrepare. Thanks for your support Dave. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob :

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Chris Pratt
Why not just take your action and move the Preparable interface and prepare() function to a subclass with the methods that require it's support? Seems a lot easier than creating more infrastructure. (*Chris*) On Fri, Jul 26, 2013 at 11:22 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
Hi Chris, i already answered for the same, we have more than 50 modules and 1000 of Action classes. Doing what you say is not an easy task for us instead of adding a simple annotation on those method. -- Thanks Regards Srikanth Software Developer eGovernments