Re: Struts 2.5.Beta1 and samples

2015-08-27 Thread Chris
   Thank you for help and answers 


 Le Mercredi 26 août 2015 16h09, Chris christal...@yahoo.fr a écrit :
   

 Thanks, It works now. 
I can't say why
Also with 
D:\NetbeansLibs\log4j beta\log4j-api-2.3.jar 


 Le Mercredi 26 août 2015 15h52, Lukasz Lenart lukaszlen...@apache.org a 
écrit :
   

 I cannot reproduce your problem. Just cloned a fresh copy from GitHub,
started the first example - annotations and everything works. Please
be aware that there is no more 'develop' branch, please use 'master'
branch

Here is the dependency list

[INFO] The following files have been resolved:
[INFO]    org.apache.commons:commons-lang3:jar:3.4:compile
[INFO]    org.freemarker:freemarker:jar:2.3.22:compile
[INFO]    org.apache.logging.log4j:log4j-core:jar:2.3:compile
[INFO]    commons-io:commons-io:jar:2.4:compile
[INFO]    org.apache.struts:struts2-core:jar:2.5-BETA1:compile
[INFO]    org.apache.struts:struts2-convention-plugin:jar:2.5-BETA1:compile
[INFO]    ognl:ognl:jar:3.0.11:compile
[INFO]    asm:asm:jar:3.3:compile
[INFO]    javassist:javassist:jar:3.11.0.GA:compile
[INFO]    asm:asm-tree:jar:3.3:compile
[INFO]    commons-fileupload:commons-fileupload:jar:1.3.1:compile
[INFO]    org.apache.logging.log4j:log4j-api:jar:2.3:compile
[INFO]    asm:asm-commons:jar:3.3:compile

can you do the same?
mvn dependency:list -DincludeScope=runtime


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

2015-08-26 11:33 GMT+02:00 Chris christal...@yahoo.fr:
 Yes we are.
  thank you for mentioning.I didn't. But , yes, it's about 
https://github.com/apache/struts-examples
 Regards



      Le Mercredi 26 août 2015 6h47, Lukasz Lenart lukaszlen...@apache.org a 
écrit :


  Strange, I don't see such problems. Are we talking about struts-examples?
 https://github.com/apache/struts-examples


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

 2015-08-25 19:12 GMT+02:00 Chris christal...@yahoo.fr:
 Hi,
 Thank you for the update.I did it to ,  yesterday,  but I got a new error 
 about log4j. ( even with log4j2.xml)
  I think with version 2.5 Beta1 , we must now add the new jar log4j 
api-2.3.jar.But this is not enough, alas.
  Here is the error ...( maybe log4j api-2.3.jar comes not alone ? )août 25, 
2015 2:26:58 PM org.apache.catalina.core.StandardContext filterStart
 SEVERE: Exception au démarrage du filtre struts2
 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
    at org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
    at 
org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
    at 
org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
    at 
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
    at 
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
    at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
    at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
    at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
    at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
    at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
    at 
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.ClassNotFoundException: 
 org.apache.logging.log4j.LogManager
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
    ... 22 more

 août 25, 2015 2:27:13 PM org.apache.catalina.core.StandardContext filterStart
 SEVERE: Exception au démarrage du filtre struts2
 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
    at org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
    at 
org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
    at 

Re: Struts 2.5.Beta1 and samples

2015-08-26 Thread Chris
Yes we are. 
 thank you for mentioning.I didn't. But , yes, it's about 
https://github.com/apache/struts-examples
Regards
 


 Le Mercredi 26 août 2015 6h47, Lukasz Lenart lukaszlen...@apache.org a 
écrit :
   

 Strange, I don't see such problems. Are we talking about struts-examples?
https://github.com/apache/struts-examples


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

2015-08-25 19:12 GMT+02:00 Chris christal...@yahoo.fr:
 Hi,
 Thank you for the update.I did it to ,  yesterday,  but I got a new error 
 about log4j. ( even with log4j2.xml)
  I think with version 2.5 Beta1 , we must now add the new jar log4j 
api-2.3.jar.But this is not enough, alas.
  Here is the error ...( maybe log4j api-2.3.jar comes not alone ? )août 25, 
2015 2:26:58 PM org.apache.catalina.core.StandardContext filterStart
 SEVERE: Exception au démarrage du filtre struts2
 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
    at org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
    at 
org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
    at 
org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
    at 
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
    at 
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
    at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
    at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
    at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
    at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
    at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
    at 
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.ClassNotFoundException: 
 org.apache.logging.log4j.LogManager
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
    ... 22 more

 août 25, 2015 2:27:13 PM org.apache.catalina.core.StandardContext filterStart
 SEVERE: Exception au démarrage du filtre struts2
 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
    at org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
    at 
org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
    at 
org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
    at 
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
    at 
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
    at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
    at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
    at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
    at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
    at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 

Re: Struts 2.5.Beta1 and samples

2015-08-26 Thread Lukasz Lenart
I cannot reproduce your problem. Just cloned a fresh copy from GitHub,
started the first example - annotations and everything works. Please
be aware that there is no more 'develop' branch, please use 'master'
branch

Here is the dependency list

[INFO] The following files have been resolved:
[INFO]org.apache.commons:commons-lang3:jar:3.4:compile
[INFO]org.freemarker:freemarker:jar:2.3.22:compile
[INFO]org.apache.logging.log4j:log4j-core:jar:2.3:compile
[INFO]commons-io:commons-io:jar:2.4:compile
[INFO]org.apache.struts:struts2-core:jar:2.5-BETA1:compile
[INFO]org.apache.struts:struts2-convention-plugin:jar:2.5-BETA1:compile
[INFO]ognl:ognl:jar:3.0.11:compile
[INFO]asm:asm:jar:3.3:compile
[INFO]javassist:javassist:jar:3.11.0.GA:compile
[INFO]asm:asm-tree:jar:3.3:compile
[INFO]commons-fileupload:commons-fileupload:jar:1.3.1:compile
[INFO]org.apache.logging.log4j:log4j-api:jar:2.3:compile
[INFO]asm:asm-commons:jar:3.3:compile

can you do the same?
mvn dependency:list -DincludeScope=runtime


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

2015-08-26 11:33 GMT+02:00 Chris christal...@yahoo.fr:
 Yes we are.
  thank you for mentioning.I didn't. But , yes, it's about 
 https://github.com/apache/struts-examples
 Regards



  Le Mercredi 26 août 2015 6h47, Lukasz Lenart lukaszlen...@apache.org a 
 écrit :


  Strange, I don't see such problems. Are we talking about struts-examples?
 https://github.com/apache/struts-examples


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

 2015-08-25 19:12 GMT+02:00 Chris christal...@yahoo.fr:
 Hi,
 Thank you for the update.I did it to ,  yesterday,  but I got a new error 
 about log4j. ( even with log4j2.xml)
  I think with version 2.5 Beta1 , we must now add the new jar log4j 
 api-2.3.jar.But this is not enough, alas.
  Here is the error ...( maybe log4j api-2.3.jar comes not alone ? )août 25, 
 2015 2:26:58 PM org.apache.catalina.core.StandardContext filterStart
 SEVERE: Exception au démarrage du filtre struts2
 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
at org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
at 
 org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
at 
 org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
at 
 org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
at 
 org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
at 
 org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
at 
 org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
at 
 org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
at 
 org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
at 
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at 
 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at 
 org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at 
 org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.ClassNotFoundException: 
 org.apache.logging.log4j.LogManager
at 
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at 
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
... 22 more

 août 25, 2015 2:27:13 PM org.apache.catalina.core.StandardContext filterStart
 SEVERE: Exception au démarrage du filtre struts2
 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
at org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
at 
 org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
at 
 org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
at 
 org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
at 
 

Re: Struts 2.5.Beta1 and samples

2015-08-25 Thread Chris
Hi, 
Thank you for the update.I did it to ,  yesterday,  but I got a new error about 
log4j. ( even with log4j2.xml)
 I think with version 2.5 Beta1 , we must now add the new jar log4j 
api-2.3.jar.But this is not enough, alas.
 Here is the error ...( maybe log4j api-2.3.jar comes not alone ? )août 25, 
2015 2:26:58 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception au démarrage du filtre struts2
java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
    at org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
    at 
org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
    at 
org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
    at 
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
    at 
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
    at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
    at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
    at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
    at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
    at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
    at 
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
    ... 22 more

août 25, 2015 2:27:13 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception au démarrage du filtre struts2
java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
    at org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
    at 
org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
    at 
org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
    at 
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
    at 
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
    at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
    at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
    at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
    at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
    at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
    at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
    at 

Re: Struts 2.5.Beta1 and samples

2015-08-25 Thread Lukasz Lenart
Strange, I don't see such problems. Are we talking about struts-examples?
https://github.com/apache/struts-examples


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

2015-08-25 19:12 GMT+02:00 Chris christal...@yahoo.fr:
 Hi,
 Thank you for the update.I did it to ,  yesterday,  but I got a new error 
 about log4j. ( even with log4j2.xml)
  I think with version 2.5 Beta1 , we must now add the new jar log4j 
 api-2.3.jar.But this is not enough, alas.
  Here is the error ...( maybe log4j api-2.3.jar comes not alone ? )août 25, 
 2015 2:26:58 PM org.apache.catalina.core.StandardContext filterStart
 SEVERE: Exception au démarrage du filtre struts2
 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
 at org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
 at 
 org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
 at 
 org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
 at 
 org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
 at 
 org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
 at 
 org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
 at 
 org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
 at 
 org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
 at 
 org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
 at 
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at 
 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
 at 
 org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
 at 
 org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.ClassNotFoundException: 
 org.apache.logging.log4j.LogManager
 at 
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
 at 
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
 ... 22 more

 août 25, 2015 2:27:13 PM org.apache.catalina.core.StandardContext filterStart
 SEVERE: Exception au démarrage du filtre struts2
 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
 at org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
 at 
 org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
 at 
 org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
 at 
 org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
 at 
 org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
 at 
 org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
 at 
 org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
 at 
 org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
 at 
 org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
 at 
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at 
 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
 at 
 org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
 at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at 

Re: Struts 2.5.Beta1 and samples

2015-08-25 Thread Lukasz Lenart
It should be ok right now, updated all web.xmls and pushed the changes

2015-08-24 15:56 GMT+02:00 Chris christal...@yahoo.fr:
 The name of the package has changed !
 Struts2.3.20package org.apache.struts2.dispatcher.ng.filter;
 Struts 2.5.Beta1
 package org.apache.struts2.dispatcher.filter;

 import java.io.IOException;
 import java.util.List;
 import java.util.regex.Pattern;
 import org.apache.struts2.StrutsStatics;
 import org.apache.struts2.dispatcher.Dispatcher;
 import org.apache.struts2.dispatcher.ExecuteOperations;
 import org.apache.struts2.dispatcher.PrepareOperations;

 public class StrutsPrepareAndExecuteFilter implements StrutsStatics, 
 javax.servlet.Filter {




 Struts2.3.20
 package org.apache.struts2.dispatcher.ng.filter;

 import java.io.IOException;
 import java.util.List;
 import java.util.regex.Pattern;
 import org.apache.struts2.StrutsStatics;
 import org.apache.struts2.dispatcher.Dispatcher;
 import org.apache.struts2.dispatcher.ng.ExecuteOperations;
 import org.apache.struts2.dispatcher.ng.PrepareOperations;

 public class StrutsPrepareAndExecuteFilter implements StrutsStatics, 
 javax.servlet.Filter {





  Le Lundi 24 août 2015 15h37, Lukasz Lenart lukaszlen...@apache.org a 
 écrit :


  Filters were moved into a new package but web.xml wasn't updated - can
 you register a ticket in JIRA?


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

 2015-08-24 15:32 GMT+02:00 Chris christal...@yahoo.fr:
 Hello,
 I tried all Struts2 samples for many years, with success
 with apache/struts-examples and differents versions 2.3.14, 2.3.15 , 2.3.16 
 , 2.3.20 and Netbeans 6.5 , and Tomcat 7

 |  |
 |  |  |  |  |  |  |  |
 | apache/struts-examplesstruts-examples - Mirror of Apache Struts |
 |  |
 | Afficher sur github.com | Aperçu par Yahoo |
 |  |
 |  |


 Today, I'm trying Struts 2.5.Beta1 with log4j2 but it doens't work.Any idea 
 ?août 24, 2015 12:28:23 PMorg.apache.catalina.core.StandardContext 
 filterStartSEVERE: Exception au démarrage du filtre 
 struts2java.lang.ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
 
 atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
 
 atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
 
 atorg.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
 
 atorg.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
 
 atorg.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
 
 atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:257)
 
 atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
 
 atorg.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
 
 atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
 
 atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
 
 atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)   
  
 atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
 
 atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
 
 atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)  
   
 atorg.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
 
 atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536) 

 atorg.apache.catalina.startup.HostConfig.check(HostConfig.java:1462) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) 

 atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 
 atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 atjava.lang.reflect.Method.invoke(Method.java:601)   
  
 atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
 
 atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
 at 
 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)   
  
 atorg.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445) 

 atorg.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860) 

 atorg.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357)  
   atjavax.servlet.http.HttpServlet.service(HttpServlet.java:621) 

 atjavax.servlet.http.HttpServlet.service

Re: Struts 2.5.Beta1 and samples

2015-08-25 Thread Adam Brin
You might also need the bridge between log4j v1 and v2, and also the web
jar. Log4j2 is quite modularized when compared to v1.

On Tue, Aug 25, 2015 at 10:12 AM, Chris christal...@yahoo.fr wrote:

 Hi,
 Thank you for the update.I did it to ,  yesterday,  but I got a new error
 about log4j. ( even with log4j2.xml)
  I think with version 2.5 Beta1 , we must now add the new jar log4j
 api-2.3.jar.But this is not enough, alas.
  Here is the error ...( maybe log4j api-2.3.jar comes not alone ? )août
 25, 2015 2:26:58 PM org.apache.catalina.core.StandardContext filterStart
 SEVERE: Exception au démarrage du filtre struts2
 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
 at
 org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
 at
 org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
 at
 org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
 at
 org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
 at
 org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
 at
 org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
 at
 org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
 at
 org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
 at
 org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at
 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
 at
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
 at
 org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
 at
 org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
 at
 org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.ClassNotFoundException:
 org.apache.logging.log4j.LogManager
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
 ... 22 more

 août 25, 2015 2:27:13 PM org.apache.catalina.core.StandardContext
 filterStart
 SEVERE: Exception au démarrage du filtre struts2
 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
 at
 org.apache.struts2.dispatcher.Dispatcher.clinit(Dispatcher.java:82)
 at
 org.apache.struts2.dispatcher.InitOperations.createDispatcher(InitOperations.java:106)
 at
 org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:69)
 at
 org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
 at
 org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
 at
 org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
 at
 org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
 at
 org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
 at
 org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at
 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
 at
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
 at
 org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
 at
 org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
 at
 org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
 at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at
 

Re: Struts 2.5.Beta1 and samples

2015-08-24 Thread Lukasz Lenart
Filters were moved into a new package but web.xml wasn't updated - can
you register a ticket in JIRA?


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

2015-08-24 15:32 GMT+02:00 Chris christal...@yahoo.fr:
 Hello,
 I tried all Struts2 samples for many years, with success
 with apache/struts-examples and differents versions 2.3.14, 2.3.15 , 2.3.16 , 
 2.3.20 and Netbeans 6.5 , and Tomcat 7

 |   |
 |   |  |   |   |   |   |   |
 | apache/struts-examplesstruts-examples - Mirror of Apache Struts |
 |  |
 | Afficher sur github.com | Aperçu par Yahoo |
 |  |
 |   |


 Today, I'm trying Struts 2.5.Beta1 with log4j2 but it doens't work.Any idea 
 ?août 24, 2015 12:28:23 PMorg.apache.catalina.core.StandardContext 
 filterStartSEVERE: Exception au démarrage du filtre 
 struts2java.lang.ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
 
 atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
 
 atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
 
 atorg.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
 
 atorg.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
 
 atorg.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
 
 atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:257)
 
 atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
 
 atorg.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
 
 atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
 
 atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
 
 atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 
 atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
 
 atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) 

 atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)   
  
 atorg.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
 
 atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)  
   
 atorg.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)  
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)   
  
 atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 
 atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 atjava.lang.reflect.Method.invoke(Method.java:601)
 
 atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
 
 atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
 at 
 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
 
 atorg.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445)  
   
 atorg.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860)  
   
 atorg.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357)   
  atjavax.servlet.http.HttpServlet.service(HttpServlet.java:621)   
  atjavax.servlet.http.HttpServlet.service(HttpServlet.java:728)   
  
 atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 
 atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 
 atorg.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
 
 atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 
 atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 
 atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 
 atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
 
 atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)  
   
 atorg.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936

Re: Struts 2.5.Beta1 and samples

2015-08-24 Thread Chris
The name of the package has changed !
Struts2.3.20package org.apache.struts2.dispatcher.ng.filter;
Struts 2.5.Beta1
package org.apache.struts2.dispatcher.filter;

import java.io.IOException;
import java.util.List;
import java.util.regex.Pattern;
import org.apache.struts2.StrutsStatics;
import org.apache.struts2.dispatcher.Dispatcher;
import org.apache.struts2.dispatcher.ExecuteOperations;
import org.apache.struts2.dispatcher.PrepareOperations;

public class StrutsPrepareAndExecuteFilter implements StrutsStatics, 
javax.servlet.Filter {




Struts2.3.20
package org.apache.struts2.dispatcher.ng.filter;

import java.io.IOException;
import java.util.List;
import java.util.regex.Pattern;
import org.apache.struts2.StrutsStatics;
import org.apache.struts2.dispatcher.Dispatcher;
import org.apache.struts2.dispatcher.ng.ExecuteOperations;
import org.apache.struts2.dispatcher.ng.PrepareOperations;

public class StrutsPrepareAndExecuteFilter implements StrutsStatics, 
javax.servlet.Filter {


 


 Le Lundi 24 août 2015 15h37, Lukasz Lenart lukaszlen...@apache.org a 
écrit :
   

 Filters were moved into a new package but web.xml wasn't updated - can
you register a ticket in JIRA?


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

2015-08-24 15:32 GMT+02:00 Chris christal...@yahoo.fr:
 Hello,
 I tried all Struts2 samples for many years, with success
 with apache/struts-examples and differents versions 2.3.14, 2.3.15 , 2.3.16 , 
 2.3.20 and Netbeans 6.5 , and Tomcat 7

 |  |
 |  |  |  |  |  |  |  |
 | apache/struts-examplesstruts-examples - Mirror of Apache Struts |
 |  |
 | Afficher sur github.com | Aperçu par Yahoo |
 |  |
 |  |


 Today, I'm trying Struts 2.5.Beta1 with log4j2 but it doens't work.Any idea 
 ?août 24, 2015 12:28:23 PMorg.apache.catalina.core.StandardContext 
 filterStartSEVERE: Exception au démarrage du filtre 
 struts2java.lang.ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
                 
 atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
                 
 atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
                 
 atorg.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
                 
 atorg.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
                 
 atorg.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
                 
 atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:257)
                 
 atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
                 
 atorg.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
                 
 atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
                 
 atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
                 
 atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)        
         
 atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
                 
 atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)     
            
 atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)       
          
 atorg.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
                 
 atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)      
           
 atorg.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)          
       at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)           
      
 atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                 
 atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                 atjava.lang.reflect.Method.invoke(Method.java:601)            
     
 atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
                 
 atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
                 at 
 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)        
         
 atorg.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445)  
               
 atorg.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860)  
               
 atorg.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357)   
              atjavax.servlet.http.HttpServlet.service(HttpServlet.java:621)   
              atjavax.servlet.http.HttpServlet.service(HttpServlet.java:728)   
              
 atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305

Struts 2.5.Beta1 and samples

2015-08-24 Thread Chris
Hello, 
I tried all Struts2 samples for many years, with success
with apache/struts-examples and differents versions 2.3.14, 2.3.15 , 2.3.16 , 
2.3.20 and Netbeans 6.5 , and Tomcat 7

|   |
|   |  |   |   |   |   |   |
| apache/struts-examplesstruts-examples - Mirror of Apache Struts |
|  |
| Afficher sur github.com | Aperçu par Yahoo |
|  |
|   |


Today, I'm trying Struts 2.5.Beta1 with log4j2 but it doens't work.Any idea 
?août 24, 2015 12:28:23 PMorg.apache.catalina.core.StandardContext 
filterStartSEVERE: Exception au démarrage du filtre 
struts2java.lang.ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
    
atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
    
atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
    
atorg.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
    
atorg.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
    
atorg.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
    
atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:257)
    
atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
    
atorg.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:104)
    
atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
    
atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
    
atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)  
  
atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    
atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)   
 
atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) 
   
atorg.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)  
  
atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
    atorg.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)   
 
atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
   
atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    atjava.lang.reflect.Method.invoke(Method.java:601)  
  
atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) 
   
atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at 
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)  
  
atorg.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445)
    
atorg.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860)
    
atorg.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357) 
   atjavax.servlet.http.HttpServlet.service(HttpServlet.java:621)   
 atjavax.servlet.http.HttpServlet.service(HttpServlet.java:728) 
   
atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    
atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    
atorg.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
    
atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    
atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    
atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    
atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
    
atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) 
   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    
atorg.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) 
   
atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) 
   
atorg.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004

Re: Struts 2.5 BETA1

2015-08-11 Thread Lukasz Lenart
2015-08-08 16:55 GMT+02:00 Alireza Fattahi afatt...@yahoo.com.invalid:
 Sorry to post it here, subscribing to d...@struts.apache.org di not worked 
 and I didn't get response emial.--The Struts 
 2.5 BETA1 make the struts 2 conversation plugin fails. This happens because 
 of renaming 
 theorg.apache.struts2.dispatcher.ServletActionRedirectResult;org.apache.struts2.dispatcher.ServletRedirectResult;

Did you follow information on that page?
http://struts.apache.org/dev-mail.html

 After tweking these packages 
 to:org.apache.struts2.result.ServletActionRedirectResultorg.apache.struts2.result.ServletRedirectResult
 the conversation plugin worked fine...
 As this is a useful plugin is it possible to keep the removed packages.

Already answered via JIRA


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



Struts 2.5 BETA1

2015-08-08 Thread Alireza Fattahi
Sorry to post it here, subscribing to d...@struts.apache.org di not worked and 
I didn't get response emial.--The Struts 2.5 
BETA1 make the struts 2 conversation plugin fails. This happens because of 
renaming 
theorg.apache.struts2.dispatcher.ServletActionRedirectResult;org.apache.struts2.dispatcher.ServletRedirectResult;
After tweking these packages 
to:org.apache.struts2.result.ServletActionRedirectResultorg.apache.struts2.result.ServletRedirectResult
the conversation plugin worked fine... 
As this is a useful plugin is it possible to keep the removed packages.


 ~Regards,
~~Alireza Fattahi

[ANN] Struts 2.5-BETA1 Beta release available

2015-08-07 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Struts 2.5-BETA1
is available as a Beta release. The Beta designation indicates that
we believe the distribution needs wider testing before being upgraded
to a General Availability release. Your input is essential.

Apache Struts 2 is an elegant, extensible framework for creating
enterprise-ready Java web applications. The framework is designed to
streamline the full development cycle, from building, to deploying, to
maintaining applications over time.

This release contains several breaking changes and improvements just
to mention few of them:
- XWork source was merged into Struts Core source, it means that there
be no more xwork artifact nor dedicated jar
- OGNL was upgraded to version 3.0.11 and it breaks access to
properties as it follows Java Bean Specification, see WW-4207 and
WW-3909
- Spring dependency for tests and spring plugin was upgraded to
version 4.1.6, see WW-4510.
- Struts2 internal logging api was marked as deprecated and was
replaced with new Log4j2 api as logging layer, see WW-4504.
- Struts2 is now build with JDK7, see WW-4503.
- New plugin to support bean validation is now part of the
distribution, see WW-4505.
- Deprecated plugins are now removed from the distribution and are not
longer supported anymore:
-- Dojo Plugin
-- Codebehind Plugin
-- JSF Plugin
-- Struts1 Plugin

and many other improvements, please check the version notes

Struts 2.5-BETA1 is available in a full distribution, or as separate
library, source, example and documentation distributions, from the
releases page.
* http://struts.apache.org/download.cgi#struts-beta

The release is also available from the central Maven repository under
Group ID org.apache.struts.

The 2.5.x series of the Apache Struts framework has a minimum
requirement of the following specification versions:
* Java SE 7
* Java Servlet 2.4 and JavaServer Pages (JSP) 2.0
* Java 2 Standard Platform Edition (J2SE) 5

The release notes are available online at:
* http://struts.apache.org/2.x/docs/version-notes-25.html

Should any issues arise with your use of any version of the Struts
framework, please post your comments to the user list, and, if
appropriate, file a tracking ticket.appropriate, file a tracking
ticket:
* https://issues.apache.org/jira/browse/WW


- The Apache Struts group.

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