[jira] [Commented] (WW-3714) Rename org.opensymphony.xwork2 to org.apache.struts2.xwork2

2013-08-28 Thread Rene Gielen (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752267#comment-13752267
 ] 

Rene Gielen commented on WW-3714:
-

Since XWork is not an Apache TLP while Struts is, we should keep Struts in the 
prefix.
So if we rename in the end, I'd rather vote for org.apache.struts.xwork 
(dropping the 2 stuff).

> Rename org.opensymphony.xwork2 to org.apache.struts2.xwork2
> ---
>
> Key: WW-3714
> URL: https://issues.apache.org/jira/browse/WW-3714
> Project: Struts 2
>  Issue Type: Task
>  Components: Core Actions
>Affects Versions: 2.2.3.1
>Reporter: Lukasz Lenart
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 3.0
>
>
> To finish acquisition of XWork project, all the packages have to be renamed 
> to match current Struts 2 package hierarchy

--
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


[jira] [Commented] (WW-3689) NullPointerException coming from Settings / LegacyPropertiesConfigurationProvider (thread-safety issue?)

2013-08-28 Thread Lukasz Lenart (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752232#comment-13752232
 ] 

Lukasz Lenart commented on WW-3689:
---

Yes, it was already reported, see WW-4152

> NullPointerException coming from Settings / 
> LegacyPropertiesConfigurationProvider (thread-safety issue?)
> 
>
> Key: WW-3689
> URL: https://issues.apache.org/jira/browse/WW-3689
> Project: Struts 2
>  Issue Type: Bug
>Affects Versions: 2.0.14, 2.2.3.1
> Environment: Any; multi-core machines tend to demonstrate the problem 
> more readily though.
>Reporter: James Abley
>Assignee: Lukasz Lenart
> Fix For: 2.3.15
>
> Attachments: WW-3689-locked-initialisation.patch
>
>
> When running a load test, we intermittently see failures with this stack 
> trace (the line numbers are for 2.0.14, but we also see this with 2.2.3.1):
> {noformat}
> Exception in thread "MultiThreadTestRunner-5" java.lang.NullPointerException
>   at org.apache.struts2.config.Settings.get(Settings.java:175)
>   at 
> org.apache.struts2.config.Settings.getDefaultInstance(Settings.java:293)
>   at org.apache.struts2.config.Settings.getInstance(Settings.java:109)
>   at 
> org.apache.struts2.config.LegacyPropertiesConfigurationProvider.register(LegacyPropertiesConfigurationProvider.java:67)
>   at 
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131)
>   at 
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
>   at 
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
>   at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
>   at 
> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:205)
>   at 
> com.example.platform.test.servlet.OurServlet.handleRequest(OurServlet.java:64)
> {noformat}
> or
> {noformat}
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.struts2.config.LegacyPropertiesConfigurationProvider.loadSettings(LegacyPropertiesConfigurationProvider.java:86)
>   at 
> org.apache.struts2.config.LegacyPropertiesConfigurationProvider.register(LegacyPropertiesConfigurationProvider.java:69)
>   at 
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131)
>   at 
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
>   at 
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
>   at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
>   at 
> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:205)
> {noformat}
> Our suspicion is that the initialisation isn't thread-safe; we've not seen 
> this failure on older, single-processor / single-core machines.

--
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


[jira] [Assigned] (WW-4152) Concurrency issue in strust2 app deployed in JBoss AS7

2013-08-28 Thread Lukasz Lenart (JIRA)

 [ 
https://issues.apache.org/jira/browse/WW-4152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart reassigned WW-4152:
-

Assignee: Lukasz Lenart

> Concurrency issue in strust2 app deployed 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 + EAR deployment on 
> Ubuntu
>Reporter: nick
>Assignee: Lukasz Lenart
>Priority: Critical
> Fix For: 2.3.16
>
> 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


[jira] [Commented] (WW-3714) Rename org.opensymphony.xwork2 to org.apache.struts2.xwork2

2013-08-28 Thread Lukasz Lenart (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752224#comment-13752224
 ] 

Lukasz Lenart commented on WW-3714:
---

Maybe instead of renaming to _org.apache.struts2.xwork2_ we should consider 
_org.apache.xwork2_?

> Rename org.opensymphony.xwork2 to org.apache.struts2.xwork2
> ---
>
> Key: WW-3714
> URL: https://issues.apache.org/jira/browse/WW-3714
> Project: Struts 2
>  Issue Type: Task
>  Components: Core Actions
>Affects Versions: 2.2.3.1
>Reporter: Lukasz Lenart
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 3.0
>
>
> To finish acquisition of XWork project, all the packages have to be renamed 
> to match current Struts 2 package hierarchy

--
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


[jira] [Updated] (WW-3714) Rename org.opensymphony.xwork2 to org.apache.struts2.xwork2

2013-08-28 Thread Lukasz Lenart (JIRA)

 [ 
https://issues.apache.org/jira/browse/WW-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-3714:
--

Description: To finish acquisition of XWork project, all the packages have 
to be renamed to match current Struts 2 package hierarchy  (was: To finish 
acquisition of XWork project, all the packages have to be renamed to much 
current Struts 2 package hierarchy)

> Rename org.opensymphony.xwork2 to org.apache.struts2.xwork2
> ---
>
> Key: WW-3714
> URL: https://issues.apache.org/jira/browse/WW-3714
> Project: Struts 2
>  Issue Type: Task
>  Components: Core Actions
>Affects Versions: 2.2.3.1
>Reporter: Lukasz Lenart
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 3.0
>
>
> To finish acquisition of XWork project, all the packages have to be renamed 
> to match current Struts 2 package hierarchy

--
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


[jira] [Closed] (WW-4114) request parameters can't be named 'longTypeExplain' and 'LongTypeExplain'

2013-08-28 Thread Lukasz Lenart (JIRA)

 [ 
https://issues.apache.org/jira/browse/WW-4114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart closed WW-4114.
-

   Resolution: Not A Problem
Fix Version/s: (was: 2.3.17)
 Assignee: Lukasz Lenart

> request parameters can't be named 'longTypeExplain' and 'LongTypeExplain'
> -
>
> Key: WW-4114
> URL: https://issues.apache.org/jira/browse/WW-4114
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core Actions
>Affects Versions: 2.3.14.3
>Reporter: daniel zhu
>Assignee: Lukasz Lenart
>Priority: Minor
> Attachments: 2013-06-20_1232.png
>
>


--
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