Re: Some problems with Struts-mailreader
Ach... right, support for "id" was dropped recently [1] - this must be fixed in the mailreader app - replacing "id" with "var" should solve the problem [1] https://issues.apache.org/jira/browse/WW-2069 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2015-11-13 10:18 GMT+01:00 Chris: > Hello, > > Thank you for giving me those explainations. > > So I've tried with struts2-core-2.5-20151112.202249-95.jar or > struts2-core-2.5-20151104.175152-90.jar but I receive another error ( NB : > All the jar files are the same as 2.5 BETA2 , except the struts-core ) > > The error is with the id (?) , in the /WEB-INF/jsp/Welcome.jsp (line: 26, > column: 8) > accordind to the TLD > > nov. 13, 2015 10:05:23 AM org.apache.catalina.core.ApplicationDispatcher > invoke > SEVERE: "Servlet.service()" pour la servlet jsp a lancé une exception > org.apache.jasper.JasperException: /WEB-INF/jsp/Welcome.jsp (line: 26, > column: 8) L'attribut id est incorrect pour le tag url d'après la TLD > indiquée > at > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) > at > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408) > at > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:237) > at > org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1265) > > > > Le Vendredi 13 novembre 2015 10h17, Chris a écrit : > > > Hello, > > Thank you for giving me those explainations. > > So I've tried with struts2-core-2.5-20151112.202249-95.jar or > struts2-core-2.5-20151104.175152-90.jar but I receive another error ( NB : > All the jar files are the same as 2.5 BETA2 , except the struts-core ) > > The error is with the id (?) , in the /WEB-INF/jsp/Welcome.jsp (line: 26, > column: 8) > accordind to the TLD > > nov. 13, 2015 10:05:23 AM org.apache.catalina.core.ApplicationDispatcher > invoke > SEVERE: "Servlet.service()" pour la servlet jsp a lancé une exception > org.apache.jasper.JasperException: /WEB-INF/jsp/Welcome.jsp (line: 26, > column: 8) L'attribut id est incorrect pour le tag url d'après la TLD > indiquée > at > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) > at > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408) > at > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:237) > at > org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1265) > > > > Le Vendredi 13 novembre 2015 8h41, Chris a écrit : > > > > > Le Vendredi 13 novembre 2015 8h39, Chris a écrit : > > > > > Le Jeudi 12 novembre 2015 20h28, Lukasz Lenart a > écrit : > > > 2015-11-12 18:24 GMT+01:00 Chris : >> Hello, >> >> I'm sorry . I don't use pom.xml in any of my examples. >> I work with Netbenas 7.3 and ant, I guess. But no maven. >> I have no idea what SNAPSHOT is, and how to use it, and where find it.Is >> it another version of all librairies ? > > SNAPSHOT is the latest development build > https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-core/ > >> Struts has detected an unhandled exception: >> | Messages: | >>- This method: execute for action Login is not allowed! >> | >> >> >> Stacktraces >> This method: execute for action Login is not allowed! - [unknown >> location] >> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) >> >> org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) >> >> org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) >> >> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) >> >> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) >> >> org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) >> >> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) >> >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >> >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) >> >>
Re: Some problems with Struts-mailreader
Hello, Thank you for giving methose explainations. So I've tried withstruts2-core-2.5-20151112.202249-95.jar orstruts2-core-2.5-20151104.175152-90.jar but I receive another error ( NB : Allthe jar files are the same as 2.5 BETA2 , except the struts-core ) The error is with the id (?) , in the /WEB-INF/jsp/Welcome.jsp (line: 26,column: 8) accordind to the TLD nov. 13, 2015 10:05:23 AM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: "Servlet.service()" pour la servlet jsp a lancé une exception org.apache.jasper.JasperException: /WEB-INF/jsp/Welcome.jsp (line: 26, column:8) L'attribut id est incorrect pour le tag url d'après la TLD indiquée atorg.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408) atorg.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:237) atorg.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1265) Le Vendredi 13 novembre 2015 10h17, Chrisa écrit : Hello, Thank you for giving me those explainations. So I've tried with struts2-core-2.5-20151112.202249-95.jar or struts2-core-2.5-20151104.175152-90.jar but I receive another error ( NB : All the jar files are the same as 2.5 BETA2 , except the struts-core ) The error is with the id (?) , in the /WEB-INF/jsp/Welcome.jsp (line: 26, column: 8) accordind to the TLD nov. 13, 2015 10:05:23 AM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: "Servlet.service()" pour la servlet jsp a lancé une exception org.apache.jasper.JasperException: /WEB-INF/jsp/Welcome.jsp (line: 26, column: 8) L'attribut id est incorrect pour le tag url d'après la TLD indiquée at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:237) at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1265) Le Vendredi 13 novembre 2015 8h41, Chris a écrit : Le Vendredi 13 novembre 2015 8h39, Chris a écrit : Le Jeudi 12 novembre 2015 20h28, Lukasz Lenart a écrit : 2015-11-12 18:24 GMT+01:00 Chris : > Hello, > > I'm sorry . I don't use pom.xml in any of my examples. > I work with Netbenas 7.3 and ant, I guess. But no maven. > I have no idea what SNAPSHOT is, and how to use it, and where find it.Is it > another version of all librairies ? SNAPSHOT is the latest development build https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-core/ > Struts has detected an unhandled exception: > | Messages: | > - This method: execute for action Login is not allowed! > | > > > Stacktraces > This method: execute for action Login is not allowed! - [unknown location] > >com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) > >org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) > >org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) > >com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) > >org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) > >org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) > >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) > >org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > >org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) > >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) > >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) > >org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) > >org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >
Re: Some problems with Struts-mailreader
2015-11-12 18:24 GMT+01:00 Chris: > Hello, > > I'm sorry . I don't use pom.xml in any of my examples. > I work with Netbenas 7.3 and ant, I guess. But no maven. > I have no idea what SNAPSHOT is, and how to use it, and where find it.Is it > another version of all librairies ? SNAPSHOT is the latest development build https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-core/ > Struts has detected an unhandled exception: > | Messages: | >- This method: execute for action Login is not allowed! > | > > > Stacktraces > This method: execute for action Login is not allowed! - [unknown location] > > com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) > > org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) > > org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) > > com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) > > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) > > org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) > > org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) > > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:722) This is fixed in the latest development version 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: Some problems with Struts-mailreader
Hello, I'm sorry . I don't use pom.xml in any of my examples. I work with Netbenas 7.3 and ant, I guess. But no maven. I have no idea what SNAPSHOT is, and how to use it, and where find it.Is it another version of all librairies ? Regards, Chris Struts has detected an unhandled exception: | Messages: | - This method: execute for action Login is not allowed! | Stacktraces This method: execute for action Login is not allowed! - [unknown location] com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:722) Le Jeudi 12 novembre 2015 17h33, Lukasz Lenarta écrit : 2015-11-12 17:23 GMT+01:00 Chris : > Hello,My mailreader example still doesn't work. > Precisely n the Login button, and the Cancel button, in the Login page Have you used 2.5-SNAPSHOT version? You must manually change Struts version in pom.xml > Something strange, the new web.xml file looks like the jboss_blank example... > I tried without those some lines, like the old mailreader example, but it > didn't work neither. > > > No direct JSP access > > No-JSP > *.jsp > > > no-users > > > > ??? > > Don't assign users to this role > no-users > It's just a security constraint to spread good practises 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: Some problems with Struts-mailreader
Hello,My mailreader example still doesn't work. Precisely n the Login button, and the Cancel button, in the Login page Something strange, the new web.xml file looks like the jboss_blank example... I tried without those some lines, like the old mailreader example, but it didn't work neither. No direct JSP access No-JSP *.jsp no-users ??? Don't assign users to this role no-users Le Samedi 31 octobre 2015 12h54, Lukasz Lenarta écrit : Great! Let me know if everything is ok :) -- Ł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: Some problems with Struts-mailreader
2015-11-12 17:23 GMT+01:00 Chris: > Hello,My mailreader example still doesn't work. > Precisely n the Login button, and the Cancel button, in the Login page Have you used 2.5-SNAPSHOT version? You must manually change Struts version in pom.xml > Something strange, the new web.xml file looks like the jboss_blank example... > I tried without those some lines, like the old mailreader example, but it > didn't work neither. > > > No direct JSP access > > No-JSP > *.jsp > > > no-users > > > > ??? > > Don't assign users to this role > no-users > It's just a security constraint to spread good practises 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: Some problems with Struts-mailreader
Great! Let me know if everything is ok :) -- Ł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: Some problems with Struts-mailreader
Looks like a bug in 2.5. The Login action is defined as follow which means any method should be allowed - I'm going to check that Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2015-10-28 12:21 GMT+01:00 Chris: > Hello, > > I have some problems with the "new" mailreader sample in the > linkhttps://github.com/apache/struts-examples/tree/master/mailreader with > Struts 2.5 BETA2 > > PS : my old mailreader example 2.3.16 works perfectly.And I try to translate > the tour.html to unterstand. > But with the new one..Here are my lib or jar files > - Struts2.5 BETA2 ( the same as form-xml-validation) > - struts2-junit-plugin-2.5-BETA2.jar > - struts-mailreader-dao-1.3.8.jar > - spring-core-4.1.6.RELEASE.jar > - spring-test-4.1.6.RELEASE.jar > - commons-logging-1.1.3.jar > - commons-beanutils-1.9.2.jar > - commons-digester-2.1.jar > First, the Login.jsp with good values ("user" and "pass") gives this error ( > And The Cancel button too!) > > = = = = = = = = = = = = = = = = = = = = = = = = = = = = > > > Struts Problem Report > Struts has detected an unhandled exception: > | Messages: | >- This method: execute for action Login is not allowed! > | > > > Stacktraces > This method: execute for action Login is not allowed! - [unknown location] > > com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) > > org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) > > org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) > > com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) > > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) > > org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) > > org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) > > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:722) > You are seeing this page because development mode is enabled. > Development mode, or devMode, enables extradebugging behaviors and reports to > assist developers. To disable this mode, set: struts.devMode=false > in your WEB-INF/classes/struts.properties file. > = = = = = = = = = = = = = = = = = = = = = = = = = = = = > > > > > > > > | | > | | | | | | | | > | apache/struts-examplesstruts-examples - Mirror of Apache Struts | > | | > | Afficher sur github.com | Aperçu par Yahoo | > | | > | | > > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Some problems with Struts-mailreader
Fixed, thanks! 2015-10-30 8:52 GMT+01:00 Lukasz Lenart: > My bad, was using BETA1 :( > > 2015-10-30 8:50 GMT+01:00 Lukasz Lenart : >> It works, just fetched the latest version and everything is ok, no >> errors, exceptions. Please check if you are using the latest version >> from Git >> >> 2015-10-30 8:42 GMT+01:00 Lukasz Lenart : >>> Looks like a bug in 2.5. The Login action is defined as follow >>> >>> >>> >>> which means any method should be allowed - I'm going to check that >>> >>> >>> Regards >>> -- >>> Łukasz >>> + 48 606 323 122 http://www.lenart.org.pl/ >>> >>> 2015-10-28 12:21 GMT+01:00 Chris : Hello, I have some problems with the "new" mailreader sample in the linkhttps://github.com/apache/struts-examples/tree/master/mailreader with Struts 2.5 BETA2 PS : my old mailreader example 2.3.16 works perfectly.And I try to translate the tour.html to unterstand. But with the new one..Here are my lib or jar files - Struts2.5 BETA2 ( the same as form-xml-validation) - struts2-junit-plugin-2.5-BETA2.jar - struts-mailreader-dao-1.3.8.jar - spring-core-4.1.6.RELEASE.jar - spring-test-4.1.6.RELEASE.jar - commons-logging-1.1.3.jar - commons-beanutils-1.9.2.jar - commons-digester-2.1.jar First, the Login.jsp with good values ("user" and "pass") gives this error ( And The Cancel button too!) = = = = = = = = = = = = = = = = = = = = = = = = = = = = Struts Problem Report Struts has detected an unhandled exception: | Messages: | - This method: execute for action Login is not allowed! | Stacktraces This method: execute for action Login is not allowed! - [unknown location] com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:722) You are seeing this page because development mode is enabled. Development mode, or devMode, enables extradebugging behaviors and reports to assist developers. To disable this mode, set: struts.devMode=false in your WEB-INF/classes/struts.properties file. = = = = = = = = = = = = = = = = = = = = = = = = = = = = | | | | | | | | | | | apache/struts-examplesstruts-examples - Mirror of Apache Struts | | | | Afficher sur github.com | Aperçu par Yahoo | | | | | - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Some problems with Struts-mailreader
It works, just fetched the latest version and everything is ok, no errors, exceptions. Please check if you are using the latest version from Git 2015-10-30 8:42 GMT+01:00 Lukasz Lenart: > Looks like a bug in 2.5. The Login action is defined as follow > > > > which means any method should be allowed - I'm going to check that > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2015-10-28 12:21 GMT+01:00 Chris : >> Hello, >> >> I have some problems with the "new" mailreader sample in the >> linkhttps://github.com/apache/struts-examples/tree/master/mailreader with >> Struts 2.5 BETA2 >> >> PS : my old mailreader example 2.3.16 works perfectly.And I try to >> translate the tour.html to unterstand. >> But with the new one..Here are my lib or jar files >> - Struts2.5 BETA2 ( the same as form-xml-validation) >> - struts2-junit-plugin-2.5-BETA2.jar >> - struts-mailreader-dao-1.3.8.jar >> - spring-core-4.1.6.RELEASE.jar >> - spring-test-4.1.6.RELEASE.jar >> - commons-logging-1.1.3.jar >> - commons-beanutils-1.9.2.jar >> - commons-digester-2.1.jar >> First, the Login.jsp with good values ("user" and "pass") gives this error ( >> And The Cancel button too!) >> >> = = = = = = = = = = = = = = = = = = = = = = = = = = = = >> >> >> Struts Problem Report >> Struts has detected an unhandled exception: >> | Messages: | >>- This method: execute for action Login is not allowed! >> | >> >> >> Stacktraces >> This method: execute for action Login is not allowed! - [unknown location] >> >> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) >> >> org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) >> >> org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) >> >> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) >> >> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) >> >> org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) >> >> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) >> >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >> >> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) >> >> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >> >> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) >> >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> java.lang.Thread.run(Thread.java:722) >> You are seeing this page because development mode is enabled. >> Development mode, or devMode, enables extradebugging behaviors and reports >> to assist developers. To disable this mode, set: struts.devMode=false >> in your WEB-INF/classes/struts.properties file. >> = = = = = = = = = = = = = = = = = = = = = = = = = = = = >> >> >> >> >> >> >> >> | | >> | | | | | | | | >> | apache/struts-examplesstruts-examples - Mirror of Apache Struts | >> | | >> | Afficher sur github.com | Aperçu par Yahoo | >> | | >> | | >> >> >> - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Some problems with Struts-mailreader
My bad, was using BETA1 :( 2015-10-30 8:50 GMT+01:00 Lukasz Lenart: > It works, just fetched the latest version and everything is ok, no > errors, exceptions. Please check if you are using the latest version > from Git > > 2015-10-30 8:42 GMT+01:00 Lukasz Lenart : >> Looks like a bug in 2.5. The Login action is defined as follow >> >> >> >> which means any method should be allowed - I'm going to check that >> >> >> Regards >> -- >> Łukasz >> + 48 606 323 122 http://www.lenart.org.pl/ >> >> 2015-10-28 12:21 GMT+01:00 Chris : >>> Hello, >>> >>> I have some problems with the "new" mailreader sample in the >>> linkhttps://github.com/apache/struts-examples/tree/master/mailreader with >>> Struts 2.5 BETA2 >>> >>> PS : my old mailreader example 2.3.16 works perfectly.And I try to >>> translate the tour.html to unterstand. >>> But with the new one..Here are my lib or jar files >>> - Struts2.5 BETA2 ( the same as form-xml-validation) >>> - struts2-junit-plugin-2.5-BETA2.jar >>> - struts-mailreader-dao-1.3.8.jar >>> - spring-core-4.1.6.RELEASE.jar >>> - spring-test-4.1.6.RELEASE.jar >>> - commons-logging-1.1.3.jar >>> - commons-beanutils-1.9.2.jar >>> - commons-digester-2.1.jar >>> First, the Login.jsp with good values ("user" and "pass") gives this error >>> ( And The Cancel button too!) >>> >>> = = = = = = = = = = = = = = = = = = = = = = = = = = = = >>> >>> >>> Struts Problem Report >>> Struts has detected an unhandled exception: >>> | Messages: | >>>- This method: execute for action Login is not allowed! >>> | >>> >>> >>> Stacktraces >>> This method: execute for action Login is not allowed! - [unknown location] >>> >>> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) >>> >>> org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) >>> >>> org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) >>> >>> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) >>> >>> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) >>> >>> org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) >>> >>> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) >>> >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) >>> >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>> >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) >>> >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) >>> >>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >>> >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >>> >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >>> >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) >>> >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >>> >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >>> >>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) >>> >>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >>> >>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) >>> >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> java.lang.Thread.run(Thread.java:722) >>> You are seeing this page because development mode is enabled. >>> Development mode, or devMode, enables extradebugging behaviors and reports >>> to assist developers. To disable this mode, set: struts.devMode=false >>> in your WEB-INF/classes/struts.properties file. >>> = = = = = = = = = = = = = = = = = = = = = = = = = = = = >>> >>> >>> >>> >>> >>> >>> >>> | | >>> | | | | | | | | >>> | apache/struts-examplesstruts-examples - Mirror of Apache Struts | >>> | | >>> | Afficher sur github.com | Aperçu par Yahoo | >>> | | >>> | | >>> >>> >>> - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Some problems with Struts-mailreader
It was bug in Struts, so you must use the latest SNAPSHOT 2015-10-30 10:57 GMT+01:00 Chris: > Hi,- I'll try soon > - But Git Hub says "Already up-to-date" > - And I saw real problem. > - like the "problem" with a wrong path /pages/Error.jsp instead > /WEB-INF/jsp/Error.jsp > - the problem is : Login or Cancel submit are bugging. > - Could you please says the all jar files , for mailreader ? > Regards, > Chris > > > > Le Vendredi 30 octobre 2015 9h23, Lukasz Lenart > a écrit : > > > Fixed, thanks! > > 2015-10-30 8:52 GMT+01:00 Lukasz Lenart : >> My bad, was using BETA1 :( >> >> 2015-10-30 8:50 GMT+01:00 Lukasz Lenart : >>> It works, just fetched the latest version and everything is ok, no >>> errors, exceptions. Please check if you are using the latest version >>> from Git >>> >>> 2015-10-30 8:42 GMT+01:00 Lukasz Lenart : Looks like a bug in 2.5. The Login action is defined as follow which means any method should be allowed - I'm going to check that Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2015-10-28 12:21 GMT+01:00 Chris : > Hello, > > I have some problems with the "new" mailreader sample in the > linkhttps://github.com/apache/struts-examples/tree/master/mailreader > with Struts 2.5 BETA2 > > PS : my old mailreader example 2.3.16 works perfectly.And I try to > translate the tour.html to unterstand. > But with the new one..Here are my lib or jar files > - Struts2.5 BETA2 ( the same as form-xml-validation) > - struts2-junit-plugin-2.5-BETA2.jar > - struts-mailreader-dao-1.3.8.jar > - spring-core-4.1.6.RELEASE.jar > - spring-test-4.1.6.RELEASE.jar > - commons-logging-1.1.3.jar > - commons-beanutils-1.9.2.jar > - commons-digester-2.1.jar > First, the Login.jsp with good values ("user" and "pass") gives this > error ( And The Cancel button too!) > > = = = = = = = = = = = = = = = = = = = = = = = = = = = = > > > Struts Problem Report > Struts has detected an unhandled exception: > | Messages: | >- This method: execute for action Login is not allowed! > | > > > Stacktraces > This method: execute for action Login is not allowed! - [unknown > location] > com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) > > org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) > > org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) > > com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) > > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) > > org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) > > org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) > > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >java.lang.Thread.run(Thread.java:722) > You are seeing this page because development mode is enabled. > Development mode, or devMode, enables extradebugging behaviors and > reports to assist developers. To disable this mode, set: >
Re: Some problems with Struts-mailreader
Daniel It is a different topic, not really related to your issue. 2015-10-30 11:34 GMT+01:00 Daniel Hernáez <d.hern...@dosiper.com>: > I changed to 2.3.24.1 and I am getting a different error now: > > "There is no Action mapped for namespace [/] and action name [Person] > associated with context path [/wildcard-method-selection]." > > I just changed the filter in web.xml to adapt the new version > (org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter). > None of the actions works now. > > Saludos / Regards, > Daniel Hernáez > International Technical Service > > Mobile: +34 699 140 596 > Landline: +34 987 470 155 > > > > > -Mensaje original- > De: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Enviado el: viernes, 30 de octubre de 2015 10:59 > Para: Struts Users Mailing List <user@struts.apache.org> > Asunto: Re: Some problems with Struts-mailreader > > It was bug in Struts, so you must use the latest SNAPSHOT > > 2015-10-30 10:57 GMT+01:00 Chris <christal...@yahoo.fr>: >> Hi,- I'll try soon >> - But Git Hub says "Already up-to-date" >> - And I saw > a real problem. >> - like the "problem" with a wrong path /pages/Error.jsp instead >> /WEB-INF/jsp/Error.jsp >> - the problem is : Login or Cancel submit are bugging. >> - Could you please says the all jar files , for mailreader ? >> Regards, >> Chris >> >> >> >> Le Vendredi 30 octobre 2015 9h23, Lukasz Lenart >> <lukaszlen...@apache.org> a écrit : >> >> >> Fixed, thanks! >> >> 2015-10-30 8:52 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>> My bad, was using BETA1 :( >>> >>> 2015-10-30 8:50 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>>> It works, just fetched the latest version and everything is ok, no >>>> errors, exceptions. Please check if you are using the latest version >>>> from Git >>>> >>>> 2015-10-30 8:42 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>>>> Looks like a bug in 2.5. The Login action is defined as follow >>>>> >>>>> >>>>> >>>>> which means any method should be allowed - I'm going to check that >>>>> >>>>> >>>>> Regards >>>>> -- >>>>> Łukasz >>>>> + 48 606 323 122 http://www.lenart.org.pl/ >>>>> >>>>> 2015-10-28 12:21 GMT+01:00 Chris <christal...@yahoo.fr>: >>>>>> Hello, >>>>>> >>>>>> I have some problems with the "new" mailreader sample in the >>>>>> linkhttps://github.com/apache/struts-examples/tree/master/mailread >>>>>> er with Struts 2.5 BETA2 >>>>>> >>>>>> PS : my old mailreader example 2.3.16 works perfectly.And I try to >>>>>> translate the tour.html to unterstand. >>>>>> But with the new one..Here are my lib or jar files >>>>>> - Struts2.5 BETA2 ( the same as form-xml-validation) >>>>>> - struts2-junit-plugin-2.5-BETA2.jar >>>>>> - struts-mailreader-dao-1.3.8.jar >>>>>> - spring-core-4.1.6.RELEASE.jar >>>>>> - spring-test-4.1.6.RELEASE.jar >>>>>> - commons-logging-1.1.3.jar >>>>>> - commons-beanutils-1.9.2.jar >>>>>> - commons-digester-2.1.jar >>>>>> First, the Login.jsp with good values ("user" and "pass") gives >>>>>> this error ( And The Cancel button too!) >>>>>> >>>>>> = = = = = = = = = = = = = = = = = = = = = = = = = = = = >>>>>> >>>>>> >>>>>> Struts Problem Report >>>>>> Struts has detected an unhandled exception: >>>>>> | Messages: | >>>>>>- This method: execute for action Login is not allowed! >>>>>> | >>>>>> >>>>>> >>>>>> Stacktraces >>>>>> This method: execute for action Login is not allowed! - [unknown >>>>>> location] >>>>>> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) >>>>>> >>>>>> org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) >>>>>> >>>>>> org.apa
RE: Some problems with Struts-mailreader
I changed to 2.3.24.1 and I am getting a different error now: "There is no Action mapped for namespace [/] and action name [Person] associated with context path [/wildcard-method-selection]." I just changed the filter in web.xml to adapt the new version (org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter). None of the actions works now. Saludos / Regards, Daniel Hernáez International Technical Service Mobile: +34 699 140 596 Landline: +34 987 470 155 -Mensaje original- De: Lukasz Lenart [mailto:lukaszlen...@apache.org] Enviado el: viernes, 30 de octubre de 2015 10:59 Para: Struts Users Mailing List <user@struts.apache.org> Asunto: Re: Some problems with Struts-mailreader It was bug in Struts, so you must use the latest SNAPSHOT 2015-10-30 10:57 GMT+01:00 Chris <christal...@yahoo.fr>: > Hi,- I'll try soon > - But Git Hub says "Already up-to-date" > - And I saw real problem. > - like the "problem" with a wrong path /pages/Error.jsp instead > /WEB-INF/jsp/Error.jsp > - the problem is : Login or Cancel submit are bugging. > - Could you please says the all jar files , for mailreader ? > Regards, > Chris > > > > Le Vendredi 30 octobre 2015 9h23, Lukasz Lenart > <lukaszlen...@apache.org> a écrit : > > > Fixed, thanks! > > 2015-10-30 8:52 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >> My bad, was using BETA1 :( >> >> 2015-10-30 8:50 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>> It works, just fetched the latest version and everything is ok, no >>> errors, exceptions. Please check if you are using the latest version >>> from Git >>> >>> 2015-10-30 8:42 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>>> Looks like a bug in 2.5. The Login action is defined as follow >>>> >>>> >>>> >>>> which means any method should be allowed - I'm going to check that >>>> >>>> >>>> Regards >>>> -- >>>> Łukasz >>>> + 48 606 323 122 http://www.lenart.org.pl/ >>>> >>>> 2015-10-28 12:21 GMT+01:00 Chris <christal...@yahoo.fr>: >>>>> Hello, >>>>> >>>>> I have some problems with the "new" mailreader sample in the >>>>> linkhttps://github.com/apache/struts-examples/tree/master/mailread >>>>> er with Struts 2.5 BETA2 >>>>> >>>>> PS : my old mailreader example 2.3.16 works perfectly.And I try to >>>>> translate the tour.html to unterstand. >>>>> But with the new one..Here are my lib or jar files >>>>> - Struts2.5 BETA2 ( the same as form-xml-validation) >>>>> - struts2-junit-plugin-2.5-BETA2.jar >>>>> - struts-mailreader-dao-1.3.8.jar >>>>> - spring-core-4.1.6.RELEASE.jar >>>>> - spring-test-4.1.6.RELEASE.jar >>>>> - commons-logging-1.1.3.jar >>>>> - commons-beanutils-1.9.2.jar >>>>> - commons-digester-2.1.jar >>>>> First, the Login.jsp with good values ("user" and "pass") gives >>>>> this error ( And The Cancel button too!) >>>>> >>>>> = = = = = = = = = = = = = = = = = = = = = = = = = = = = >>>>> >>>>> >>>>> Struts Problem Report >>>>> Struts has detected an unhandled exception: >>>>> | Messages: | >>>>>- This method: execute for action Login is not allowed! >>>>> | >>>>> >>>>> >>>>> Stacktraces >>>>> This method: execute for action Login is not allowed! - [unknown >>>>> location] >>>>> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) >>>>> >>>>> org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) >>>>> >>>>> org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) >>>>> >>>>> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) >>>>> >>>>> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) >>>>> >>>>> org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) >>>>> >>>>> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(St
Re: Some problems with Struts-mailreader
) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:722) You are seeing this page because development mode is enabled. Development mode, or devMode, enables extradebugging behaviors and reports to assist developers. To disable this mode, set: struts.devMode=false in your WEB-INF/classes/struts.properties file. Le Vendredi 30 octobre 2015 11h37, Lukasz Lenart <lukaszlen...@apache.org> a écrit : Daniel It is a different topic, not really related to your issue. 2015-10-30 11:34 GMT+01:00 Daniel Hernáez <d.hern...@dosiper.com>: > I changed to 2.3.24.1 and I am getting a different error now: > > "There is no Action mapped for namespace [/] and action name [Person] > associated with context path [/wildcard-method-selection]." > > I just changed the filter in web.xml to adapt the new version > (org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter). > None of the actions works now. > > Saludos / Regards, > Daniel Hernáez > International Technical Service > > Mobile: +34 699 140 596 > Landline: +34 987 470 155 > > > > > -Mensaje original- > De: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Enviado el: viernes, 30 de octubre de 2015 10:59 > Para: Struts Users Mailing List <user@struts.apache.org> > Asunto: Re: Some problems with Struts-mailreader > > It was bug in Struts, so you must use the latest SNAPSHOT > > 2015-10-30 10:57 GMT+01:00 Chris <christal...@yahoo.fr>: >> Hi,- I'll try soon >> - But Git Hub says "Already up-to-date" >> - And I saw > a real problem. >> - like the "problem" with a wrong path /pages/Error.jsp instead >> /WEB-INF/jsp/Error.jsp >> - the problem is : Login or Cancel submit are bugging. >> - Could you please says the all jar files , for mailreader ? >> Regards, >> Chris >> >> >> >> Le Vendredi 30 octobre 2015 9h23, Lukasz Lenart >><lukaszlen...@apache.org> a écrit : >> >> >> Fixed, thanks! >> >> 2015-10-30 8:52 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>> My bad, was using BETA1 :( >>> >>> 2015-10-30 8:50 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>>> It works, just fetched the latest version and everything is ok, no >>>> errors, exceptions. Please check if you are using the latest version >>>> from Git >>>> >>>> 2015-10-30 8:42 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>>>> Looks like a bug in 2.5. The Login action is defined as follow >>>>> >>>>> >>>>> >>>>> which means any method should be allowed - I'm going to check that >>>>> >>>>> >>>>> Regards >>>>> -- >>>>> Łukasz >>>>> + 48 606 323 122 http://www.lenart.org.pl/ >>>>> >>>>> 2015-10-28 12:21 GMT+01:00 Chris <christal...@yahoo.fr>: >>>>>> Hello, >>>>>> >>>>>> I have some problems with the "new" mailreader sample in the >>>>>> linkhttps://github.com/apache/struts-examples/tree/master/mailread >>>>>> er with Struts 2.5 BETA2 >>>>>> >>>>>> PS : my old mailreader example 2.3.16 works perfectly.And I try to >>>>>> translate the tour.html to unterstand. >>>>>> But with the new one..Here are my lib or jar files >>>>>> - Struts2.5 BETA2 ( the same as form-xml-validation) >>>>>> - struts2-junit-plugin-2.5-BETA2.jar >>>>>> - struts-mailreader-dao-1.3.8.jar >>>>>> - spring-core-4.1.6.RELEASE.jar >>>>>> - spring-test-4.1.6.RELEASE.jar >>>>>> - commons-logging-1.1.3.jar >>>>>> - commons-beanutils-1.9.2.jar >>>>>> - commons-digester-2.1.jar >>>>>> First, the Login.jsp with g
Re: Some problems with Struts-mailreader
java:58) > > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) > > org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) > > org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) > > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:722) > You are seeing this page because development mode is enabled. > Development mode, or devMode, enables extradebugging behaviors and reports to > assist developers. To disable this mode, set: struts.devMode=false > in your WEB-INF/classes/struts.properties file. > > > > > Le Vendredi 30 octobre 2015 11h37, Lukasz Lenart > <lukaszlen...@apache.org> a écrit : > > > Daniel > > It is a different topic, not really related to your issue. > > 2015-10-30 11:34 GMT+01:00 Daniel Hernáez <d.hern...@dosiper.com>: >> I changed to 2.3.24.1 and I am getting a different error now: >> >> "There is no Action mapped for namespace [/] and action name [Person] >> associated with context path [/wildcard-method-selection]." >> >> I just changed the filter in web.xml to adapt the new version >> (org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter). >> None of the actions works now. >> >> Saludos / Regards, >> Daniel Hernáez >> International Technical Service >> >> Mobile: +34 699 140 596 >> Landline: +34 987 470 155 >> >> >> >> >> -Mensaje original- >> De: Lukasz Lenart [mailto:lukaszlen...@apache.org] >> Enviado el: viernes, 30 de octubre de 2015 10:59 >> Para: Struts Users Mailing List <user@struts.apache.org> >> Asunto: Re: Some problems with Struts-mailreader >> >> It was bug in Struts, so you must use the latest SNAPSHOT >> >> 2015-10-30 10:57 GMT+01:00 Chris <christal...@yahoo.fr>: >>> Hi,- I'll try soon >>> - But Git Hub says "Already up-to-date" >>> - And I saw >> a real problem. >>> - like the "problem" with a wrong path /pages/Error.jsp instead >>> /WEB-INF/jsp/Error.jsp >>> - the problem is : Login or Cancel submit are bugging. >>> - Could you please says the all jar files , for mailreader ? >>> Regards, >>> Chris >>> >>> >>> >>> Le Vendredi 30 octobre 2015 9h23, Lukasz Lenart >>> <lukaszlen...@apache.org> a écrit : >>> >>> >>> Fixed, thanks! >>> >>> 2015-10-30 8:52 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>>> My bad, was using BETA1 :( >>>> >>>> 2015-10-30 8:50 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>>>> It works, just fetched the latest version and everything is ok, no >>>>> errors, exceptions. Please check if you are using the latest version >>>>> from Git >>>>> >>>>> 2015-10-30 8:42 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: >>>>>> Looks like a bug in 2.5. The Login action is defined as follow >>>>>> >>>>>> >>>>>> >>>>
Re: Some problems with Struts-mailreader
PS : I will not change my old struts-mailreader sampleBut there is some differences in mailreader-support.xml file : old version
Re: Some problems with Struts-mailreader
Thanks, That is true , I missed to speak about SNAPSHOTS , because I didn't understand what it means.I'll try. Regards, Chris Le Vendredi 30 octobre 2015 16h01, Chrisa écrit : PS : I will not change my old struts-mailreader sampleBut there is some differences in mailreader-support.xml file : old version
Re: Some problems with Struts-mailreader
Hi,- I'll try soon - But Git Hub says "Already up-to-date" - And I saw a écrit : Fixed, thanks! 2015-10-30 8:52 GMT+01:00 Lukasz Lenart: > My bad, was using BETA1 :( > > 2015-10-30 8:50 GMT+01:00 Lukasz Lenart : >> It works, just fetched the latest version and everything is ok, no >> errors, exceptions. Please check if you are using the latest version >> from Git >> >> 2015-10-30 8:42 GMT+01:00 Lukasz Lenart : >>> Looks like a bug in 2.5. The Login action is defined as follow >>> >>> >>> >>> which means any method should be allowed - I'm going to check that >>> >>> >>> Regards >>> -- >>> Łukasz >>> + 48 606 323 122 http://www.lenart.org.pl/ >>> >>> 2015-10-28 12:21 GMT+01:00 Chris : Hello, I have some problems with the "new" mailreader sample in the linkhttps://github.com/apache/struts-examples/tree/master/mailreader with Struts 2.5 BETA2 PS : my old mailreader example 2.3.16 works perfectly.And I try to translate the tour.html to unterstand. But with the new one..Here are my lib or jar files - Struts2.5 BETA2 ( the same as form-xml-validation) - struts2-junit-plugin-2.5-BETA2.jar - struts-mailreader-dao-1.3.8.jar - spring-core-4.1.6.RELEASE.jar - spring-test-4.1.6.RELEASE.jar - commons-logging-1.1.3.jar - commons-beanutils-1.9.2.jar - commons-digester-2.1.jar First, the Login.jsp with good values ("user" and "pass") gives this error ( And The Cancel button too!) = = = = = = = = = = = = = = = = = = = = = = = = = = = = Struts Problem Report Struts has detected an unhandled exception: | Messages: | - This method: execute for action Login is not allowed! | Stacktraces This method: execute for action Login is not allowed! - [unknown location] com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543) org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:722) You are seeing this page because development mode is enabled. Development mode, or devMode, enables extradebugging behaviors and reports to assist developers. To disable this mode, set: struts.devMode=false in your WEB-INF/classes/struts.properties file. = = = = = = = = = = = = = = = = = = = = = = = = = = = = | | | | | | | | | | | apache/struts-examplesstruts-examples - Mirror of Apache Struts | | | | Afficher sur github.com | Aperçu par Yahoo | | | | | - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Some problems with Struts-mailreader
> > It was bug in Struts, so you must use the latest SNAPSHOT >I'm sorry , I don't know how I can use Snapshots. Le Vendredi 30 octobre 2015 16h06, Chrisa écrit : Thanks, That is true , I missed to speak about SNAPSHOTS , because I didn't understand what it means.I'll try. Regards, Chris Le Vendredi 30 octobre 2015 16h01, Chris a écrit : PS : I will not change my old struts-mailreader sampleBut there is some differences in mailreader-support.xml file : old version