From issueshking@example.net Mon Nov 03 02:30:59 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 14954 invoked from network); 3 Nov 2008 02:30:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2008 02:30:58 -0000 Received: (qmail 83400 invoked by uid 500); 3 Nov 2008 02:31:04 -0000 Delivered-To: hking@example.net Received: (qmail 83375 invoked by uid 500); 3 Nov 2008 02:31:03 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 83366 invoked by uid 99); 3 Nov 2008 02:31:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 18:31:03 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 02:29:55 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 1640C234C266 for <hking@example.net>; Sun, 2 Nov 2008 18:30:37 -0800 (PST) Message-ID: <1781632117.1225679437089.JavaMail.jira@brutus> Date: Sun, 2 Nov 2008 18:30:37 -0800 (PST) From: "Dave Newton (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Commented: (STR-3166) Class ValidatorActionForm is present in Javadoc but not in the delivered jar. In-Reply-To: <6678462746.1225286496964.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/STR-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44900#action_44900 ] Dave Newton commented on STR-3166: ---------------------------------- It's in struts-extras, no? > Class ValidatorActionForm is present in Javadoc but not in the delivered jar. > ----------------------------------------------------------------------------- > > Key: STR-3166 > URL: https://issues.apache.org/struts/browse/STR-3166 > Project: Struts 1 > Issue Type: Bug > Components: Documentation > Affects Versions: 1.3.8, 1.3.9 > Environment: Any. > Reporter: Ali > Priority: Trivial > > Class "org.apache.struts.validator.ValidatorActionForm" > is present in Javadoc (see "http://struts.apache.org/1.3.8/apidocs/org/apache/struts/validator/ValidatorActionForm.html") but not in the struts core jar. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Mon Nov 03 08:36:59 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 43513 invoked from network); 3 Nov 2008 08:36:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2008 08:36:59 -0000 Received: (qmail 93138 invoked by uid 500); 3 Nov 2008 08:37:04 -0000 Delivered-To: hking@example.net Received: (qmail 93112 invoked by uid 500); 3 Nov 2008 08:37:04 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 93103 invoked by uid 99); 3 Nov 2008 08:37:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 00:37:04 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 08:35:55 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 11611234C262 for <hking@example.net>; Mon, 3 Nov 2008 00:36:37 -0800 (PST) Message-ID: <464192693.1225701397069.JavaMail.jira@brutus> Date: Mon, 3 Nov 2008 00:36:37 -0800 (PST) From: "myasic (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Commented: (WW-2642) "Page not found" when a url ending with ".action" is entered In-Reply-To: <6678462746.1210517885514.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44901#action_44901 ] myasic commented on WW-2642: ---------------------------- Hello. We have exactly the same pb with Struts 2.0.12 into Websphere 83.161.120.155 Z/OS. Have you a prevision for fixe date ? When the 2.14 release will be published ? Is it possible to patch ourselves pending this release ? Thanks a lot. > "Page not found" when a url ending with ".action" is entered > ------------------------------------------------------------ > > Key: WW-2642 > URL: https://issues.apache.org/struts/browse/WW-2642 > Project: Struts 2 > Issue Type: Bug > Components: Core Actions, Example Applications > Affects Versions: 2.1.2 > Environment: Websphere V83.161.120.155 > Reporter: S. Farshi > Fix For: 2.1.4 > > > Looking at bug WW-2266 for struts 2.1.4, I get a similar error message [url not found] but in a different way. I have deployed blank.war for struts 2.1.2 [with basic form authentication enabled] under the context root ccol. Whenever I enter: > https://localhost:9445/ccol/index.html > the page gets redirected to: > https://localhost:9445/ccol/example/HelloWorld.action > I can see the page and from within the same browser, I can type any existing url that ends with ".action". However, if I open a new browser and then enter: > https://localhost:9445/ccol/example/HelloWorld.action > I would get "page not found" error [ I do not even get challenged for my id and pwd by http login dialog]. I uninstalled the application and then deployed the blank.war for struts 2.0.11[with same security setting enabled] and it works with no problem and I never get the same error. I have been able to create the error consistently over and over by repeating the above process. I would like to emphasize that blank.war for struts 2.0.11 works perfectly fine. I created server dump for struts 2.1.2 and below is the first few lines of the server dump: > [5/8/08 9:23:38:095 EDT] , key = java.io.FileNotFoundException com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest 573 > Exception = java.io.FileNotFoundException > Source = com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest > probeid = 573 > Stack Dump = java.io.FileNotFoundException: /example/HelloWorld.action > .............. > I also wanted to say that the Websphere version is 83.161.120.155 (which includes the fix for filter compatibility) and I have set "com.ibm.ws.webcontainer.invokefilterscompatibility " in server custom properties to true. On the same server "showcase-83.161.120.155" and sample app for "struts in action" book also run with no problem all have basic security enabled. The problem only occure for 2.1.2. > I would like to mention that when I enter https://localhost:9445/ccol/example/HelloWorld.action, I do not even get the http login dialog box for authenticatio and I get directly "page not found" error > A bit more clarification, The problem with 2.1.2 occurs only when web security is enabled in web.xml. If I disable security, it works. On the other hands, all the struts sample apps for 2.011.1 [including show-case app] on the same server have security enabled and they work fine -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Tue Nov 04 16:42:29 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 93280 invoked from network); 4 Nov 2008 16:42:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Nov 2008 16:42:29 -0000 Received: (qmail 87436 invoked by uid 500); 4 Nov 2008 16:42:35 -0000 Delivered-To: hking@example.net Received: (qmail 87147 invoked by uid 500); 4 Nov 2008 16:42:34 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 87138 invoked by uid 99); 4 Nov 2008 16:42:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 08:42:34 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 16:41:25 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 1C450234C27A for <hking@example.net>; Tue, 4 Nov 2008 08:41:37 -0800 (PST) Message-ID: <847983844.1225816897114.JavaMail.jira@brutus> Date: Tue, 4 Nov 2008 08:41:37 -0800 (PST) From: "myasic (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Updated: (WW-1749) unable to change default theme In-Reply-To: <8816502.1171987336151.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] myasic updated WW-1749: ----------------------- Affects Version/s: (was: 2.0.5) 2.0.13 This bug exists in 2.0.13 > unable to change default theme > ------------------------------ > > Key: WW-1749 > URL: https://issues.apache.org/struts/browse/WW-1749 > Project: Struts 2 > Issue Type: Bug > Components: XML Configuration > Affects Versions: 2.0.13 > Reporter: Sebastian > Priority: Critical > Fix For: 2.0.7, 2.1.0 > > > Currently, the default theme cannot be changed using struts.properties. In struts.properties, I set struts.ui.theme=simple and this should set the default theme to simple theme, but the setting is ignored and the default xhtml theme is used instead. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Wed Nov 05 22:47:31 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 38869 invoked from network); 5 Nov 2008 22:47:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Nov 2008 22:47:31 -0000 Received: (qmail 5005 invoked by uid 500); 5 Nov 2008 22:47:36 -0000 Delivered-To: hking@example.net Received: (qmail 4973 invoked by uid 500); 5 Nov 2008 22:47:36 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 4964 invoked by uid 99); 5 Nov 2008 22:47:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 14:47:36 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 22:46:25 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 0A0A0234C279 for <hking@example.net>; Wed, 5 Nov 2008 14:46:37 -0800 (PST) Message-ID: <880875448.1225925197039.JavaMail.jira@brutus> Date: Wed, 5 Nov 2008 14:46:37 -0800 (PST) From: "Mario Matias Urbieta (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Created: (WW-2858) struts:ComboBox cache problems with IE. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org struts:ComboBox cache problems with IE. --------------------------------------- Key: WW-2858 URL: https://issues.apache.org/struts/browse/WW-2858 Project: Struts 2 Issue Type: Bug Components: Plugin - Dojo Tags Affects Versions: 2.1.2 Environment: FF3 works well but the problem arises on IE7 Reporter: Mario Matias Urbieta IE cache struts:ComboBox urls. So the combo always present the same information for a given URL. A work arround is add ing a timestamp parameter to the URL in order to force to retrieve the new values for the combox. The final version must introduce the preventCache parameter at struts:ComboBox 's datasource defined in the ComboBox dojo component. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Thu Nov 06 15:46:31 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 79381 invoked from network); 6 Nov 2008 15:46:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2008 15:46:31 -0000 Received: (qmail 38811 invoked by uid 500); 6 Nov 2008 15:46:36 -0000 Delivered-To: hking@example.net Received: (qmail 38775 invoked by uid 500); 6 Nov 2008 15:46:36 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 38766 invoked by uid 99); 6 Nov 2008 15:46:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 07:46:35 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 15:45:26 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 91ED4234C280 for <hking@example.net>; Thu, 6 Nov 2008 07:45:38 -0800 (PST) Message-ID: <1921312530.1225986338595.JavaMail.jira@brutus> Date: Thu, 6 Nov 2008 07:45:38 -0800 (PST) From: "myasic (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Created: (WW-2859) Conversion Errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Conversion Errors ----------------- Key: WW-2859 URL: https://issues.apache.org/struts/browse/WW-2859 Project: Struts 2 Issue Type: Bug Components: Core Interceptors Affects Versions: 2.0.13 Environment: Struts 2.0.13 / tomcat5.5 Reporter: myasic I try to display conversion error with <s:fielderror />, but i see nothing. I use the original stack interceptor : paramsPrepareParamsStack I have a bean with an int property and i try to put the following string : adazdazd The property keep last value but nothing is display. My action extend from com.opensymphony.xwork2.ActionSupport and i use the default converter. I try also with a custom converter which extend StrutsTypeConverter and throw TypeConversionException when an error occured, but nothing is display again. Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Thu Nov 06 16:12:29 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 90769 invoked from network); 6 Nov 2008 16:12:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2008 16:12:29 -0000 Received: (qmail 72004 invoked by uid 500); 6 Nov 2008 16:12:34 -0000 Delivered-To: hking@example.net Received: (qmail 71974 invoked by uid 500); 6 Nov 2008 16:12:34 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 71965 invoked by uid 99); 6 Nov 2008 16:12:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 08:12:34 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 16:11:25 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 1CB21234C280 for <hking@example.net>; Thu, 6 Nov 2008 08:11:37 -0800 (PST) Message-ID: <1982998892.1225987897116.JavaMail.jira@brutus> Date: Thu, 6 Nov 2008 08:11:37 -0800 (PST) From: "DavidZaz (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Commented: (WW-2071) UIBean.end does not fail when an exception happens In-Reply-To: <26715111.1185564785343.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44926#action_44926 ] DavidZaz commented on WW-2071: ------------------------------ Lines 480-492 in UIBean.java illustrate the problem: 480 public boolean end(Writer writer, String body) { 481 evaluateParams(); 482 try { 483 super.end(writer, body, false); 484 mergeTemplate(writer, buildTemplateName(template, getDefaultTemplate())); 485 } catch (Exception e) { 486 LOG.error("error when rendering", e); 487 } 488 finally { 489 popComponentStack(); 490 } 491 492 return false; In the catch block, the exception is logged, but no special value is returned to indicate failure. The remainder of the JSP page will still be parsed and the same exception gets thrown multiple times. This occurs since UIBean.end always returns 'false' and UIBean.MergeTemplate (see line 530) does not even check the return result from UIBean.end. To reproduce this problem, use the following test case: 1. Create a Struts action which populates a very large List (maybe 5-10 thousand elements). 2. Create a JSP page which iterates through the List and displays the elements on the page. 3. While the JSP page is loading (but before it is complete), navigate away from the loading page. This causes the output stream to be closed. Yet UIBean.end keeps calling super.end(writer, body, false) on the closed writer object. The exception is then caught and displayed in my server log. Since no failure value is returned, Struts continues iterating over the remainder of the List and logs an exception for each list element. For large lists, this produces a ridiculous amount of log data by repeatedly printing out the same exception. Would it be possible to make this error handling more robust so that Struts would realize that the UIBean.end method is failing and stop retrying the same operation? I tried to work around this bug by writing my own ExceptionMappingInterceptor. My interceptor was able to catch the exception, but not until after UIBean.end had produced thousands of log entries. The best solution would be to fix UIBean.end and UIBean.MergeTemplate to take appropriate action when an exception is thrown. Here is a sample stacktrace: [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: ERROR - UIBean.end(486) | error when rendering [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: java.io.IOException: WEB8004: Error flushing the output stream [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at com.iplanet.ias.web.connector.nsapi.NSAPIConnector.flush(NSAPIConnector.java:743) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at com.iplanet.ias.web.connector.nsapi.NSAPIResponseStream.flush(NSAPIResponseStream.java:97) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at com.iplanet.ias.web.connector.nsapi.NSAPIResponse.flushBuffer(NSAPIResponse.java:131) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:219) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:189) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:227) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at freemarker.core.Environment.process(Environment.java:178) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at freemarker.template.Template.process(Template.java:232) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at org.apache.struts2.components.template.FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:168) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at org.apache.struts2.components.UIBean.mergeTemplate(UIBean.java:530) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at org.apache.struts2.components.UIBean.end(UIBean.java:484) [06/Nov/2008:09:19:01] info ( 4768): CORE3282: stdout: at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:43) > UIBean.end does not fail when an exception happens > -------------------------------------------------- > > Key: WW-2071 > URL: https://issues.apache.org/struts/browse/WW-2071 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Tags > Affects Versions: 2.1.0 > Reporter: Antonio Petrelli > Fix For: 2.1.3 > > > UIBean.end does not fail if something wrong happens in calling "super.end" or when merging template. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Thu Nov 06 16:19:58 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 95280 invoked from network); 6 Nov 2008 16:19:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2008 16:19:58 -0000 Received: (qmail 85976 invoked by uid 500); 6 Nov 2008 16:20:04 -0000 Delivered-To: hking@example.net Received: (qmail 85931 invoked by uid 500); 6 Nov 2008 16:20:04 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 85922 invoked by uid 99); 6 Nov 2008 16:20:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 08:20:04 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 16:18:54 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id E4A76234C281 for <hking@example.net>; Thu, 6 Nov 2008 08:19:36 -0800 (PST) Message-ID: <1556462583.1225988376933.JavaMail.jira@brutus> Date: Thu, 6 Nov 2008 08:19:36 -0800 (PST) From: "Antonio Petrelli (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Commented: (WW-2071) UIBean.end does not fail when an exception happens In-Reply-To: <26715111.1185564785343.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44927#action_44927 ] Antonio Petrelli commented on WW-2071: -------------------------------------- Sorry for answering only now. Yes, this is exactly what I meant, letting the exception pass if it is a runtime exception, not logging it. > UIBean.end does not fail when an exception happens > -------------------------------------------------- > > Key: WW-2071 > URL: https://issues.apache.org/struts/browse/WW-2071 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Tags > Affects Versions: 2.1.0 > Reporter: Antonio Petrelli > Fix For: 2.1.3 > > > UIBean.end does not fail if something wrong happens in calling "super.end" or when merging template. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Thu Nov 06 16:47:14 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 7904 invoked from network); 6 Nov 2008 16:47:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2008 16:47:14 -0000 Received: (qmail 35448 invoked by uid 500); 6 Nov 2008 16:47:21 -0000 Delivered-To: hking@example.net Received: (qmail 35017 invoked by uid 500); 6 Nov 2008 16:47:19 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 35008 invoked by uid 99); 6 Nov 2008 16:47:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 08:47:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 16:46:10 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id E166A234C280 for <hking@example.net>; Thu, 6 Nov 2008 08:45:36 -0800 (PST) Message-ID: <362077864.1225989936921.JavaMail.jira@brutus> Date: Thu, 6 Nov 2008 08:45:36 -0800 (PST) From: "Dave Newton (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Commented: (WW-2859) Conversion Errors In-Reply-To: <1921312530.1225986338595.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44928#action_44928 ] Dave Newton commented on WW-2859: --------------------------------- Can you provide more details? The conversion error interceptor should put conversion errors into the error message map, and IIRC is included in the default stacks, and I haven't been able to duplicate this with the assumptions I'm making. > Conversion Errors > ----------------- > > Key: WW-2859 > URL: https://issues.apache.org/struts/browse/WW-2859 > Project: Struts 2 > Issue Type: Bug > Components: Core Interceptors > Affects Versions: 2.0.13 > Environment: Struts 2.0.13 / tomcat5.5 > Reporter: myasic > > I try to display conversion error with <s:fielderror />, but i see nothing. > I use the original stack interceptor : paramsPrepareParamsStack > I have a bean with an int property and i try to put the following string : adazdazd > The property keep last value but nothing is display. > My action extend from com.opensymphony.xwork2.ActionSupport and i use the default converter. > I try also with a custom converter which extend StrutsTypeConverter and throw TypeConversionException when an error occured, > but nothing is display again. > Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Thu Nov 06 20:08:59 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 4902 invoked from network); 6 Nov 2008 20:08:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2008 20:08:59 -0000 Received: (qmail 92691 invoked by uid 500); 6 Nov 2008 20:09:04 -0000 Delivered-To: hking@example.net Received: (qmail 92657 invoked by uid 500); 6 Nov 2008 20:09:04 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 92647 invoked by uid 99); 6 Nov 2008 20:09:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 12:09:04 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 20:07:55 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 16ECD234C280 for <hking@example.net>; Thu, 6 Nov 2008 12:08:37 -0800 (PST) Message-ID: <949761316.1226002117092.JavaMail.jira@brutus> Date: Thu, 6 Nov 2008 12:08:37 -0800 (PST) From: "Rene Gielen (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Resolved: (WW-2859) Conversion Errors In-Reply-To: <1921312530.1225986338595.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rene Gielen resolved WW-2859. ----------------------------- Resolution: Duplicate Fix Version/s: 2.0.14 > Conversion Errors > ----------------- > > Key: WW-2859 > URL: https://issues.apache.org/struts/browse/WW-2859 > Project: Struts 2 > Issue Type: Bug > Components: Core Interceptors > Affects Versions: 2.0.13 > Environment: Struts 2.0.13 / tomcat5.5 > Reporter: myasic > Fix For: 2.0.14 > > > I try to display conversion error with <s:fielderror />, but i see nothing. > I use the original stack interceptor : paramsPrepareParamsStack > I have a bean with an int property and i try to put the following string : adazdazd > The property keep last value but nothing is display. > My action extend from com.opensymphony.xwork2.ActionSupport and i use the default converter. > I try also with a custom converter which extend StrutsTypeConverter and throw TypeConversionException when an error occured, > but nothing is display again. > Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Thu Nov 06 20:11:29 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 5376 invoked from network); 6 Nov 2008 20:11:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2008 20:11:29 -0000 Received: (qmail 94823 invoked by uid 500); 6 Nov 2008 20:11:34 -0000 Delivered-To: hking@example.net Received: (qmail 94792 invoked by uid 500); 6 Nov 2008 20:11:34 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 94783 invoked by uid 99); 6 Nov 2008 20:11:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 12:11:34 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 20:10:24 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id E6AE3234C284 for <hking@example.net>; Thu, 6 Nov 2008 12:10:36 -0800 (PST) Message-ID: <1277625312.1226002236943.JavaMail.jira@brutus> Date: Thu, 6 Nov 2008 12:10:36 -0800 (PST) From: "Rene Gielen (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Updated: (WW-2853) Struts 2.0.12 has broken Conversion Errors In-Reply-To: <1167797723.1225191397029.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rene Gielen updated WW-2853: ---------------------------- Affects Version/s: 2.0.13 Assignee: Musachy Barroso Just to provide some more information: This is an XWork issue introduced with the security fixed ParametersInterceptor in XWork 2.0.6. The fix is already in XWork svn, we are currently waiting for XWork 2.0.7 to be released. Right after that, a fresh Struts build will follow. > Struts 2.0.12 has broken Conversion Errors > ------------------------------------------ > > Key: WW-2853 > URL: https://issues.apache.org/struts/browse/WW-2853 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.0.12, 2.0.13 > Environment: Windows XP - JBOSS 4.2.2 > Reporter: David Harland > Assignee: Musachy Barroso > Fix For: 2.0.14 > > > Since upgrading to struts 2.0.12 from 83.161.120.155 all conversion errors are being lost. > Here is a simple example showing this is broken! > Take the Struts2 blank app for 83.161.120.155. Now add a simple Action with an Integer property testNumber. Now add a jsp with a field testNumber. Now put fred in testNumber and submit. > You get 'Invalid field value for field "testNumber".' > Now replace the lib files from the 83.161.120.155 struts2 blank with the 2.0.12. > The Conversion errors now do not get displayed. They are lost! > It appears to be the ParametersInterceptor is taking a copy of the ValueStack, the conversion errors are being set on the new stack and therefore lost. > > Regards > > David. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Thu Nov 06 21:45:35 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 46862 invoked from network); 6 Nov 2008 21:45:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2008 21:45:35 -0000 Received: (qmail 18107 invoked by uid 500); 6 Nov 2008 21:45:41 -0000 Delivered-To: hking@example.net Received: (qmail 18080 invoked by uid 500); 6 Nov 2008 21:45:41 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 18071 invoked by uid 99); 6 Nov 2008 21:45:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 13:45:41 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 21:44:24 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id EBCD9234C284 for <hking@example.net>; Thu, 6 Nov 2008 13:44:36 -0800 (PST) Message-ID: <401154516.1226007876964.JavaMail.jira@brutus> Date: Thu, 6 Nov 2008 13:44:36 -0800 (PST) From: "Justin Silver (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Commented: (WW-1851) Struts 2.0 DTD missing "default-class-ref" element In-Reply-To: <10069625.1174665771134.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44933#action_44933 ] Justin Silver commented on WW-1851: ----------------------------------- Are there plans to update the public DTD at http://struts.apache.org/dtds/struts-2.0.dtd or is it required to reference a local version of the DTD? > Struts 2.0 DTD missing "default-class-ref" element > -------------------------------------------------- > > Key: WW-1851 > URL: https://issues.apache.org/struts/browse/WW-1851 > Project: Struts 2 > Issue Type: Bug > Components: XML Configuration > Affects Versions: 2.0.6, 2.0.7 > Reporter: Jasper Rosenberg > Assignee: James Holmes > Fix For: 2.0.9, 2.1.0 > > > This element exists in the current xwork 2.0 DTD, but it is missing from the struts 2.0 DTD. > Related to issues: https://issues.apache.org/struts/browse/WW-1420 and http://jira.opensymphony.com/browse/XW-432 > <!ELEMENT package (result-types?, interceptors?, default-interceptor-ref?, default-action-ref?, default-class-ref?, global-results?, global-exception-mappings?, action*)> > <!ELEMENT default-class-ref (param*)> > <!ATTLIST default-class-ref > class CDATA #REQUIRED > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Thu Nov 06 22:27:36 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 71842 invoked from network); 6 Nov 2008 22:27:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2008 22:27:35 -0000 Received: (qmail 60326 invoked by uid 500); 6 Nov 2008 22:27:41 -0000 Delivered-To: hking@example.net Received: (qmail 60291 invoked by uid 500); 6 Nov 2008 22:27:41 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 60280 invoked by uid 99); 6 Nov 2008 22:27:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 14:27:41 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 22:26:24 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id F14DD234C285 for <hking@example.net>; Thu, 6 Nov 2008 14:26:36 -0800 (PST) Message-ID: <1392727111.1226010396987.JavaMail.jira@brutus> Date: Thu, 6 Nov 2008 14:26:36 -0800 (PST) From: "Dave Newton (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Commented: (WW-1851) Struts 2.0 DTD missing "default-class-ref" element In-Reply-To: <10069625.1174665771134.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44934#action_44934 ] Dave Newton commented on WW-1851: --------------------------------- Using the appropriate URI will reference the DTD included in the core jar file, and I have verified the fix is included as of 2.0.9. I'm not actually sure how to replace the physical DTD at the URI; someone else will probably do that. > Struts 2.0 DTD missing "default-class-ref" element > -------------------------------------------------- > > Key: WW-1851 > URL: https://issues.apache.org/struts/browse/WW-1851 > Project: Struts 2 > Issue Type: Bug > Components: XML Configuration > Affects Versions: 2.0.6, 2.0.7 > Reporter: Jasper Rosenberg > Assignee: James Holmes > Fix For: 2.0.9, 2.1.0 > > > This element exists in the current xwork 2.0 DTD, but it is missing from the struts 2.0 DTD. > Related to issues: https://issues.apache.org/struts/browse/WW-1420 and http://jira.opensymphony.com/browse/XW-432 > <!ELEMENT package (result-types?, interceptors?, default-interceptor-ref?, default-action-ref?, default-class-ref?, global-results?, global-exception-mappings?, action*)> > <!ELEMENT default-class-ref (param*)> > <!ATTLIST default-class-ref > class CDATA #REQUIRED > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Thu Nov 06 23:05:29 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 79270 invoked from network); 6 Nov 2008 23:05:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2008 23:05:28 -0000 Received: (qmail 90647 invoked by uid 500); 6 Nov 2008 23:05:34 -0000 Delivered-To: hking@example.net Received: (qmail 90354 invoked by uid 500); 6 Nov 2008 23:05:34 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 90345 invoked by uid 99); 6 Nov 2008 23:05:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 15:05:34 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 23:04:24 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id E6E0E234C280 for <hking@example.net>; Thu, 6 Nov 2008 15:04:36 -0800 (PST) Message-ID: <511485083.1226012676944.JavaMail.jira@brutus> Date: Thu, 6 Nov 2008 15:04:36 -0800 (PST) From: "Dan Slack (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Commented: (WW-2796) org.apache.struts2.views.velocity.VelocityManager calling deprecated velocity's ChainedContext constructor In-Reply-To: <281899715.1220538025686.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44935#action_44935 ] Dan Slack commented on WW-2796: ------------------------------- ChainedContext has two constructors, one that takes in an existing Context, and one that doesn't. If we don't pass in the StrutsVelocityContext object, we lose all references to the Struts objects (ValueStack, for example, wouldn't be set, and so when we use #sproperty, and it attempts to retrieve the ValueStack, we get a NPE) So, this line: ChainedContext chained = new ChainedContext(getVelocityEngine(), req, res, ctx); Should read: ChainedContext chained = new ChainedContext(context, getVelocityEngine(), req, res, ctx); And thanks for the original code, I was a bit lost on why I was getting errors in the first place. > org.apache.struts2.views.velocity.VelocityManager calling deprecated velocity's ChainedContext constructor > ---------------------------------------------------------------------------------------------------------- > > Key: WW-2796 > URL: https://issues.apache.org/struts/browse/WW-2796 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.0.11 > Environment: velocity-tools-1.4.jar > velocity-1.5.jar > struts2.0.11.jar > Reporter: Flavien Binet > Priority: Critical > > Hello :) > I'm facing a bug when trying to setup velocity's toolbox (version 1.4). > Here is the stack trace : > ---------------------------- > java.lang.NoSuchMethodError: org.apache.velocity.tools.view.context.ChainedContext.<init>(Lorg/apache/velocity/context/Context;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/ServletContext;)V > org.apache.struts2.views.velocity.VelocityManager.createContext(VelocityManager.java:193) > org.apache.struts2.dispatcher.VelocityResult.createContext(VelocityResult.java:235) > org.apache.struts2.dispatcher.VelocityResult.doExecute(VelocityResult.java:152) > org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178) > com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348) > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253) > ... > ---------------------------- > VelocityManager object is trying to call a constructor that has been deprecated since velocity-tools-1.3 (regarding javadoc -> http://velocity.apache.org/tools/releases/1.3/javadoc/org/apache/velocity/tools/view/context/ChainedContext.html#ChainedContext(org.apache.velocity.context.Context,%20javax.servlet.http.HttpServletRequest,%20javax.servlet.http.HttpServletResponse,%20javax.servlet.ServletContext) > It work well using velocity-tools-1.2.jar, but i need to use it under 1.4. This new constructor seems to require a VelocityEngine instance that is not available around :) > Thank for support -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Fri Nov 07 08:21:29 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 90634 invoked from network); 7 Nov 2008 08:21:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Nov 2008 08:21:29 -0000 Received: (qmail 79877 invoked by uid 500); 7 Nov 2008 08:21:35 -0000 Delivered-To: hking@example.net Received: (qmail 79847 invoked by uid 500); 7 Nov 2008 08:21:35 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 79838 invoked by uid 99); 7 Nov 2008 08:21:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 00:21:35 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 08:20:25 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id C574C234C280 for <hking@example.net>; Fri, 7 Nov 2008 00:20:37 -0800 (PST) Message-ID: <1030194428.1226046037803.JavaMail.jira@brutus> Date: Fri, 7 Nov 2008 00:20:37 -0800 (PST) From: "space fly (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Assigned: (WW-2831) struts83.161.120.155 when use 'xxx-validation.xml' canot work on resin3.0.25 In-Reply-To: <496764660.1223457816964.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] space fly reassigned WW-2831: ----------------------------- Assignee: space fly > struts83.161.120.155 when use 'xxx-validation.xml' canot work on resin3.0.25 > -------------------------------------------------------------------------- > > Key: WW-2831 > URL: https://issues.apache.org/struts/browse/WW-2831 > Project: Struts 2 > Issue Type: Bug > Components: Core Interceptors > Affects Versions: 83.161.120.155 > Environment: struts83.161.120.155 use xxx-validation.xml ,the web server is resin-3.0.25 > Reporter: space fly > Assignee: space fly > Priority: Critical > > just as the summary,when i use struts83.161.120.155 ,and i create a 'xxx-validation.xml' ,it can work but canot validator on resin3.0.25 ,but it can work on tomcat6, > I have solved the problem by replace xwork2.0.5 with xwork2.0.4 ,absolutely there is some change from xwork2.0.4 to xwork2.0.5 ,xwork2.0.4 is ok with struts83.161.120.155 while xwork2.0.5 has some problem. > The error message of resin3.0.25 are as following: > ------------ > 500 Servlet Exception > java.lang.NoClassDefFoundError: Could not initialize class com.opensymphony.xwork2.validator.ValidatorFactory > at com.opensymphony.xwork2.validator.ValidatorFileParser.addValidatorConfigs(ValidatorFileParser.java:192) > at com.opensymphony.xwork2.validator.ValidatorFileParser.parseActionValidatorConfigs(ValidatorFileParser.java:72) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:361) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildAliasValidatorConfigs(AnnotationActionValidatorManager.java:244) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildValidatorConfigs(AnnotationActionValidatorManager.java:343) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.getValidators(AnnotationActionValidatorManager.java:69) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:138) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:113) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:100) > at com.opensymphony.xwork2.validator.ValidationInterceptor.doBeforeInvocation(ValidationInterceptor.java:142) > at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:148) > at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:186) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:83) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:207) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:74) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:107) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:206) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:115) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:121) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50) > at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504) > at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) > at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:359) > at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) > at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:109) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:271) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:174) > at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) > at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) > at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) > at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) > at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) > at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) > at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) > at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) > at com.caucho.util.ThreadPool.run(ThreadPool.java:442) > at java.lang.Thread.run(Thread.java:619) > Resin-3.0.25 (built Wed, 05 Dec 2007 08:19:34 PST) > ------------ > hope you solve the problem soon! -,- I like struts2 very much!!! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Fri Nov 07 08:25:33 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 92195 invoked from network); 7 Nov 2008 08:25:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Nov 2008 08:25:32 -0000 Received: (qmail 85928 invoked by uid 500); 7 Nov 2008 08:25:38 -0000 Delivered-To: hking@example.net Received: (qmail 85730 invoked by uid 500); 7 Nov 2008 08:25:37 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 85721 invoked by uid 99); 7 Nov 2008 08:25:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 00:25:37 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 08:24:27 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 93F37234C280 for <hking@example.net>; Fri, 7 Nov 2008 00:24:39 -0800 (PST) Message-ID: <819536794.1226046279604.JavaMail.jira@brutus> Date: Fri, 7 Nov 2008 00:24:39 -0800 (PST) From: "space fly (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Updated: (WW-2831) struts83.161.120.155 when use 'xxx-validation.xml' canot work on resin3.0.25 In-Reply-To: <496764660.1223457816964.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] space fly updated WW-2831: -------------------------- Priority: Trivial (was: Critical) Description: just as the summary,when i use struts83.161.120.155 ,and i create a 'xxx-validation.xml' ,it can work but canot validator on resin3.0.25 ,but it can work on tomcat6, I have solved the problem by replace xwork2.0.5 with xwork2.0.4 ,absolutely there is some change from xwork2.0.4 to xwork2.0.5 ,xwork2.0.4 is ok with struts83.161.120.155 while xwork2.0.5 has some problem. The error message of resin3.0.25 are as following: ------------ 500 Servlet Exception java.lang.NoClassDefFoundError: Could not initialize class hking@example.net(ValidatorFileParser.java:192) at com.opensymphony.xwork2.validator.ValidatorFileParser.parseActionValidatorConfigs(ValidatorFileParser.java:72) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:361) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildAliasValidatorConfigs(AnnotationActionValidatorManager.java:244) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildValidatorConfigs(AnnotationActionValidatorManager.java:343) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.getValidators(AnnotationActionValidatorManager.java:69) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:138) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:113) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:100) at com.opensymphony.xwork2.validator.ValidationInterceptor.doBeforeInvocation(ValidationInterceptor.java:142) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:148) at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:186) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:83) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:207) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:74) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:107) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:206) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:115) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:121) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504) at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:359) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:109) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:271) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:174) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:619) Resin-3.0.25 (built Wed, 05 Dec 2007 08:19:34 PST) ------------ hope you solve the problem soon! -,- I like struts2 very much!!! ----------- This bug has been fixed in struts2.0.12 version!!!!!!So ,if you meet this problem change your libs to Struts2.0.12 version!!!!!!!!!!!! So,this bug has already fixed in Struts2.0.12,all you have to do is to update your libs to Struts2.0.12 was: just as the summary,when i use struts83.161.120.155 ,and i create a 'xxx-validation.xml' ,it can work but canot validator on resin3.0.25 ,but it can work on tomcat6, I have solved the problem by replace xwork2.0.5 with xwork2.0.4 ,absolutely there is some change from xwork2.0.4 to xwork2.0.5 ,xwork2.0.4 is ok with struts83.161.120.155 while xwork2.0.5 has some problem. The error message of resin3.0.25 are as following: ------------ 500 Servlet Exception java.lang.NoClassDefFoundError: Could not initialize class hking@example.net(ValidatorFileParser.java:192) at com.opensymphony.xwork2.validator.ValidatorFileParser.parseActionValidatorConfigs(ValidatorFileParser.java:72) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:361) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildAliasValidatorConfigs(AnnotationActionValidatorManager.java:244) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildValidatorConfigs(AnnotationActionValidatorManager.java:343) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.getValidators(AnnotationActionValidatorManager.java:69) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:138) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:113) at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:100) at com.opensymphony.xwork2.validator.ValidationInterceptor.doBeforeInvocation(ValidationInterceptor.java:142) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:148) at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:186) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:83) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:207) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:74) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:107) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:206) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:115) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:121) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504) at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:359) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:109) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:271) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:174) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:619) Resin-3.0.25 (built Wed, 05 Dec 2007 08:19:34 PST) ------------ hope you solve the problem soon! -,- I like struts2 very much!!! > struts83.161.120.155 when use 'xxx-validation.xml' canot work on resin3.0.25 > -------------------------------------------------------------------------- > > Key: WW-2831 > URL: https://issues.apache.org/struts/browse/WW-2831 > Project: Struts 2 > Issue Type: Bug > Components: Core Interceptors > Affects Versions: 83.161.120.155 > Environment: struts83.161.120.155 use xxx-validation.xml ,the web server is resin-3.0.25 > Reporter: space fly > Assignee: space fly > Priority: Trivial > > just as the summary,when i use struts83.161.120.155 ,and i create a 'xxx-validation.xml' ,it can work but canot validator on resin3.0.25 ,but it can work on tomcat6, > I have solved the problem by replace xwork2.0.5 with xwork2.0.4 ,absolutely there is some change from xwork2.0.4 to xwork2.0.5 ,xwork2.0.4 is ok with struts83.161.120.155 while xwork2.0.5 has some problem. > The error message of resin3.0.25 are as following: > ------------ > 500 Servlet Exception > java.lang.NoClassDefFoundError: Could not initialize class com.opensymphony.xwork2.validator.ValidatorFactory > at com.opensymphony.xwork2.validator.ValidatorFileParser.addValidatorConfigs(ValidatorFileParser.java:192) > at com.opensymphony.xwork2.validator.ValidatorFileParser.parseActionValidatorConfigs(ValidatorFileParser.java:72) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:361) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildAliasValidatorConfigs(AnnotationActionValidatorManager.java:244) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildValidatorConfigs(AnnotationActionValidatorManager.java:343) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.getValidators(AnnotationActionValidatorManager.java:69) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:138) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:113) > at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:100) > at com.opensymphony.xwork2.validator.ValidationInterceptor.doBeforeInvocation(ValidationInterceptor.java:142) > at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:148) > at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:186) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:83) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:207) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:74) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:107) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:206) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:115) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:121) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50) > at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504) > at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) > at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:359) > at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) > at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:109) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:271) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99) > at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) > at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:174) > at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) > at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) > at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) > at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) > at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) > at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) > at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) > at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) > at com.caucho.util.ThreadPool.run(ThreadPool.java:442) > at java.lang.Thread.run(Thread.java:619) > Resin-3.0.25 (built Wed, 05 Dec 2007 08:19:34 PST) > ------------ > hope you solve the problem soon! -,- I like struts2 very much!!! > ----------- > This bug has been fixed in struts2.0.12 version!!!!!!So ,if you meet this problem change your libs to Struts2.0.12 version!!!!!!!!!!!! > So,this bug has already fixed in Struts2.0.12,all you have to do is to update your libs to Struts2.0.12 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueshking@example.net Fri Nov 07 16:10:00 2008 Return-Path: <issueshking@example.net> Delivered-To: hking@example.net Received: (qmail 91466 invoked from network); 7 Nov 2008 16:10:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Nov 2008 16:10:00 -0000 Received: (qmail 16031 invoked by uid 500); 7 Nov 2008 16:10:05 -0000 Delivered-To: hking@example.net Received: (qmail 15982 invoked by uid 500); 7 Nov 2008 16:10:05 -0000 Mailing-List: contact hking@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:hking@example.net> List-Unsubscribe: <mailto:hking@example.net> List-Post: <mailto:hking@example.net> List-Id: <issues.struts.apache.org> Reply-To: hking@example.net Delivered-To: mailing list hking@example.net Received: (qmail 15959 invoked by uid 99); 7 Nov 2008 16:10:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 08:10:05 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 16:08:55 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id AEB5D234C25C for <hking@example.net>; Fri, 7 Nov 2008 08:09:37 -0800 (PST) Message-ID: <1064419980.1226074177713.JavaMail.jira@brutus> Date: Fri, 7 Nov 2008 08:09:37 -0800 (PST) From: "Mario Matias Urbieta (JIRA)" <hking@example.net> To: hking@example.net Subject: [jira] Created: (WW-2860) Ajax Submit Tag - topics are notified also with validation cheking without a way for differenciate both calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ajax Submit Tag - topics are notified also with validation cheking without a way for differenciate both calls -------------------------------------------------------------------------------------------------------------- Key: WW-2860 URL: https://issues.apache.org/struts/browse/WW-2860 Project: Struts 2 Issue Type: Bug Components: Plugin - Tags Affects Versions: 2.1.2 Reporter: Mario Matias Urbieta Ajax Submit Tag - topics are notified also with validation without a way for diferenciate both calls. When a ajax submit is used with validate and afterAjaxValidation on true, topics notification are made for both call: * json validation call * form submition The main problem is that there is not a way for distinguish if the topic is called after/before of a validation call or final form submition call.
{'source': 'Apache Software Foundation Public Mail Archives'}