Re: Does struts 2.5.2 supports javaassist 3.18.1

2016-08-28 Thread Sreekanth S. Nair
Thanks Lukasz... yes we are using java 8... hope i can go head with
3.20.0-GA.


On Sun, Aug 28, 2016 at 1:46 PM, Lukasz Lenart 
wrote:

> It should be, in 3.19 support for Java 8 was added so if you are using
> it you must use that version at least
>
> 2016-08-28 10:11 GMT+02:00 Sreekanth S. Nair  org>:
> > Thanks Lukasz... have one more doubt, I hope you may have answer for it
> > though its not related struts2, does javaassist 3.20.0 have any breaking
> > changes from javaassist 3.18.1 ? i couldn't see any release note
> available
> > for it. Please ignore if its out of the scope.
> >
> > On Sun, Aug 28, 2016 at 1:35 PM, Lukasz Lenart 
> > wrote:
> >
> >> 2016-08-26 10:54 GMT+02:00 Sreekanth S. Nair
>  >> org>:
> >> > Does ognl breaks if i exclude 3.20.0-GA javaassist library from
> >> > struts-2.5.2 ? Hibernate version having dependency to javaassist
> >> 3.18.1-GA
> >> > so i'm expecting conflict between these two version.
> >>
> >> Rather no, it will use 3.18.1 version then
> >>
> >>
> >> Regards
> >> --
> >> Łukasz
> >> + 48 606 323 122 http://www.lenart.org.pl/
> >>
> >> -
> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: user-h...@struts.apache.org
> >>
> >>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Does struts 2.5.2 supports javaassist 3.18.1

2016-08-28 Thread Lukasz Lenart
It should be, in 3.19 support for Java 8 was added so if you are using
it you must use that version at least

2016-08-28 10:11 GMT+02:00 Sreekanth S. Nair :
> Thanks Lukasz... have one more doubt, I hope you may have answer for it
> though its not related struts2, does javaassist 3.20.0 have any breaking
> changes from javaassist 3.18.1 ? i couldn't see any release note available
> for it. Please ignore if its out of the scope.
>
> On Sun, Aug 28, 2016 at 1:35 PM, Lukasz Lenart 
> wrote:
>
>> 2016-08-26 10:54 GMT+02:00 Sreekanth S. Nair > org>:
>> > Does ognl breaks if i exclude 3.20.0-GA javaassist library from
>> > struts-2.5.2 ? Hibernate version having dependency to javaassist
>> 3.18.1-GA
>> > so i'm expecting conflict between these two version.
>>
>> Rather no, it will use 3.18.1 version then
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Does struts 2.5.2 supports javaassist 3.18.1

2016-08-28 Thread Sreekanth S. Nair
Thanks Lukasz... have one more doubt, I hope you may have answer for it
though its not related struts2, does javaassist 3.20.0 have any breaking
changes from javaassist 3.18.1 ? i couldn't see any release note available
for it. Please ignore if its out of the scope.

On Sun, Aug 28, 2016 at 1:35 PM, Lukasz Lenart 
wrote:

> 2016-08-26 10:54 GMT+02:00 Sreekanth S. Nair  org>:
> > Does ognl breaks if i exclude 3.20.0-GA javaassist library from
> > struts-2.5.2 ? Hibernate version having dependency to javaassist
> 3.18.1-GA
> > so i'm expecting conflict between these two version.
>
> Rather no, it will use 3.18.1 version then
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Struts2 (2.3.16) upgrade failure - No mapping found for dependency 'actionPackages'

2016-08-28 Thread Lukasz Lenart
This should be fine:

   
struts2

org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter



struts2
/*


https://cwiki.apache.org/confluence/display/WW/web.xml#web.xml-ChangedfilterpackageinStruts>=2.5

2016-08-25 22:02 GMT+02:00 Dhamelia, Krunal :
> Thanks Lukasz,
> That worked fine. I am one step further.
>
> I am using following filters in my web.xml and it is telling me that they are 
> deprecated. I searched on internet but I am getting mixed answers could some 
> one point me to right filters I need to use to replace this?
>
> I am using Spring Struts combination
>
> ---
>
> 
> filterChainProxy
> 
> org.springframework.web.filter.DelegatingFilterProxy
> 
>
> 
> filterChainProxy
> /*
> 
>
> 
> struts-cleanup
> 
> org.apache.struts2.dispatcher.ActionContextCleanUp
> 
> 
> struts2
> 
> org.apache.struts2.dispatcher.FilterDispatcher
> 
>
> 
> struts2
> /*
> 
> --
>
> Thanks and Regards,
> Krunal Dhamelia
> Consultant | TD Securities Technology Solutions| TD Securities
> 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5
> desk: 416 944 6187  cell: 647 835 3067
> e-mail: krunal.dhame...@tdsecurities.com
>
> -Original Message-
> From: Dhamelia, Krunal
> Sent: Thursday, August 25, 2016 1:07 PM
> To: Struts Users Mailing List
> Subject: RE: Struts2 (2.3.16) upgrade failure - No mapping found for 
> dependency 'actionPackages'
>
> I haven't done that. Let me do it and will post if that resolves the issue, 
> thanks a lot.
>
> Thanks and Regards,
> Krunal Dhamelia
> Consultant | TD Securities Technology Solutions| TD Securities
> 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5
> desk: 416 944 6187  cell: 647 835 3067
> e-mail: krunal.dhame...@tdsecurities.com
>
>
> -Original Message-
> From: Lukasz Lenart [mailto:lukaszlen...@apache.org]
> Sent: Thursday, August 25, 2016 12:04 PM
> To: Struts Users Mailing List
> Subject: Re: Struts2 (2.3.16) upgrade failure - No mapping found for 
> dependency 'actionPackages'
>
> 2016-08-25 17:36 GMT+02:00 Dhamelia, Krunal 
> :
>>
>> Hi,
>> Using Struts2 and Spring combination for web Project.
>> Build and Dependency env is Maven
>> I upgraded libraries from Struts 2.0.11 to 2.3.16 and getting following 
>> error. Can't think of any missing dependency can you please point out?
>>
>>
>> Caused by: java.lang.RuntimeException: 
>> com.opensymphony.xwork2.inject.DependencyException: 
>> com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No 
>> mapping found for dependency [type=java.lang.String, name='actionPackages'] 
>> in public void 
>> org.apache.struts2.config.ClasspathPackageProvider.setActionPackages(java.lang.String).
>> at 
>> com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:502)
>> at
>> com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java
>> :539)
>
> Did you change DTD in struts.xml as well to match 2.3? Did you include the 
> Convention Plugin instead of the Codebehind plugin which is deprecated?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
> If you wish to unsubscribe from receiving commercial electronic messages from 
> TD Bank Group, please click here or go to the following web address: 
> www.td.com/tdoptout Si vous souhaitez vous désabonner des messages 
> électroniques de nature commerciale envoyés par Groupe Banque TD veuillez 
> cliquer ici ou vous rendre à l'adresse www.td.com/tddesab
>
> NOTICE: Confidential message which may be privileged. Unauthorized 
> use/disclosure prohibited. If received in error, please go to 
> www.td.com/legal for instructions.
> AVIS : Message confidentiel dont le contenu peut être privilégié. 
> Utilisation/divulgation interdites sans permission. Si reçu par erreur, 
> prière d'aller au www.td.com/francais/avis_juridique pour des instructions.
>  B CB
> [  X  ܚX K  K[XZ[
>   \ \ ][  X  ܚX P] ˘\ X  K ܙ B  ܈ Y  ] [ۘ[[X[ K[XZ[
>   \ \ Z [  ] ˘\ X  K ܙ B
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org

-
To unsubscribe, 

Re: Does struts 2.5.2 supports javaassist 3.18.1

2016-08-28 Thread Lukasz Lenart
2016-08-26 10:54 GMT+02:00 Sreekanth S. Nair :
> Does ognl breaks if i exclude 3.20.0-GA javaassist library from
> struts-2.5.2 ? Hibernate version having dependency to javaassist 3.18.1-GA
> so i'm expecting conflict between these two version.

Rather no, it will use 3.18.1 version then


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org