Re: Struts 2.5.12

2017-07-21 Thread Lukasz Lenart
I have got such answer from JRebel: """ you can add JVM option “-Drebel.struts2_plugin=false” to temporarily disable JRebel Struts 2 integration. This should allow you to use JRebel with the project, but will disable JRebel from being able to make Struts related changes. """ Regards -- Łukasz +

Re: Struts 2.5.12

2017-07-14 Thread Tamás Barta
This is the response from JRebel team: "Letting you know that i have reproduced the issue and passed it on to our developers. I will let you know as soon as we have any updates on this." 2017. júl. 14. 11:11 ezt írta ("Lukasz Lenart" ): 2017-07-14 11:06 GMT+02:00 Tamás

Re: Struts 2.5.12

2017-07-14 Thread Lukasz Lenart
2017-07-14 11:06 GMT+02:00 Tamás Barta : > Yes, I have just wrote them an email. Thanks. It is a very big problem for > us now as we can't upgrade to the latest and maybe to future versions. Looks like is due to these changes, before there were two configuration sets created

Re: Struts 2.5.12

2017-07-14 Thread Tamás Barta
Yes, I have just wrote them an email. Thanks. It is a very big problem for us now as we can't upgrade to the latest and maybe to future versions. On Fri, Jul 14, 2017 at 11:02 AM, Lukasz Lenart wrote: > 2017-07-14 10:53 GMT+02:00 Tamás Barta : > >>

Re: Struts 2.5.12

2017-07-14 Thread Lukasz Lenart
2017-07-14 10:53 GMT+02:00 Tamás Barta : >> but this is inside "createBootstrapContainer", right? > > yes but this is only called without reading external dependencies (i.e. struts-default,xml or struts.xml) which means JRebel has to do it O_o - did you try to ask them for

Re: Struts 2.5.12

2017-07-14 Thread Tamás Barta
> but this is inside "createBootstrapContainer", right? yes > Do you use "struts.convention.classes.reload" ? no, I never set it On Fri, Jul 14, 2017 at 10:52 AM, Lukasz Lenart wrote: > 2017-07-14 10:32 GMT+02:00 Tamás Barta : > > When I remove

Re: Struts 2.5.12

2017-07-14 Thread Lukasz Lenart
2017-07-14 10:32 GMT+02:00 Tamás Barta : > When I remove this line from DefaultConfiguration: > > builder.constant(StrutsConstants.STRUTS_DEVMODE, "false"); but this is inside "createBootstrapContainer", right? > Then no exception is thrown and when I try to enter method

Re: Struts 2.5.12

2017-07-14 Thread Tamás Barta
When I remove this line from DefaultConfiguration: builder.constant(StrutsConstants.STRUTS_DEVMODE, "false"); Then no exception is thrown and when I try to enter method "create", the "constant" method is called with "struts.devMode=true", then again with "struts.convention.classes.reload=true",

Re: Struts 2.5.12

2017-07-14 Thread Lukasz Lenart
2017-07-14 9:36 GMT+02:00 Tamás Barta : > Yes. > > The very strange thing I don't understand are the following lines in the > stacktrace: > > 07:33:09,799 ERROR [stderr] (ServerService Thread Pool -- 99) at >

Re: Struts 2.5.12

2017-07-14 Thread Tamás Barta
And If i put a breakpoint at ContainerBuilder.create, it will never stop. The exception happens before create even if we can see it in the stacktrace. Isn't CDI interceptors or similar somewhere? On Fri, Jul 14, 2017 at 9:36 AM, Tamás Barta wrote: > Yes. > > The very

Re: Struts 2.5.12

2017-07-14 Thread Tamás Barta
Yes. The very strange thing I don't understand are the following lines in the stacktrace: 07:33:09,799 ERROR [stderr] (ServerService Thread Pool -- 99) at com.opensymphony.xwork2.inject.ContainerBuilder.constant(ContainerBuilder.java:398) 07:33:09,800 ERROR [stderr] (ServerService Thread Pool

Re: Struts 2.5.12

2017-07-14 Thread Lukasz Lenart
2017-07-14 9:25 GMT+02:00 Tamás Barta : > I updated them, I updated all the jars. Hmm... is it the same exception as on the beginning of this conversation? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: Struts 2.5.12

2017-07-14 Thread Tamás Barta
I updated them, I updated all the jars. On Fri, Jul 14, 2017 at 9:23 AM, Lukasz Lenart wrote: > 2017-07-14 9:19 GMT+02:00 Tamás Barta : > >> Do you use only those three jars only? > > > > I use many other libs too but it is enough to change the

Re: Struts 2.5.12

2017-07-14 Thread Lukasz Lenart
2017-07-14 9:19 GMT+02:00 Tamás Barta : >> Do you use only those three jars only? > > I use many other libs too but it is enough to change the "core" jar back > to the old version to be deployed well. Using the new core jar won't deploy. Nope, it isn't :) You must also

Re: Struts 2.5.12

2017-07-14 Thread Tamás Barta
> JDK version you are running on? java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode) > Do you use only those three jars only? I use many other libs too but it is enough to change the "core" jar back to

Re: Struts 2.5.12

2017-07-14 Thread Lukasz Lenart
2017-07-14 8:49 GMT+02:00 Tamás Barta : > It seems that new version is not compatible with JRebel. Have you tried > starting a new version struts app with JRebel? I don't have JRebel so I have no way to test that :( But this would be a strange thing, I do not see a change

Re: Struts 2.5.12

2017-07-14 Thread Tamás Barta
Dear Lukasz, thank you very much for your very fast support all the time. It seems that new version is not compatible with JRebel. Have you tried starting a new version struts app with JRebel? If I replace the 3 struts jar files I use (core, spring-plugin, convention-plugin) to the old version,

Re: Struts 2.5.12

2017-07-13 Thread Lukasz Lenart
2017-07-13 15:32 GMT+02:00 Tamás Barta : > Hmm, struts jars are only once in ear's lib. I just replaced the old > versions. Interesting. but maybe in a cache folder or tmp or in a folder where the EAR got expanded Regards -- Łukasz + 48 606 323 122

Re: Struts 2.5.12

2017-07-13 Thread Tamás Barta
Hmm, struts jars are only once in ear's lib. I just replaced the old versions. Interesting. 2017. júl. 13. du. 2:42 ezt írta ("Lukasz Lenart" ): > 2017-07-13 14:24 GMT+02:00 Tamás Barta : > > Hi, > > > > I have just tried to migrate to 2.5.12 from

Re: About Apache Struts 2.5.12 GA with Security Fixes Release

2017-07-13 Thread Lukasz Lenart
2017-07-13 15:15 GMT+02:00 Emi : > Hello, > > May I know do you release one update version for 2.3.x about this bug fix as > well? Yes, there is 2.3.33 under way to the central and mirrors, it should be announced early today. Regards -- Łukasz + 48 606 323 122

About Apache Struts 2.5.12 GA with Security Fixes Release

2017-07-13 Thread Emi
Hello, May I know do you release one update version for 2.3.x about this bug fix as well? Thanks. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts 2.5.12

2017-07-13 Thread Lukasz Lenart
2017-07-13 14:24 GMT+02:00 Tamás Barta : > Hi, > > I have just tried to migrate to 2.5.12 from 2.5.10.1. I got the following > error at startup: > > Caused by: com.opensymphony.xwork2.inject.DependencyException: Dependency > mapping for [type=java.lang.String,

Struts 2.5.12

2017-07-13 Thread Tamás Barta
Hi, I have just tried to migrate to 2.5.12 from 2.5.10.1. I got the following error at startup: Caused by: com.opensymphony.xwork2.inject.DependencyException: Dependency mapping for [type=java.lang.String, name='struts.devMode'] already exists. at

[ANN] Apache Struts 2.5.12 GA with Security Fixes Release

2017-07-13 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Struts 2.5.12 is available as a “General Availability” release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed