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 4690A10095 for ; Fri, 26 Jul 2013 10:17:53 +0000 (UTC) Received: (qmail 35614 invoked by uid 500); 26 Jul 2013 10:17:51 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 35432 invoked by uid 500); 26 Jul 2013 10:17:51 -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 35374 invoked by uid 99); 26 Jul 2013 10:17:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 10:17:50 +0000 Date: Fri, 26 Jul 2013 10:17:50 +0000 (UTC) From: "nick (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-4152) Inconsistency in loading property file in JBoss AS7 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-4152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] nick updated WW-4152: --------------------- Description: We are facing couple of issues with most recent to latest struts2 distro. The same application was working perfectly with struts2-2.3.4 distro and Jboss AS7. We are getting the following exception on alternative deployment {noformat} ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/pgr]] (ServerService Thread Pool -- 50) JBWEB000284: Exception starting filter struts2Prepare: Class: org.apache.struts2.config.LegacyPropertiesConfigurationProvider File: LegacyPropertiesConfigurationProvider.java Method: loadSettings Line: 108 - org/apache/struts2/config/LegacyPropertiesConfigurationProvider.java:108:-1 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:502) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.init(StrutsPrepareFilter.java:56) [struts2-core-2.3.15.jar:2.3.15] at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:416) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3225) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3791) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] at org.jboss.threads.JBossThread.run(JBossThread.java:122) Caused by: java.lang.NullPointerException at org.apache.struts2.config.LegacyPropertiesConfigurationProvider.loadSettings(LegacyPropertiesConfigurationProvider.java:108) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.config.LegacyPropertiesConfigurationProvider.register(LegacyPropertiesConfigurationProvider.java:68) [struts2-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:226) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490) [struts2-core-2.3.15.jar:2.3.15] ... 15 more {noformat} Attaching struts.xml as well. was: We are facing couple of issues with most recent to latest struts2 distro. The same application was working perfectly with struts2-2.3.4 distro and Jboss AS7. We are getting the following exception on alternative deployment {noformat} {noformat} Attaching struts.xml as well. > Inconsistency in loading property file in JBoss AS7 > --------------------------------------------------- > > Key: WW-4152 > URL: https://issues.apache.org/jira/browse/WW-4152 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.3.15.1 > Environment: JBoss AS 7 (EAP6.1), Struts + Spring on Ubuntu > Reporter: nick > Priority: Critical > Fix For: 2.3.17 > > Attachments: struts.xml > > > We are facing couple of issues with most recent to latest struts2 distro. The same application was working perfectly with struts2-2.3.4 distro and Jboss AS7. > We are getting the following exception on alternative deployment > {noformat} > ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/pgr]] (ServerService Thread Pool -- 50) JBWEB000284: Exception starting filter struts2Prepare: Class: org.apache.struts2.config.LegacyPropertiesConfigurationProvider > File: LegacyPropertiesConfigurationProvider.java > Method: loadSettings > Line: 108 - org/apache/struts2/config/LegacyPropertiesConfigurationProvider.java:108:-1 > at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:502) [struts2-core-2.3.15.jar:2.3.15] > at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) [struts2-core-2.3.15.jar:2.3.15] > at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.init(StrutsPrepareFilter.java:56) [struts2-core-2.3.15.jar:2.3.15] > at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:416) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] > at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3225) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] > at org.apache.catalina.core.StandardContext.start(StandardContext.java:3791) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] > at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] > at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] > at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_25] > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_25] > at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_25] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25] > at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] > at org.jboss.threads.JBossThread.run(JBossThread.java:122) > Caused by: java.lang.NullPointerException > at org.apache.struts2.config.LegacyPropertiesConfigurationProvider.loadSettings(LegacyPropertiesConfigurationProvider.java:108) [struts2-core-2.3.15.jar:2.3.15] > at org.apache.struts2.config.LegacyPropertiesConfigurationProvider.register(LegacyPropertiesConfigurationProvider.java:68) [struts2-core-2.3.15.jar:2.3.15] > at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:226) [xwork-core-2.3.15.jar:2.3.15] > at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) [xwork-core-2.3.15.jar:2.3.15] > at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446) [struts2-core-2.3.15.jar:2.3.15] > at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490) [struts2-core-2.3.15.jar:2.3.15] > ... 15 more > {noformat} > Attaching struts.xml as well. > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira