From issues-return-25606-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Mon May 18 19:02:00 2015 Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DFBAF17A7B for ; Mon, 18 May 2015 19:02:00 +0000 (UTC) Received: (qmail 60128 invoked by uid 500); 18 May 2015 19:02:00 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 60088 invoked by uid 500); 18 May 2015 19:02:00 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 60077 invoked by uid 99); 18 May 2015 19:02:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2015 19:02:00 +0000 Date: Mon, 18 May 2015 19:02:00 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-4500) When calling action defined in struts2 plugin, DeprecationInterceptor prints warnings. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4500: ------------------------------ Fix Version/s: 2.3.x > When calling action defined in struts2 plugin, DeprecationInterceptor prints warnings. > -------------------------------------------------------------------------------------- > > Key: WW-4500 > URL: https://issues.apache.org/jira/browse/WW-4500 > Project: Struts 2 > Issue Type: Bug > Components: Core Interceptors > Affects Versions: 2.3.24 > Reporter: Chris Cranford > Fix For: 2.3.x > > > Created a simple JAR that contains the following struts-plugin XML: > {noformat} > > > > > /reporting/index.jsp > > > > {noformat} > The action simply extends {{ActionSupport}} with no logic. When pointing the browser to the /reporting/index.do action, the following is shown in the logs: > {noformat} > 2015-05-18 12:20:59,023 DEBUG [org.apache.struts2.interceptor.DeprecationInterceptor]: > ******************************************************************************* > ** ** > ** WARNING ** > ** YOU USE DEPRECATED / UNKNOWN CONSTANTS ** > ** ** > ** -> struts.convention.action.name.lowercase ** > ** -> struts.convention.default.parent.package ** > ** -> struts.class.reloading.watchList ** > ** -> struts.convention.actionConfigBuilder ** > ** -> struts.convention.relative.result.types ** > ** -> struts.convention.result.path ** > ** -> struts.convention.package.locators ** > ** -> struts.convention.action.alwaysMapExecute ** > ** -> struts.convention.resultMapBuilder ** > ** -> struts.convention.action.name.separator ** > ** -> struts.convention.action.fileProtocols ** > ** -> struts.convention.classes.reload ** > ** -> struts.convention.exclude.parentClassLoader ** > ** -> struts.class.reloading.acceptClasses ** > ** -> struts.convention.package.locators.disable ** > ** -> struts.convention.exclude.packages ** > ** -> struts.convention.result.flatLayout ** > ** -> struts.convention.action.disableScanning ** > ** -> struts.class.reloading.reloadConfig ** > ** -> struts.scope.followsConvention ** > ** -> struts.convention.conventionsService ** > ** -> struts.convention.action.mapAllMatches ** > ** -> struts.convention.package.locators.basePackage ** > ** -> struts.convention.actionNameBuilder ** > ** -> struts.convention.action.checkImplementsAction ** > ** -> struts.convention.redirect.to.slash ** > ** -> struts.convention.action.suffix ** > ** -> struts.convention.interceptorMapBuilder ** > ******************************************************************************* > {noformat} > There should be no reason that I can tell why this deprecation warning should even be spammed on each action invocation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)