[jira] [Commented] (WW-3950) ClassFinder[convention-plugin] error in jboss

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3950:
---

Just deployed two struts2 based applications - one convention based, second xml 
based - both are working as expected. 

> ClassFinder[convention-plugin] error in jboss
> -
>
> Key: WW-3950
> URL: https://issues.apache.org/jira/browse/WW-3950
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.8
> Environment: jdk: 1.6.37
> app server; jboss-4.2.2.GA
>Reporter: lwen.ma
> Fix For: 2.3.9
>
> Attachments: sample-wars.zip
>
>
> I try to use latest version 2.3.8 and get a error when the appserver start up.
> {noformat}
> 11:19:56,099 INFO  [TomcatDeployer:127] deploy, ctxPath=/bus-two, 
> warUrl=.../tmp/deploy/tmp1603851610197210675bus-two-exp.war/
> 11:19:56,163 INFO  [AuthFilter:37] authUrl: /admin/login/login-new
> 11:19:56,164 INFO  [AuthFilter:38] excludeUris: /login/
> 11:19:56,200 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-default.xml]
> 11:19:56,236 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-plugin.xml]
> 11:19:56,247 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts.xml]
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ObjectFactory)
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.FileManagerFactory)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.TextProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.LocaleProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ActionProxyFactory)
> 11:19:56,253 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.mapper.ActionMapper)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (jakarta) for 
> (org.apache.struts2.dispatcher.multipart.MultiPartRequest)
> 11:19:56,255 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.freemarker.FreemarkerManager)
> 11:19:56,257 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.components.UrlRenderer)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.validator.ActionValidatorManager)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.ValueStackFactory)
> 11:19:56,259 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionProvider)
> 11:19:56,260 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
> 11:19:56,261 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.PatternMatcher)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.StaticContentLoader)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.UnknownHandlerManager)
> 11:19:56,263 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.util.UrlHelper)
> 11:19:56,264 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.CollectionConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.ArrayConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.DateConverter)
> 11:19:56,266 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.NumberConverter)
> 11:19:56,267 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.StringConverter)
> 11:19:56,372 ERROR [ClassFinder:38] Unable to read class 
> [com.test.admin.web.actions.base.IndexAction]
> Could not load com/test/admin/web/actions/base/IndexAction.class - [unknown 
> location]
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:722)
> at 
> com.opensymphony.xwork2.util.fi

[jira] [Commented] (WW-3925) behavior of Index action found under designated package is unclear

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3925:
---

You must change version of Struts2 in the pom.xml (in the attached example) and 
use Maven snapshot repository from ASF.

https://repository.apache.org/content/groups/snapshots/

Or you must replace all the libs, not only Struts2 by XWork, convention as well

> behavior of Index action found under designated package is unclear
> --
>
> Key: WW-3925
> URL: https://issues.apache.org/jira/browse/WW-3925
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.4
> Environment: JBoss 5.1
> Windows 7 x64
>Reporter: haruhiko nishi
>Assignee: Lukasz Lenart
> Fix For: 2.3.9
>
> Attachments: WW-3925.zip
>
>
> We have an Action class named 'Index' immediately under 
> com.example.common.action and is annotated @ParentPackage('default') which is 
> declared in package directive in struts.xml and has "/" for its namespace and 
> extends "struts-default". It also declares @Result so that it responses with 
> jsp files corresponding the string values returned by its execute() method.
> In our struts.xml, the following struts setting is configured along with 
> other necessary configurations that are needed for convention-plugin.
> 
> When accessing /my_context/none_existing_path, the request apparently hits 
> this Index class and the contents of the jsp declared in the Index's @Result 
> section gets returned.
> However, if we provide /my_context/, we receive the following error:
> HTTP Status 404-There is no Action mapped for namespace[/] and action name [] 
> associated with context path [/my_context].
> We want to know the reason why accessing /my_context/none_existing_path, 
> where none_existing_path has no matching action, can fallback to Index class, 
> but error is returned when when the URL requested is just /my_context/.
> Currently, our convention-plugin settings are declared as follows:
>  value="com.example"/>
> 
> Strangely, if we changed the value of the 
> struts.convention.package.locators.basePackage to
> com.example.common and narrowed the search scope of the aforementioned Index 
> file, requesting /my_context/ displayed the content of the jsps declared in 
> @Result section of the Index class. However, as our action classes are 
> distributed throughout the com.example.[a-z].action packages, where [a-z] 
> represents the large volume of directories we have in our package structure, 
> we cannot use this trick as a workaround. We have also tried placing 
> index.jsp at the top level of the class path, and have the index.jsp redirect 
> to /my_context/index, which worked but not what we want. Could this be a bug?
> We appreciate your responses. 
> Thank you in advance.

--
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-3950) ClassFinder[convention-plugin] error in jboss

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3950:
---

I've just tested my simple convention based application with jboss 4.2.3, jboss 
5.1 and it works as expected.

So, you say if you deploy both applications at the same time you will get an 
error? Do you use shared Struts2 libraries?

> ClassFinder[convention-plugin] error in jboss
> -
>
> Key: WW-3950
> URL: https://issues.apache.org/jira/browse/WW-3950
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.8
> Environment: jdk: 1.6.37
> app server; jboss-4.2.2.GA
>Reporter: lwen.ma
> Fix For: 2.3.9
>
> Attachments: sample-wars.zip
>
>
> I try to use latest version 2.3.8 and get a error when the appserver start up.
> {noformat}
> 11:19:56,099 INFO  [TomcatDeployer:127] deploy, ctxPath=/bus-two, 
> warUrl=.../tmp/deploy/tmp1603851610197210675bus-two-exp.war/
> 11:19:56,163 INFO  [AuthFilter:37] authUrl: /admin/login/login-new
> 11:19:56,164 INFO  [AuthFilter:38] excludeUris: /login/
> 11:19:56,200 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-default.xml]
> 11:19:56,236 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-plugin.xml]
> 11:19:56,247 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts.xml]
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ObjectFactory)
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.FileManagerFactory)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.TextProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.LocaleProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ActionProxyFactory)
> 11:19:56,253 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.mapper.ActionMapper)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (jakarta) for 
> (org.apache.struts2.dispatcher.multipart.MultiPartRequest)
> 11:19:56,255 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.freemarker.FreemarkerManager)
> 11:19:56,257 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.components.UrlRenderer)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.validator.ActionValidatorManager)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.ValueStackFactory)
> 11:19:56,259 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionProvider)
> 11:19:56,260 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
> 11:19:56,261 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.PatternMatcher)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.StaticContentLoader)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.UnknownHandlerManager)
> 11:19:56,263 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.util.UrlHelper)
> 11:19:56,264 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.CollectionConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.ArrayConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.DateConverter)
> 11:19:56,266 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.NumberConverter)
> 11:19:56,267 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.StringConverter)
> 11:19:56,372 ERROR [ClassFinder:38] Unable to read class 
> [com.test.admin.web.actions.base.IndexAction]
> Could not load com/test/admin/web/actions/base/IndexAction.class - [unknown 
> location]
> at 
> com.opensymphony

[jira] [Commented] (WW-3950) ClassFinder[convention-plugin] error in jboss

2012-12-18 Thread lwen.ma (JIRA)

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

lwen.ma commented on WW-3950:
-

1. Is it just simple convention based application? 
 yes.
"admin.war" is convention based that use "@Action" annotation and package scan;
"bus-two.war" a is normal application that use xml to config actions.
if you just deploy any one war of them to appserver, no error ocure will occur, 
but if deploy all of them to appserver, an error appear.

2.Or could you prepare simple Maven based projects?
I'm not familiar with Maven, I'll give it if you very need it.

> ClassFinder[convention-plugin] error in jboss
> -
>
> Key: WW-3950
> URL: https://issues.apache.org/jira/browse/WW-3950
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.8
> Environment: jdk: 1.6.37
> app server; jboss-4.2.2.GA
>Reporter: lwen.ma
> Fix For: 2.3.9
>
> Attachments: sample-wars.zip
>
>
> I try to use latest version 2.3.8 and get a error when the appserver start up.
> {noformat}
> 11:19:56,099 INFO  [TomcatDeployer:127] deploy, ctxPath=/bus-two, 
> warUrl=.../tmp/deploy/tmp1603851610197210675bus-two-exp.war/
> 11:19:56,163 INFO  [AuthFilter:37] authUrl: /admin/login/login-new
> 11:19:56,164 INFO  [AuthFilter:38] excludeUris: /login/
> 11:19:56,200 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-default.xml]
> 11:19:56,236 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-plugin.xml]
> 11:19:56,247 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts.xml]
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ObjectFactory)
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.FileManagerFactory)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.TextProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.LocaleProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ActionProxyFactory)
> 11:19:56,253 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.mapper.ActionMapper)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (jakarta) for 
> (org.apache.struts2.dispatcher.multipart.MultiPartRequest)
> 11:19:56,255 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.freemarker.FreemarkerManager)
> 11:19:56,257 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.components.UrlRenderer)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.validator.ActionValidatorManager)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.ValueStackFactory)
> 11:19:56,259 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionProvider)
> 11:19:56,260 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
> 11:19:56,261 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.PatternMatcher)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.StaticContentLoader)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.UnknownHandlerManager)
> 11:19:56,263 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.util.UrlHelper)
> 11:19:56,264 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.CollectionConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.ArrayConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.DateConverter)
> 11:19:56,266 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.NumberConverter)
> 11:19:56,267 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.StringConverter)
> 11:19:56,372 

[jira] [Commented] (WW-3950) ClassFinder[convention-plugin] error in jboss

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3950:
---

Is it just simple convention based application? Or could you prepare simple 
Maven based projects?

> ClassFinder[convention-plugin] error in jboss
> -
>
> Key: WW-3950
> URL: https://issues.apache.org/jira/browse/WW-3950
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.8
> Environment: jdk: 1.6.37
> app server; jboss-4.2.2.GA
>Reporter: lwen.ma
> Fix For: 2.3.9
>
> Attachments: sample-wars.zip
>
>
> I try to use latest version 2.3.8 and get a error when the appserver start up.
> {noformat}
> 11:19:56,099 INFO  [TomcatDeployer:127] deploy, ctxPath=/bus-two, 
> warUrl=.../tmp/deploy/tmp1603851610197210675bus-two-exp.war/
> 11:19:56,163 INFO  [AuthFilter:37] authUrl: /admin/login/login-new
> 11:19:56,164 INFO  [AuthFilter:38] excludeUris: /login/
> 11:19:56,200 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-default.xml]
> 11:19:56,236 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-plugin.xml]
> 11:19:56,247 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts.xml]
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ObjectFactory)
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.FileManagerFactory)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.TextProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.LocaleProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ActionProxyFactory)
> 11:19:56,253 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.mapper.ActionMapper)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (jakarta) for 
> (org.apache.struts2.dispatcher.multipart.MultiPartRequest)
> 11:19:56,255 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.freemarker.FreemarkerManager)
> 11:19:56,257 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.components.UrlRenderer)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.validator.ActionValidatorManager)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.ValueStackFactory)
> 11:19:56,259 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionProvider)
> 11:19:56,260 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
> 11:19:56,261 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.PatternMatcher)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.StaticContentLoader)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.UnknownHandlerManager)
> 11:19:56,263 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.util.UrlHelper)
> 11:19:56,264 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.CollectionConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.ArrayConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.DateConverter)
> 11:19:56,266 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.NumberConverter)
> 11:19:56,267 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.StringConverter)
> 11:19:56,372 ERROR [ClassFinder:38] Unable to read class 
> [com.test.admin.web.actions.base.IndexAction]
> Could not load com/test/admin/web/actions/base/IndexAction.class - [unknown 
> location]
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:722)
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.(Cla

[jira] [Commented] (WW-3950) ClassFinder[convention-plugin] error in jboss

2012-12-18 Thread lwen.ma (JIRA)

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

lwen.ma commented on WW-3950:
-

It work well at version 2.3.7.

> ClassFinder[convention-plugin] error in jboss
> -
>
> Key: WW-3950
> URL: https://issues.apache.org/jira/browse/WW-3950
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.8
> Environment: jdk: 1.6.37
> app server; jboss-4.2.2.GA
>Reporter: lwen.ma
> Fix For: 2.3.9
>
> Attachments: sample-wars.zip
>
>
> I try to use latest version 2.3.8 and get a error when the appserver start up.
> {noformat}
> 11:19:56,099 INFO  [TomcatDeployer:127] deploy, ctxPath=/bus-two, 
> warUrl=.../tmp/deploy/tmp1603851610197210675bus-two-exp.war/
> 11:19:56,163 INFO  [AuthFilter:37] authUrl: /admin/login/login-new
> 11:19:56,164 INFO  [AuthFilter:38] excludeUris: /login/
> 11:19:56,200 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-default.xml]
> 11:19:56,236 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-plugin.xml]
> 11:19:56,247 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts.xml]
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ObjectFactory)
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.FileManagerFactory)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.TextProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.LocaleProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ActionProxyFactory)
> 11:19:56,253 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.mapper.ActionMapper)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (jakarta) for 
> (org.apache.struts2.dispatcher.multipart.MultiPartRequest)
> 11:19:56,255 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.freemarker.FreemarkerManager)
> 11:19:56,257 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.components.UrlRenderer)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.validator.ActionValidatorManager)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.ValueStackFactory)
> 11:19:56,259 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionProvider)
> 11:19:56,260 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
> 11:19:56,261 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.PatternMatcher)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.StaticContentLoader)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.UnknownHandlerManager)
> 11:19:56,263 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.util.UrlHelper)
> 11:19:56,264 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.CollectionConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.ArrayConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.DateConverter)
> 11:19:56,266 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.NumberConverter)
> 11:19:56,267 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.StringConverter)
> 11:19:56,372 ERROR [ClassFinder:38] Unable to read class 
> [com.test.admin.web.actions.base.IndexAction]
> Could not load com/test/admin/web/actions/base/IndexAction.class - [unknown 
> location]
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:722)
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.(ClassFinder.java:112)
> at 
> org.apache.struts2.convention.PackageBasedAct

[jira] [Commented] (WW-3950) ClassFinder[convention-plugin] error in jboss

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3950:
---

Did it work with previous versions, 2.3.7, 2.3.4.1?

> ClassFinder[convention-plugin] error in jboss
> -
>
> Key: WW-3950
> URL: https://issues.apache.org/jira/browse/WW-3950
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.8
> Environment: jdk: 1.6.37
> app server; jboss-4.2.2.GA
>Reporter: lwen.ma
> Fix For: 2.3.9
>
> Attachments: sample-wars.zip
>
>
> I try to use latest version 2.3.8 and get a error when the appserver start up.
> {noformat}
> 11:19:56,099 INFO  [TomcatDeployer:127] deploy, ctxPath=/bus-two, 
> warUrl=.../tmp/deploy/tmp1603851610197210675bus-two-exp.war/
> 11:19:56,163 INFO  [AuthFilter:37] authUrl: /admin/login/login-new
> 11:19:56,164 INFO  [AuthFilter:38] excludeUris: /login/
> 11:19:56,200 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-default.xml]
> 11:19:56,236 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-plugin.xml]
> 11:19:56,247 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts.xml]
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ObjectFactory)
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.FileManagerFactory)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.TextProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.LocaleProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ActionProxyFactory)
> 11:19:56,253 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.mapper.ActionMapper)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (jakarta) for 
> (org.apache.struts2.dispatcher.multipart.MultiPartRequest)
> 11:19:56,255 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.freemarker.FreemarkerManager)
> 11:19:56,257 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.components.UrlRenderer)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.validator.ActionValidatorManager)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.ValueStackFactory)
> 11:19:56,259 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionProvider)
> 11:19:56,260 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
> 11:19:56,261 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.PatternMatcher)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.StaticContentLoader)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.UnknownHandlerManager)
> 11:19:56,263 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.util.UrlHelper)
> 11:19:56,264 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.CollectionConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.ArrayConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.DateConverter)
> 11:19:56,266 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.NumberConverter)
> 11:19:56,267 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.StringConverter)
> 11:19:56,372 ERROR [ClassFinder:38] Unable to read class 
> [com.test.admin.web.actions.base.IndexAction]
> Could not load com/test/admin/web/actions/base/IndexAction.class - [unknown 
> location]
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:722)
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.(ClassFinder.java:112)
> at 
> org.apache.s

[jira] [Updated] (WW-3950) ClassFinder[convention-plugin] error in jboss

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart updated WW-3950:
--

Fix Version/s: 2.3.9

> ClassFinder[convention-plugin] error in jboss
> -
>
> Key: WW-3950
> URL: https://issues.apache.org/jira/browse/WW-3950
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.8
> Environment: jdk: 1.6.37
> app server; jboss-4.2.2.GA
>Reporter: lwen.ma
> Fix For: 2.3.9
>
> Attachments: sample-wars.zip
>
>
> I try to use latest version 2.3.8 and get a error when the appserver start up.
> {noformat}
> 11:19:56,099 INFO  [TomcatDeployer:127] deploy, ctxPath=/bus-two, 
> warUrl=.../tmp/deploy/tmp1603851610197210675bus-two-exp.war/
> 11:19:56,163 INFO  [AuthFilter:37] authUrl: /admin/login/login-new
> 11:19:56,164 INFO  [AuthFilter:38] excludeUris: /login/
> 11:19:56,200 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-default.xml]
> 11:19:56,236 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-plugin.xml]
> 11:19:56,247 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts.xml]
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ObjectFactory)
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.FileManagerFactory)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.TextProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.LocaleProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ActionProxyFactory)
> 11:19:56,253 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.mapper.ActionMapper)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (jakarta) for 
> (org.apache.struts2.dispatcher.multipart.MultiPartRequest)
> 11:19:56,255 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.freemarker.FreemarkerManager)
> 11:19:56,257 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.components.UrlRenderer)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.validator.ActionValidatorManager)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.ValueStackFactory)
> 11:19:56,259 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionProvider)
> 11:19:56,260 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
> 11:19:56,261 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.PatternMatcher)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.StaticContentLoader)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.UnknownHandlerManager)
> 11:19:56,263 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.util.UrlHelper)
> 11:19:56,264 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.CollectionConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.ArrayConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.DateConverter)
> 11:19:56,266 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.NumberConverter)
> 11:19:56,267 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.StringConverter)
> 11:19:56,372 ERROR [ClassFinder:38] Unable to read class 
> [com.test.admin.web.actions.base.IndexAction]
> Could not load com/test/admin/web/actions/base/IndexAction.class - [unknown 
> location]
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:722)
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.(ClassFinder.java:112)
> at 
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.ja

[jira] [Updated] (WW-3950) ClassFinder[convention-plugin] error in jboss

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart updated WW-3950:
--

Description: 
I try to use latest version 2.3.8 and get a error when the appserver start up.
{noformat}
11:19:56,099 INFO  [TomcatDeployer:127] deploy, ctxPath=/bus-two, 
warUrl=.../tmp/deploy/tmp1603851610197210675bus-two-exp.war/
11:19:56,163 INFO  [AuthFilter:37] authUrl: /admin/login/login-new
11:19:56,164 INFO  [AuthFilter:38] excludeUris: /login/
11:19:56,200 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
[struts-default.xml]
11:19:56,236 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
[struts-plugin.xml]
11:19:56,247 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
[struts.xml]
11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.ObjectFactory)
11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.FileManagerFactory)
11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.XWorkConverter)
11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.TextProvider)
11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.LocaleProvider)
11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.ActionProxyFactory)
11:19:56,253 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(org.apache.struts2.dispatcher.mapper.ActionMapper)
11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (jakarta) for 
(org.apache.struts2.dispatcher.multipart.MultiPartRequest)
11:19:56,255 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(org.apache.struts2.views.freemarker.FreemarkerManager)
11:19:56,257 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(org.apache.struts2.components.UrlRenderer)
11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.validator.ActionValidatorManager)
11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.util.ValueStackFactory)
11:19:56,259 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.util.reflection.ReflectionProvider)
11:19:56,260 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
11:19:56,261 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.util.PatternMatcher)
11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(org.apache.struts2.dispatcher.StaticContentLoader)
11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.UnknownHandlerManager)
11:19:56,263 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(org.apache.struts2.views.util.UrlHelper)
11:19:56,264 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.CollectionConverter)
11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.ArrayConverter)
11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.DateConverter)
11:19:56,266 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.NumberConverter)
11:19:56,267 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.StringConverter)
11:19:56,372 ERROR [ClassFinder:38] Unable to read class 
[com.test.admin.web.actions.base.IndexAction]
Could not load com/test/admin/web/actions/base/IndexAction.class - [unknown 
location]
at 
com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:722)
at 
com.opensymphony.xwork2.util.finder.ClassFinder.(ClassFinder.java:112)
at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:390)
at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:347)
at 
org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
at 
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:249)
at 
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
at 
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:429)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatche

[jira] [Updated] (WW-3950) ClassFinder[convention-plugin] error in jboss

2012-12-18 Thread lwen.ma (JIRA)

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

lwen.ma updated WW-3950:


Attachment: sample-wars.zip

I create two sample wars to reproduce this issue, and source file is also 
included.
struts2-json-plugin-2.3.8.jar, struts2-convention-plugin-2.3.8.jar lib are 
necessary

> ClassFinder[convention-plugin] error in jboss
> -
>
> Key: WW-3950
> URL: https://issues.apache.org/jira/browse/WW-3950
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.8
> Environment: jdk: 1.6.37
> app server; jboss-4.2.2.GA
>Reporter: lwen.ma
> Attachments: sample-wars.zip
>
>
> I try to use latest version 2.3.8 and get a error when the appserver start up.
> 11:19:56,099 INFO  [TomcatDeployer:127] deploy, ctxPath=/bus-two, 
> warUrl=.../tmp/deploy/tmp1603851610197210675bus-two-exp.war/
> 11:19:56,163 INFO  [AuthFilter:37] authUrl: /admin/login/login-new
> 11:19:56,164 INFO  [AuthFilter:38] excludeUris: /login/
> 11:19:56,200 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-default.xml]
> 11:19:56,236 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts-plugin.xml]
> 11:19:56,247 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
> [struts.xml]
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ObjectFactory)
> 11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.FileManagerFactory)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
> 11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.TextProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.LocaleProvider)
> 11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.ActionProxyFactory)
> 11:19:56,253 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.mapper.ActionMapper)
> 11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (jakarta) for 
> (org.apache.struts2.dispatcher.multipart.MultiPartRequest)
> 11:19:56,255 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.freemarker.FreemarkerManager)
> 11:19:56,257 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.components.UrlRenderer)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.validator.ActionValidatorManager)
> 11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.ValueStackFactory)
> 11:19:56,259 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionProvider)
> 11:19:56,260 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
> 11:19:56,261 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.util.PatternMatcher)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.dispatcher.StaticContentLoader)
> 11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.UnknownHandlerManager)
> 11:19:56,263 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (org.apache.struts2.views.util.UrlHelper)
> 11:19:56,264 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.CollectionConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.ArrayConverter)
> 11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.DateConverter)
> 11:19:56,266 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.NumberConverter)
> 11:19:56,267 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
> (com.opensymphony.xwork2.conversion.impl.StringConverter)
> 11:19:56,372 ERROR [ClassFinder:38] Unable to read class 
> [com.test.admin.web.actions.base.IndexAction]
> Could not load com/test/admin/web/actions/base/IndexAction.class - [unknown 
> location]
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:722)
> at 
> com.opensymphony.xwork2.util.finder.ClassFinder.(ClassFinder

[jira] [Created] (WW-3950) ClassFinder[convention-plugin] error in jboss

2012-12-18 Thread lwen.ma (JIRA)
lwen.ma created WW-3950:
---

 Summary: ClassFinder[convention-plugin] error in jboss
 Key: WW-3950
 URL: https://issues.apache.org/jira/browse/WW-3950
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Convention
Affects Versions: 2.3.8
 Environment: jdk: 1.6.37
app server; jboss-4.2.2.GA
Reporter: lwen.ma


I try to use latest version 2.3.8 and get a error when the appserver start up.
11:19:56,099 INFO  [TomcatDeployer:127] deploy, ctxPath=/bus-two, 
warUrl=.../tmp/deploy/tmp1603851610197210675bus-two-exp.war/
11:19:56,163 INFO  [AuthFilter:37] authUrl: /admin/login/login-new
11:19:56,164 INFO  [AuthFilter:38] excludeUris: /login/
11:19:56,200 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
[struts-default.xml]
11:19:56,236 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
[struts-plugin.xml]
11:19:56,247 INFO  [XmlConfigurationProvider:42] Parsing configuration file 
[struts.xml]
11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.ObjectFactory)
11:19:56,250 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.FileManagerFactory)
11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.XWorkConverter)
11:19:56,251 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.TextProvider)
11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.LocaleProvider)
11:19:56,252 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.ActionProxyFactory)
11:19:56,253 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(org.apache.struts2.dispatcher.mapper.ActionMapper)
11:19:56,254 INFO  [BeanSelectionProvider:42] Choosing bean (jakarta) for 
(org.apache.struts2.dispatcher.multipart.MultiPartRequest)
11:19:56,255 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(org.apache.struts2.views.freemarker.FreemarkerManager)
11:19:56,257 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(org.apache.struts2.components.UrlRenderer)
11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.validator.ActionValidatorManager)
11:19:56,258 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.util.ValueStackFactory)
11:19:56,259 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.util.reflection.ReflectionProvider)
11:19:56,260 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
11:19:56,261 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.util.PatternMatcher)
11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(org.apache.struts2.dispatcher.StaticContentLoader)
11:19:56,262 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.UnknownHandlerManager)
11:19:56,263 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(org.apache.struts2.views.util.UrlHelper)
11:19:56,264 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.CollectionConverter)
11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.ArrayConverter)
11:19:56,265 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.DateConverter)
11:19:56,266 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.NumberConverter)
11:19:56,267 INFO  [BeanSelectionProvider:42] Choosing bean (struts) for 
(com.opensymphony.xwork2.conversion.impl.StringConverter)
11:19:56,372 ERROR [ClassFinder:38] Unable to read class 
[com.test.admin.web.actions.base.IndexAction]
Could not load com/test/admin/web/actions/base/IndexAction.class - [unknown 
location]
at 
com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:722)
at 
com.opensymphony.xwork2.util.finder.ClassFinder.(ClassFinder.java:112)
at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:390)
at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:347)
at 
org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
at 
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:249)
at 
com.opensymphony.xwork2.config.Configurati

[jira] [Commented] (WW-3925) behavior of Index action found under designated package is unclear

2012-12-18 Thread haruhiko nishi (JIRA)

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

haruhiko nishi commented on WW-3925:


Is this a drop in replacement for struts 2.3.4 ?  Because we get the following 
error and context cannot be started.


2012-12-19 10:14:13,312 INFO  [STDOUT] (main) 2012/12/1910:14:13.226
 ERROR   com.opensymphony.xwork2.util.logging.commons.CommonsLogger  error  
  Dispatcher initialization failedUnable to load configuration. - bean - 
vfszip:/usr/local/jboss/jboss-as/server/W 
EBAP01/deploy/xx.war/WEB-INF/lib/struts2-convention-plugin-2.3.9-SNAPSHOT
 .jar/struts-plugin.xml:32:155



at 
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration( 
ConfigurationManager.java:69)
at 
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Di 
spatcher.java:390)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)
at 
org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOp 
erations.java:74)
at 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter 
.init(StrutsPrepareAndExecuteFilter.java:51)
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio 
nFilterConfig.java:234)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica 
tionFilterConfig.java:332)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFi 
lterConfig.java:90)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext. java:3783)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4 409)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy 
Internal(TomcatDeployment.java:313)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy 
(TomcatDeployment.java:145)
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploy 
ment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:122)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces 
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch 
er.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java :206)
at $Proxy41.start(Unknown Source)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installActio 
n(StartStopLifecycleAction.java:42)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installActio 
n(StartStopLifecycleAction.java:37)
at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim 
pleInstallAction(SimpleControllerContextAction.java:62)
at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.ins 
tall(AccessControllerContextAction.java:71)
at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install 
(AbstractControllerContextActions.java:51)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra 
ctControllerContext.java:348)
at 
org.jboss.system.microcontainer.ServiceControllerContext.install(Serv 
iceControllerContext.java:297)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractContr 
oller.java:1652)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(Abstra 
ctController.java:938)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr 
actController.java:1082)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr 
actController.java:988)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractContro 
ller.java:826)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractContro 
ller.java:556)
at 
org.jboss.system.ServiceController.doChange(ServiceController.java:68 8)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java :163)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav a:99)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDep

[jira] [Commented] (WW-3906) All HttpHeaderResult parameters should be parsed for OGNL expressions

2012-12-18 Thread Hudson (JIRA)

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

Hudson commented on WW-3906:


Integrated in Struts2-JDK6 #589 (See 
[https://builds.apache.org/job/Struts2-JDK6/589/])
WW-3906 updates docs about parsing parameters (Revision 1423626)
WW-3906 adds support to parse all parameters of HttpHeaderResult (Revision 
1423621)

 Result = UNSTABLE
lukaszlenart : 
Files : 
* 
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/HttpHeaderResult.java

lukaszlenart : 
Files : 
* 
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/HttpHeaderResult.java
* 
/struts/struts2/trunk/core/src/test/java/org/apache/struts2/dispatcher/HttpHeaderResultTest.java


> All HttpHeaderResult parameters should be parsed for OGNL expressions
> -
>
> Key: WW-3906
> URL: https://issues.apache.org/jira/browse/WW-3906
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Actions, Plugin - JSON
>Affects Versions: 2.3.4
>Reporter: Jose L Martinez-Avial
>Assignee: Lukasz Lenart
>  Labels: Ognl, Result
> Fix For: 2.3.9
>
> Attachments: patch-3906.patch
>
>
> Currently only some parameters for ResultType are parsed for OGNL expression. 
> For example, HttpHeaderResult implements that option only for errorMessage 
> and Headers, but not for errorCode or status. So it is not possible to set 
> dinamically the error code, it needs to be hardcoded in the XML configuration 
> file. The same issue happens with the JSONResult. That should be changed in 
> order to support OGNL expression for parameter values where it is possible.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread Hudson (JIRA)

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

Hudson commented on WW-3929:


Integrated in Struts2-JDK6 #589 (See 
[https://builds.apache.org/job/Struts2-JDK6/589/])
WW-3929 adds new errorPosition attribute (Revision 1423607)

 Result = UNSTABLE
lukaszlenart : 
Files : 
* 
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
* 
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java
* 
/struts/struts2/trunk/core/src/main/resources/template/css_xhtml/controlfooter.ftl
* 
/struts/struts2/trunk/core/src/main/resources/template/css_xhtml/controlheader-core.ftl
* /struts/struts2/trunk/core/src/main/resources/template/xhtml/controlfooter.ftl
* 
/struts/struts2/trunk/core/src/main/resources/template/xhtml/controlheader-core.ftl
* /struts/struts2/trunk/core/src/site/resources/tags/a.html
* /struts/struts2/trunk/core/src/site/resources/tags/actionerror.html
* /struts/struts2/trunk/core/src/site/resources/tags/actionmessage.html
* /struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html
* /struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html
* /struts/struts2/trunk/core/src/site/resources/tags/ajax/datetimepicker.html
* /struts/struts2/trunk/core/src/site/resources/tags/ajax/div.html
* /struts/struts2/trunk/core/src/site/resources/tags/ajax/submit.html
* /struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html
* /struts/struts2/trunk/core/src/site/resources/tags/ajax/textarea.html
* /struts/struts2/trunk/core/src/site/resources/tags/ajax/tree.html
* /struts/struts2/trunk/core/src/site/resources/tags/ajax/treenode.html
* /struts/struts2/trunk/core/src/site/resources/tags/checkbox.html
* /struts/struts2/trunk/core/src/site/resources/tags/checkboxlist.html
* /struts/struts2/trunk/core/src/site/resources/tags/combobox.html
* /struts/struts2/trunk/core/src/site/resources/tags/component.html
* /struts/struts2/trunk/core/src/site/resources/tags/debug.html
* /struts/struts2/trunk/core/src/site/resources/tags/div.html
* /struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html
* /struts/struts2/trunk/core/src/site/resources/tags/fielderror.html
* /struts/struts2/trunk/core/src/site/resources/tags/file.html
* /struts/struts2/trunk/core/src/site/resources/tags/form.html
* /struts/struts2/trunk/core/src/site/resources/tags/head.html
* /struts/struts2/trunk/core/src/site/resources/tags/hidden.html
* /struts/struts2/trunk/core/src/site/resources/tags/inputtransferselect.html
* /struts/struts2/trunk/core/src/site/resources/tags/label.html
* /struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html
* /struts/struts2/trunk/core/src/site/resources/tags/password.html
* /struts/struts2/trunk/core/src/site/resources/tags/radio.html
* /struts/struts2/trunk/core/src/site/resources/tags/reset.html
* /struts/struts2/trunk/core/src/site/resources/tags/select.html
* /struts/struts2/trunk/core/src/site/resources/tags/submit.html
* /struts/struts2/trunk/core/src/site/resources/tags/textarea.html
* /struts/struts2/trunk/core/src/site/resources/tags/textfield.html
* /struts/struts2/trunk/core/src/site/resources/tags/token.html
* /struts/struts2/trunk/core/src/site/resources/tags/updownselect.html
* 
/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/TextfieldTest.java
* 
/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-10.txt
* 
/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-11.txt
* 
/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-8.txt
* 
/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-9.txt


> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3947) Portlet Archetype doesn't work

2012-12-18 Thread Hudson (JIRA)

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

Hudson commented on WW-3947:


Integrated in Struts2-JDK6 #589 (See 
[https://builds.apache.org/job/Struts2-JDK6/589/])
WW-3947 improves Portlet Archetype (Revision 1423630)

 Result = UNSTABLE
lukaszlenart : 
Files : 
* /struts/struts2/trunk/archetypes/struts2-archetype-portlet/README.txt
* 
/struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/META-INF/maven/archetype-metadata.xml
* 
/struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml
* 
/struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/src/main/java/HelloAction.java
* 
/struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/src/main/java/UpdateNameAction.java
* 
/struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/src/main/resources/struts.xml
* 
/struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml
* 
/struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
* 
/struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/src/test/java/JettyPlutoLauncher.java


> Portlet Archetype doesn't work
> --
>
> Key: WW-3947
> URL: https://issues.apache.org/jira/browse/WW-3947
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Portlet
>Affects Versions: 2.3.1, 2.3.1.2, 2.3.3, 2.3.4.1, 2.3.7
>Reporter: Maxime Gréau
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: WW-3947-archetype-portlet.txt, WW-3947-Pluto-Admin.png, 
> WW-3947-Pluto-HelloPortlet.png
>
>
> The package name value is not replaced in the Java classes and XML files and 
> the generated project is not ready for use without a manual update.

--
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-3755) make ParametersInterceptor.acceptedParamNames public and static

2012-12-18 Thread Hudson (JIRA)

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

Hudson commented on WW-3755:


Integrated in Struts2-JDK6 #589 (See 
[https://builds.apache.org/job/Struts2-JDK6/589/])
WW-3755 extracts acceptedParamNames to constant (Revision 1423615)

 Result = UNSTABLE
lukaszlenart : 
Files : 
* 
/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java


> make ParametersInterceptor.acceptedParamNames public and static
> ---
>
> Key: WW-3755
> URL: https://issues.apache.org/jira/browse/WW-3755
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Interceptors
>Reporter: zhouyanming
>Assignee: Lukasz Lenart
>Priority: Trivial
> Fix For: 2.3.9
>
> Attachments: patch.txt, WW-3755.patch
>
>
> let it can be referenced by other classes

--
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-3872) Add Portlet / Tiles example apps

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3872:
---

[~mgreau] any update on that? Is it related to WW-3947?

> Add Portlet / Tiles example apps 
> -
>
> Key: WW-3872
> URL: https://issues.apache.org/jira/browse/WW-3872
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Example Applications
>Affects Versions: 2.3.4.1
> Environment: GateIn 3.3
>Reporter: Maxime Gréau
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: StrutsPortletTilesPluginAppExample.patch, 
> WW3872-form.png, WW3872-formresult.png, WW3872-home.png, WW3872-index.png
>
>
> Update the struts2-portlet project in order to add Tiles example in 
> StrutsPortlet2 application.

--
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] [Resolved] (WW-3947) Portlet Archetype doesn't work

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart resolved WW-3947.
---

Resolution: Fixed
  Assignee: Lukasz Lenart

Patch applied, thanks!

> Portlet Archetype doesn't work
> --
>
> Key: WW-3947
> URL: https://issues.apache.org/jira/browse/WW-3947
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Portlet
>Affects Versions: 2.3.1, 2.3.1.2, 2.3.3, 2.3.4.1, 2.3.7
>Reporter: Maxime Gréau
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: WW-3947-archetype-portlet.txt, WW-3947-Pluto-Admin.png, 
> WW-3947-Pluto-HelloPortlet.png
>
>
> The package name value is not replaced in the Java classes and XML files and 
> the generated project is not ready for use without a manual update.

--
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] [Resolved] (WW-3906) All HttpHeaderResult parameters should be parsed for OGNL expressions

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart resolved WW-3906.
---

Resolution: Fixed
  Assignee: Lukasz Lenart

Patch applied, thanks!

> All HttpHeaderResult parameters should be parsed for OGNL expressions
> -
>
> Key: WW-3906
> URL: https://issues.apache.org/jira/browse/WW-3906
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Actions, Plugin - JSON
>Affects Versions: 2.3.4
>Reporter: Jose L Martinez-Avial
>Assignee: Lukasz Lenart
>  Labels: Ognl, Result
> Fix For: 2.3.9
>
> Attachments: patch-3906.patch
>
>
> Currently only some parameters for ResultType are parsed for OGNL expression. 
> For example, HttpHeaderResult implements that option only for errorMessage 
> and Headers, but not for errorCode or status. So it is not possible to set 
> dinamically the error code, it needs to be hardcoded in the XML configuration 
> file. The same issue happens with the JSONResult. That should be changed in 
> order to support OGNL expression for parameter values where it is possible.

--
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-3906) All HttpHeaderResult parameters should be parsed for OGNL expressions

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart updated WW-3906:
--

Summary: All HttpHeaderResult parameters should be parsed for OGNL 
expressions  (was: All resultype parameters should be parsed for OGNL 
expressions)

> All HttpHeaderResult parameters should be parsed for OGNL expressions
> -
>
> Key: WW-3906
> URL: https://issues.apache.org/jira/browse/WW-3906
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Actions, Plugin - JSON
>Affects Versions: 2.3.4
>Reporter: Jose L Martinez-Avial
>  Labels: Ognl, Result
> Fix For: 2.3.9
>
> Attachments: patch-3906.patch
>
>
> Currently only some parameters for ResultType are parsed for OGNL expression. 
> For example, HttpHeaderResult implements that option only for errorMessage 
> and Headers, but not for errorCode or status. So it is not possible to set 
> dinamically the error code, it needs to be hardcoded in the XML configuration 
> file. The same issue happens with the JSONResult. That should be changed in 
> order to support OGNL expression for parameter values where it is possible.

--
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] [Resolved] (WW-3755) make ParametersInterceptor.acceptedParamNames public and static

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart resolved WW-3755.
---

Resolution: Fixed
  Assignee: Lukasz Lenart

Extracted acceptedParamNames to constant so it can be used in any other place

> make ParametersInterceptor.acceptedParamNames public and static
> ---
>
> Key: WW-3755
> URL: https://issues.apache.org/jira/browse/WW-3755
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Interceptors
>Reporter: zhouyanming
>Assignee: Lukasz Lenart
>Priority: Trivial
> Fix For: 2.3.9
>
> Attachments: patch.txt, WW-3755.patch
>
>
> let it can be referenced by other classes

--
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-3755) make ParametersInterceptor.acceptedParamNames public and static

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart updated WW-3755:
--

Priority: Trivial  (was: Major)

> make ParametersInterceptor.acceptedParamNames public and static
> ---
>
> Key: WW-3755
> URL: https://issues.apache.org/jira/browse/WW-3755
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Interceptors
>Reporter: zhouyanming
>Priority: Trivial
> Fix For: 2.3.9
>
> Attachments: patch.txt, WW-3755.patch
>
>
> let it can be referenced by other classes

--
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-3755) make ParametersInterceptor.acceptedParamNames public and static

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3755:
---

[~quaff] yes, as Maurizio mentioned is needed to limits parameter names.

> make ParametersInterceptor.acceptedParamNames public and static
> ---
>
> Key: WW-3755
> URL: https://issues.apache.org/jira/browse/WW-3755
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Interceptors
>Reporter: zhouyanming
> Fix For: 2.3.9
>
> Attachments: patch.txt, WW-3755.patch
>
>
> let it can be referenced by other classes

--
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-3925) behavior of Index action found under designated package is unclear

2012-12-18 Thread Hudson (JIRA)

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

Hudson commented on WW-3925:


Integrated in Struts2-JDK6 #588 (See 
[https://builds.apache.org/job/Struts2-JDK6/588/])
WW-3925 adds better support for looking index action when user hits default 
namespace (Revision 1423571)

 Result = SUCCESS
lukaszlenart : 
Files : 
* 
/struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionUnknownHandler.java
* 
/struts/struts2/trunk/plugins/convention/src/test/java/org/apache/struts2/convention/ConventionUnknownHandlerTest.java


> behavior of Index action found under designated package is unclear
> --
>
> Key: WW-3925
> URL: https://issues.apache.org/jira/browse/WW-3925
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.4
> Environment: JBoss 5.1
> Windows 7 x64
>Reporter: haruhiko nishi
>Assignee: Lukasz Lenart
> Fix For: 2.3.9
>
> Attachments: WW-3925.zip
>
>
> We have an Action class named 'Index' immediately under 
> com.example.common.action and is annotated @ParentPackage('default') which is 
> declared in package directive in struts.xml and has "/" for its namespace and 
> extends "struts-default". It also declares @Result so that it responses with 
> jsp files corresponding the string values returned by its execute() method.
> In our struts.xml, the following struts setting is configured along with 
> other necessary configurations that are needed for convention-plugin.
> 
> When accessing /my_context/none_existing_path, the request apparently hits 
> this Index class and the contents of the jsp declared in the Index's @Result 
> section gets returned.
> However, if we provide /my_context/, we receive the following error:
> HTTP Status 404-There is no Action mapped for namespace[/] and action name [] 
> associated with context path [/my_context].
> We want to know the reason why accessing /my_context/none_existing_path, 
> where none_existing_path has no matching action, can fallback to Index class, 
> but error is returned when when the URL requested is just /my_context/.
> Currently, our convention-plugin settings are declared as follows:
>  value="com.example"/>
> 
> Strangely, if we changed the value of the 
> struts.convention.package.locators.basePackage to
> com.example.common and narrowed the search scope of the aforementioned Index 
> file, requesting /my_context/ displayed the content of the jsps declared in 
> @Result section of the Index class. However, as our action classes are 
> distributed throughout the com.example.[a-z].action packages, where [a-z] 
> represents the large volume of directories we have in our package structure, 
> we cannot use this trick as a workaround. We have also tried placing 
> index.jsp at the top level of the class path, and have the index.jsp redirect 
> to /my_context/index, which worked but not what we want. Could this be a bug?
> We appreciate your responses. 
> Thank you in advance.

--
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-3595) Unable to evaluate Long property in redirectAction

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart updated WW-3595:
--

Priority: Trivial  (was: Major)

> Unable to evaluate Long property in redirectAction
> --
>
> Key: WW-3595
> URL: https://issues.apache.org/jira/browse/WW-3595
> Project: Struts 2
>  Issue Type: Bug
>Affects Versions: 2.1.6
>Reporter: Marwan Oweis
>Priority: Trivial
> Fix For: 2.3.x
>
>
> Passing a Long property as part of a redirect results in strange behavior.
> For example, the following URL is generated:
> https://trials-dev.nci.nih.gov/protected/family/curate/start.action?family.id=gov.nih.nci.coppa.po:po-web:war:3.4-SNAPSHOT
> instead of something like:
> https://trials-dev.nci.nih.gov/protected/family/curate/start.action?family.id=45435
> struts.xml:
>  class="gov.nih.nci.po.web.curation.CurateFamilyAction" method="{1}">
> 
>  name="success">/WEB-INF/jsp/curate/family/family.jsp
>  name="input">/WEB-INF/jsp/curate/family/family.jsp
> /protected/search/family/list.action
> 
>  class="gov.nih.nci.po.web.create.CreateFamilyAction" method="{1}">
> 
>  type="redirectAction">family/curate/start?family.id=${family.id}
>  name="input">/WEB-INF/jsp/curate/family/family.jsp
> 
> Where, Family.java:
> public class Family  {
> private Long id;
> ...
> }

--
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-3595) Unable to evaluate Long property in redirectAction

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart updated WW-3595:
--

Fix Version/s: (was: 2.3.9)
   2.3.x

> Unable to evaluate Long property in redirectAction
> --
>
> Key: WW-3595
> URL: https://issues.apache.org/jira/browse/WW-3595
> Project: Struts 2
>  Issue Type: Bug
>Affects Versions: 2.1.6
>Reporter: Marwan Oweis
> Fix For: 2.3.x
>
>
> Passing a Long property as part of a redirect results in strange behavior.
> For example, the following URL is generated:
> https://trials-dev.nci.nih.gov/protected/family/curate/start.action?family.id=gov.nih.nci.coppa.po:po-web:war:3.4-SNAPSHOT
> instead of something like:
> https://trials-dev.nci.nih.gov/protected/family/curate/start.action?family.id=45435
> struts.xml:
>  class="gov.nih.nci.po.web.curation.CurateFamilyAction" method="{1}">
> 
>  name="success">/WEB-INF/jsp/curate/family/family.jsp
>  name="input">/WEB-INF/jsp/curate/family/family.jsp
> /protected/search/family/list.action
> 
>  class="gov.nih.nci.po.web.create.CreateFamilyAction" method="{1}">
> 
>  type="redirectAction">family/curate/start?family.id=${family.id}
>  name="input">/WEB-INF/jsp/curate/family/family.jsp
> 
> Where, Family.java:
> public class Family  {
> private Long id;
> ...
> }

--
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] [Comment Edited] (WW-3595) Unable to evaluate Long property in redirectAction

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart edited comment on WW-3595 at 12/18/12 8:02 PM:
-

Looks like you're using Maven to build your project and during processing 
resources, Maven is replacing $\{family.id} with details of the artifact. 
Please check your Maven configuration or even better, check how struts.xml 
looks like in packed war archive (extract it and check).

  was (Author: lukaszlenart):
Looks like you're using Maven to build your project and during processing 
resources, Maven is replacing ${family.id} with details of the artifact. Please 
check your Maven configuration or even better, check how struts.xml looks like 
in packed war archive (extract it and check).
  
> Unable to evaluate Long property in redirectAction
> --
>
> Key: WW-3595
> URL: https://issues.apache.org/jira/browse/WW-3595
> Project: Struts 2
>  Issue Type: Bug
>Affects Versions: 2.1.6
>Reporter: Marwan Oweis
> Fix For: 2.3.9
>
>
> Passing a Long property as part of a redirect results in strange behavior.
> For example, the following URL is generated:
> https://trials-dev.nci.nih.gov/protected/family/curate/start.action?family.id=gov.nih.nci.coppa.po:po-web:war:3.4-SNAPSHOT
> instead of something like:
> https://trials-dev.nci.nih.gov/protected/family/curate/start.action?family.id=45435
> struts.xml:
>  class="gov.nih.nci.po.web.curation.CurateFamilyAction" method="{1}">
> 
>  name="success">/WEB-INF/jsp/curate/family/family.jsp
>  name="input">/WEB-INF/jsp/curate/family/family.jsp
> /protected/search/family/list.action
> 
>  class="gov.nih.nci.po.web.create.CreateFamilyAction" method="{1}">
> 
>  type="redirectAction">family/curate/start?family.id=${family.id}
>  name="input">/WEB-INF/jsp/curate/family/family.jsp
> 
> Where, Family.java:
> public class Family  {
> private Long id;
> ...
> }

--
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-3862) help,request.getServletPath() still return null

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart updated WW-3862:
--

Fix Version/s: (was: 2.3.9)
   2.3.x

> help,request.getServletPath() still return null
> ---
>
> Key: WW-3862
> URL: https://issues.apache.org/jira/browse/WW-3862
> Project: Struts 2
>  Issue Type: Bug
>  Components: Dispatch Filter
>Affects Versions: 2.3.1
> Environment: websphere 7.0.12,struts2.3.1.1,jdk1.5
>Reporter: hou wj
> Fix For: 2.3.x
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I tried the URL you provided like 
> this,【http://struts.apache.org/2.x/docs/websphere.html】。
> I don’t want a temporary fix,so I try the solution of servlet LaunchServlet 
> as you provided like this:
> 1) add a servlet that initializes the Struts Dispatcher with the servlet 
> context:
> import org.apache.struts2.dispatcher.Dispatcher;
>  
> public class LaunchServlet extends HttpServlet implements Servlet {
>  
> public LaunchServlet() {
> super();
> }
>  
> public void init(ServletConfig arg0) throws ServletException {
> 
> // this works around a bug in the websphere classloader.
> super.init(arg0);
> Dispatcher d = new Dispatcher(getServletContext(), new 
> HashMap()); 
> 
> }
>  
> }
> 2) launch it at start-up (web.xml):
> 
>   dummyaction
>   com.xxx.yy.service.LaunchServlet
>   1
> 
> 3) Run application and everything should work. 
> But it not works ,the method request.getServletPath() still return null
> I use struts2.3.1,and websphere 7.0.12
> Follws is before my issue:  https://issues.apache.org/jira/browse/WW-3859
> I use as follows
> I create a class:
> public abstract class BaseAction extends ActionSupport implements
> ServletRequestAware, ServletResponseAware, ServletContextAware {
> protected HttpServletRequest request;
> protected HttpServletResponse response;
> protected HttpSession session;
> .
> public String getServletPath(){ return request.getServletPath(); }
> ..
> // get / set method
> public void setServletRequest(HttpServletRequest request) {
>this.request = request;
> }
> public void setServletResponse(HttpServletResponse response) {
>this.response = response;
> }
> public void setServletContext(ServletContext context) {
>this.context = context;
> }
> }
> now ,in tomcat 5.5 run environment,getServletPath() method can return correct 
> value,but in websphere 7,it return null.first,i distrust it is some problem 
> in webphere.so i create a simple jsp file and write above code in new jsp 
> file,very magical,it return correct value.i arrive the net to look for the 
> answer.but,nothing i find.it's struts bug?Looking forward to reply.

--
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-3170) ObjectFactory reporting ERROR's when you attempt to set parameters on a Redirect result

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart updated WW-3170:
--

Fix Version/s: (was: 2.3.9)
   2.3.x

> ObjectFactory reporting ERROR's when you attempt to set parameters on a 
> Redirect result
> ---
>
> Key: WW-3170
> URL: https://issues.apache.org/jira/browse/WW-3170
> Project: Struts 2
>  Issue Type: Bug
>Affects Versions: 2.1.6
> Environment: Windows XP SP2
> Tomcat 5.5.17
> Sun JDK 1.5.0_17
>Reporter: Lee Clemens
> Fix For: 2.3.x
>
>
> Upon upgrading from 2.0.x to 2.1.6, Action results using:
> ${xxx}
> Causes an error and prints a stacktrace.
> The only 'workaround' I have found is at 
> http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html.
> It simply states to disable ERROR logging. Obviously, I will want to see 
> legitimate ERROR logging for missing properties. However, this is not a 
> legitimate ERROR - as the getters/setters exist between the two actions and 
> this should be working fine (and functionally is working as expected).
> Stacktrace:
> Caught OgnlException while setting property 'xxx' on type 
> 'org.apache.struts2.dispatcher.ServletActionRedirectResult'. - Class: 
> ognl.ObjectPropertyAccessor
> File: ObjectPropertyAccessor.java
> Method: setProperty
> Line: 132 - ognl/ObjectPropertyAccessor.java:132:-1
>   at 
> com.opensymphony.xwork2.ognl.OgnlUtil.internalSetProperty(OgnlUtil.java:392)
>   at com.opensymphony.xwork2.ognl.OgnlUtil.setProperty(OgnlUtil.java:143)
>   at 
> com.opensymphony.xwork2.ognl.OgnlReflectionProvider.setProperty(OgnlReflectionProvider.java:91)
>   at 
> com.opensymphony.xwork2.ObjectFactory.buildResult(ObjectFactory.java:221)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:208)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:355)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265)
>   at 
> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:163)
>   at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
>   at 
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:249)
>   at 
> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
>   at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
>   at 
> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
>   at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
>   at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
>   at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
>   at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
>   at 
> com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:148)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
>   at 
> org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:93)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
>   at 
> org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
>   at 
> com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
>   at 
> com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInter

[jira] [Resolved] (WW-3929) Add errorPosition attribute to input tags

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart resolved WW-3929.
---

Resolution: Fixed
  Assignee: Lukasz Lenart

Done, thanks for the patch and support!

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3929:
---

This can be changed with 3.x as a breaking change

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3929:
---

You can use CSS as well without touching template ;-)

But there is one problem with that - it will break backward compatibility so it 
must remain as is with empty  and align and valign.

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread James Fleischman (JIRA)

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

James Fleischman commented on WW-3929:
--

Sounds good to me.  The user (in my case, me!) could modify the template if 
they want it to align a certain way.

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3929:
---

Or even no valign at all - thus should be left to the user's decision

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3929:
---

Ok, so I think it should the same for both - and empty td (column) and no align 
to center

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread James Fleischman (JIRA)

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

James Fleischman commented on WW-3929:
--

Oops, we were typing at the same time...I just preferred the look of the empty 
column and lining it up with the input column rather than aligning on whole row.

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread James Fleischman (JIRA)

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

James Fleischman commented on WW-3929:
--

I did it this way so that the error message would appear below the input box 
rather than the label.  It could have been a span instead of a div but the 
empty td was intentional.

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3929:
---

Ok, figured it out - there should colspan and also  should be used 
instead of 

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3929:
---

Almost good ;-) I've created test to check errorPosition="top" and the result is
{code:html}


barerrormessage




mylabel:





{code}

As you see the first row is missing one column - td tag. I was able to solve 
that, but I have question why do use  for "top" and  for bottom?

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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] [Resolved] (WW-3925) behavior of Index action found under designated package is unclear

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart resolved WW-3925.
---

Resolution: Fixed
  Assignee: Lukasz Lenart

Please check with the latest snapshot, I added logic to properly handle index 
action in default namespace

> behavior of Index action found under designated package is unclear
> --
>
> Key: WW-3925
> URL: https://issues.apache.org/jira/browse/WW-3925
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.4
> Environment: JBoss 5.1
> Windows 7 x64
>Reporter: haruhiko nishi
>Assignee: Lukasz Lenart
> Fix For: 2.3.9
>
> Attachments: WW-3925.zip
>
>
> We have an Action class named 'Index' immediately under 
> com.example.common.action and is annotated @ParentPackage('default') which is 
> declared in package directive in struts.xml and has "/" for its namespace and 
> extends "struts-default". It also declares @Result so that it responses with 
> jsp files corresponding the string values returned by its execute() method.
> In our struts.xml, the following struts setting is configured along with 
> other necessary configurations that are needed for convention-plugin.
> 
> When accessing /my_context/none_existing_path, the request apparently hits 
> this Index class and the contents of the jsp declared in the Index's @Result 
> section gets returned.
> However, if we provide /my_context/, we receive the following error:
> HTTP Status 404-There is no Action mapped for namespace[/] and action name [] 
> associated with context path [/my_context].
> We want to know the reason why accessing /my_context/none_existing_path, 
> where none_existing_path has no matching action, can fallback to Index class, 
> but error is returned when when the URL requested is just /my_context/.
> Currently, our convention-plugin settings are declared as follows:
>  value="com.example"/>
> 
> Strangely, if we changed the value of the 
> struts.convention.package.locators.basePackage to
> com.example.common and narrowed the search scope of the aforementioned Index 
> file, requesting /my_context/ displayed the content of the jsps declared in 
> @Result section of the Index class. However, as our action classes are 
> distributed throughout the com.example.[a-z].action packages, where [a-z] 
> represents the large volume of directories we have in our package structure, 
> we cannot use this trick as a workaround. We have also tried placing 
> index.jsp at the top level of the class path, and have the index.jsp redirect 
> to /my_context/index, which worked but not what we want. Could this be a bug?
> We appreciate your responses. 
> Thank you in advance.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread James Fleischman (JIRA)

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

James Fleischman updated WW-3929:
-

Attachment: struts2-error-position-fixed2.patch

Corrected misplaced closing tags.

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
> Attachments: struts2-error-position-fixed2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3929) Add errorPosition attribute to input tags

2012-12-18 Thread James Fleischman (JIRA)

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

James Fleischman updated WW-3929:
-

Attachment: (was: struts2-error-position-fixed.patch)

> Add errorPosition attribute to input tags
> -
>
> Key: WW-3929
> URL: https://issues.apache.org/jira/browse/WW-3929
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Other
>Affects Versions: 2.3.7
>Reporter: James Fleischman
>Priority: Minor
> Fix For: 2.3.9
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Add an errorPosition attribute to the base UI component to allow for various 
> options of how to display errors related to a field.  The given template 
> would then uses this attribute to display the error appropriately.

--
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-3924) refactor file upload framework

2012-12-18 Thread Link Qian (JIRA)

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

Link Qian commented on WW-3924:
---

Not exactly. Struts1, Struts2 file upload framework limits Action to use 
java.io.File to reference a uploading multipart content from http request 
because FileUploadIntercetor and MultiPartResolver only expose File type to 
others class needs. It's hard to extend and low performance fact which discuss 
more thread more time. Thus, it's necessary refactor the old file upload 
processing framework. meanwhile, we need to protect user's program work in new 
struts release including the refactor code as well. So the Ng (new generation) 
file upload process framework is not constraint, instead of an alternative for 
experimental framework aim to easy extension and high performance usage. It is 
easy to switch and is off in default. As Lukasz said, it's a big change with a 
bit change core code.

The patch provides a solution that easy to write plugin, whatever commons-fu, 
fastupload and others. what use commons-fu API implements NgMultiPartResolver 
and wrap MultiPart is easy.

also I would like to say sorry for the codestyle issue. include license, 
comments etc.

> refactor file upload framework
> --
>
> Key: WW-3924
> URL: https://issues.apache.org/jira/browse/WW-3924
> Project: Struts 2
>  Issue Type: Improvement
>  Components: "New" API, Integration
>Affects Versions: 2.3.7
> Environment: HTTP, RFC 1867, form-based upload.
>Reporter: Link Qian
>  Labels: features, patch
> Fix For: 2.3.9
>
> Attachments: fileupload-patch.txt
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> refactor current file upload framework in Struts2, the goals are:
> 1, compatible with current file upload API in Struts2.
> 2, enable file upload framework to integration with form-based upload 
> components easily.
> 3, enable user to use stream/memory parsing model beyond temporary file 
> parsing model.
> 4, testing

--
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] [Comment Edited] (WW-3924) refactor file upload framework

2012-12-18 Thread Rene Gielen (JIRA)

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

Rene Gielen edited comment on WW-3924 at 12/18/12 9:56 AM:
---

Uhm - sorry guys, but so far this looks not like what we discussed in the list. 
AFACIS we talked about providing non breaking API extensions to support 
multipart handler plugins. It was explicitely not about changing core to use 
some new library, even not if it is marked optional.

Some more concrete stuff regarding the patch
- Please provide a pure patch. Roughly two third of this patch is reformatted 
original code. Please keep your IDE from automatic reformatting. A patch / 
commit is either functional or reformatting the code, but not both
- please tidy up your code. Things like IDEA standard file template comments or 
commented out code should not go into a patch. Best example is 
FastUploadMultiPartHandler, which includes a wrong JavaDoc-comment and code in 
comments.
- Again FastUploadMultiPartHandler: Please use one file for one class, as long 
you are not creating inner classes. This java-File contains two toplevel classes
- Please be sure to review your code for general quality. As I understood, you 
are using IntelliJ IDEA. Reviewing warnings would easily have revealed that in 
NgFileUploadInterceptor:182 there is a senseless null check due to NPE about to 
happen before in line 176ff. Also you might want to review 
Dispatcher#cleanUpRequest, just to name another one
- DispatcherTest#testConfigurationManager - what is this URL, split into two 
lines, one now marking a Java label?

That was just a quick first review. A cleaner patch helps reviewing by far...

Now regarding the API changes
- NG as naming component is a bit unfortunate. What comes in two years, when we 
have even better ideas? NNG? :)
- As I see it, a new API for MultiPart should either be extending the old or 
providing a full new implementation if you flip the switch. Full means full 
alternative, that is: it should provide an implementation of the former 
functionality. Only then it is possible to deprecate the old API and declare 
the new stuff as API to use. What I see here is having just two APIs, one for 
commons-fu etc and one for fastupload.

An API change proposal should
- check wether the old API can be reused, starting with factoring out more 
general interfaces and more abstract classes in the hierarchy. Did that happen?
- if extending the old doesn't work, provide a complete implemetation for the 
former functionality. That is, implement a commons-fu Provider

For the integration of fastupload itself:
This library and related implementations will not make it into core any time 
soon, as it would not for other "new" libs. You are providing an implementation 
alternative. Fine. That's what plugis are for. So if a new MultiPart API makes 
it into the distribution, feel free to provide a plugin, maybe as part of your 
library distribution.
A small tip: even if we would want to include the lib into our distro, we 
couldn't. You don't provide any license. To make it into any Apache related 
distro, a library must be released under a APL compatible license. To get 
adoption at all, your lib should generally be released under an accepted OSS 
license.

  was (Author: rgielen):
Uhm - sorry guys, but so far this looks not like what we discussed in the 
list. AFACIS we talked about providing non breaking API extensions to support 
multipart handler plugins a plugin. It was explicitely not about changing core 
to use some new library, even not if it is marked optional.

Some more concrete stuff regarding the patch
- Please provide a pure patch. Roughly two third of this patch is reformatted 
original code. Please keep your IDE from automatic reformatting. A patch / 
commit is either functional or reformatting the code, but not both
- please tidy up your code. Things like IDEA standard file template comments or 
commented out code should not go into a patch. Best example is 
FastUploadMultiPartHandler, which includes a wrong JavaDoc-comment and code in 
comments.
- Again FastUploadMultiPartHandler: Please use one file for one class, as long 
you are not creating inner classes. This java-File contains two toplevel classes
- Please be sure to review your code for general quality. As I understood, you 
are using IntelliJ IDEA. Reviewing warnings would easily have revealed that in 
NgFileUploadInterceptor:182 there is a senseless null check due to NPE about to 
happen before in line 176ff. Also you might want to review 
Dispatcher#cleanUpRequest, just to name another one
- DispatcherTest#testConfigurationManager - what is this URL, split into two 
lines, one now marking a Java label?

That was just a quick first review. A cleaner patch helps reviewing by far...

Now regarding the API changes
- NG as naming component is a 

[jira] [Commented] (WW-3924) refactor file upload framework

2012-12-18 Thread Rene Gielen (JIRA)

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

Rene Gielen commented on WW-3924:
-

Uhm - sorry guys, but so far this looks not like what we discussed in the list. 
AFACIS we talked about providing non breaking API extensions to support 
multipart handler plugins a plugin. It was explicitely not about changing core 
to use some new library, even not if it is marked optional.

Some more concrete stuff regarding the patch
- Please provide a pure patch. Roughly two third of this patch is reformatted 
original code. Please keep your IDE from automatic reformatting. A patch / 
commit is either functional or reformatting the code, but not both
- please tidy up your code. Things like IDEA standard file template comments or 
commented out code should not go into a patch. Best example is 
FastUploadMultiPartHandler, which includes a wrong JavaDoc-comment and code in 
comments.
- Again FastUploadMultiPartHandler: Please use one file for one class, as long 
you are not creating inner classes. This java-File contains two toplevel classes
- Please be sure to review your code for general quality. As I understood, you 
are using IntelliJ IDEA. Reviewing warnings would easily have revealed that in 
NgFileUploadInterceptor:182 there is a senseless null check due to NPE about to 
happen before in line 176ff. Also you might want to review 
Dispatcher#cleanUpRequest, just to name another one
- DispatcherTest#testConfigurationManager - what is this URL, split into two 
lines, one now marking a Java label?

That was just a quick first review. A cleaner patch helps reviewing by far...

Now regarding the API changes
- NG as naming component is a bit unfortunate. What comes in two years, when we 
have even better ideas? NNG? :)
- As I see it, a new API for MultiPart should either be extending the old or 
providing a full new implementation if you flip the switch. Full means full 
alternative, that is: it should provide an implementation of the former 
functionality. Only then it is possible to deprecate the old API and declare 
the new stuff as API to use. What I see here is having just two APIs, one for 
commons-fu etc and one for fastupload.

An API change proposal should
- check wether the old API can be reused, starting with factoring out more 
general interfaces and more abstract classes in the hierarchy. Did that happen?
- if extending the old doesn't work, provide a complete implemetation for the 
former functionality. That is, implement a commons-fu Provider

For the integration of fastupload itself:
This library and related implementations will not make it into core any time 
soon, as it would not for other "new" libs. You are providing an implementation 
alternative. Fine. That's what plugis are for. So if a new MultiPart API makes 
it into the distribution, feel free to provide a plugin, maybe as part of your 
library distribution.
A small tip: even if we would want to include the lib into our distro, we 
couldn't. You don't provide any license. To make it into any Apache related 
distro, a library must be released under a APL compatible license. To get 
adoption at all, your lib should generally be released under an accepted OSS 
license.

> refactor file upload framework
> --
>
> Key: WW-3924
> URL: https://issues.apache.org/jira/browse/WW-3924
> Project: Struts 2
>  Issue Type: Improvement
>  Components: "New" API, Integration
>Affects Versions: 2.3.7
> Environment: HTTP, RFC 1867, form-based upload.
>Reporter: Link Qian
>  Labels: features, patch
> Fix For: 2.3.9
>
> Attachments: fileupload-patch.txt
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> refactor current file upload framework in Struts2, the goals are:
> 1, compatible with current file upload API in Struts2.
> 2, enable file upload framework to integration with form-based upload 
> components easily.
> 3, enable user to use stream/memory parsing model beyond temporary file 
> parsing model.
> 4, testing

--
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-3924) refactor file upload framework

2012-12-18 Thread Link Qian (JIRA)

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

Link Qian commented on WW-3924:
---

hence the patch is based struts 2.3.7. if you find any issue when patch it into 
struts 2.3.8 codebase. please let me know.

> refactor file upload framework
> --
>
> Key: WW-3924
> URL: https://issues.apache.org/jira/browse/WW-3924
> Project: Struts 2
>  Issue Type: Improvement
>  Components: "New" API, Integration
>Affects Versions: 2.3.7
> Environment: HTTP, RFC 1867, form-based upload.
>Reporter: Link Qian
>  Labels: features, patch
> Fix For: 2.3.9
>
> Attachments: fileupload-patch.txt
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> refactor current file upload framework in Struts2, the goals are:
> 1, compatible with current file upload API in Struts2.
> 2, enable file upload framework to integration with form-based upload 
> components easily.
> 3, enable user to use stream/memory parsing model beyond temporary file 
> parsing model.
> 4, testing

--
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-3925) behavior of Index action found under designated package is unclear

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart updated WW-3925:
--

Fix Version/s: (was: 2.3.x)
   2.3.9

> behavior of Index action found under designated package is unclear
> --
>
> Key: WW-3925
> URL: https://issues.apache.org/jira/browse/WW-3925
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - Convention
>Affects Versions: 2.3.4
> Environment: JBoss 5.1
> Windows 7 x64
>Reporter: haruhiko nishi
> Fix For: 2.3.9
>
> Attachments: WW-3925.zip
>
>
> We have an Action class named 'Index' immediately under 
> com.example.common.action and is annotated @ParentPackage('default') which is 
> declared in package directive in struts.xml and has "/" for its namespace and 
> extends "struts-default". It also declares @Result so that it responses with 
> jsp files corresponding the string values returned by its execute() method.
> In our struts.xml, the following struts setting is configured along with 
> other necessary configurations that are needed for convention-plugin.
> 
> When accessing /my_context/none_existing_path, the request apparently hits 
> this Index class and the contents of the jsp declared in the Index's @Result 
> section gets returned.
> However, if we provide /my_context/, we receive the following error:
> HTTP Status 404-There is no Action mapped for namespace[/] and action name [] 
> associated with context path [/my_context].
> We want to know the reason why accessing /my_context/none_existing_path, 
> where none_existing_path has no matching action, can fallback to Index class, 
> but error is returned when when the URL requested is just /my_context/.
> Currently, our convention-plugin settings are declared as follows:
>  value="com.example"/>
> 
> Strangely, if we changed the value of the 
> struts.convention.package.locators.basePackage to
> com.example.common and narrowed the search scope of the aforementioned Index 
> file, requesting /my_context/ displayed the content of the jsps declared in 
> @Result section of the Index class. However, as our action classes are 
> distributed throughout the com.example.[a-z].action packages, where [a-z] 
> represents the large volume of directories we have in our package structure, 
> we cannot use this trick as a workaround. We have also tried placing 
> index.jsp at the top level of the class path, and have the index.jsp redirect 
> to /my_context/index, which worked but not what we want. Could this be a bug?
> We appreciate your responses. 
> Thank you in advance.

--
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-3924) refactor file upload framework

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3924:
---

When I'll have a time ;-)

> refactor file upload framework
> --
>
> Key: WW-3924
> URL: https://issues.apache.org/jira/browse/WW-3924
> Project: Struts 2
>  Issue Type: Improvement
>  Components: "New" API, Integration
>Affects Versions: 2.3.7
> Environment: HTTP, RFC 1867, form-based upload.
>Reporter: Link Qian
>  Labels: features, patch
> Fix For: 2.3.9
>
> Attachments: fileupload-patch.txt
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> refactor current file upload framework in Struts2, the goals are:
> 1, compatible with current file upload API in Struts2.
> 2, enable file upload framework to integration with form-based upload 
> components easily.
> 3, enable user to use stream/memory parsing model beyond temporary file 
> parsing model.
> 4, testing

--
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-3924) refactor file upload framework

2012-12-18 Thread Link Qian (JIRA)

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

Link Qian commented on WW-3924:
---

sure, when will you review it.

> refactor file upload framework
> --
>
> Key: WW-3924
> URL: https://issues.apache.org/jira/browse/WW-3924
> Project: Struts 2
>  Issue Type: Improvement
>  Components: "New" API, Integration
>Affects Versions: 2.3.7
> Environment: HTTP, RFC 1867, form-based upload.
>Reporter: Link Qian
>  Labels: features, patch
> Fix For: 2.3.9
>
> Attachments: fileupload-patch.txt
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> refactor current file upload framework in Struts2, the goals are:
> 1, compatible with current file upload API in Struts2.
> 2, enable file upload framework to integration with form-based upload 
> components easily.
> 3, enable user to use stream/memory parsing model beyond temporary file 
> parsing model.
> 4, testing

--
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-3924) refactor file upload framework

2012-12-18 Thread Lukasz Lenart (JIRA)

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

Lukasz Lenart commented on WW-3924:
---

But it must be reviewed by a committer and that takes time.

> refactor file upload framework
> --
>
> Key: WW-3924
> URL: https://issues.apache.org/jira/browse/WW-3924
> Project: Struts 2
>  Issue Type: Improvement
>  Components: "New" API, Integration
>Affects Versions: 2.3.7
> Environment: HTTP, RFC 1867, form-based upload.
>Reporter: Link Qian
>  Labels: features, patch
> Fix For: 2.3.9
>
> Attachments: fileupload-patch.txt
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> refactor current file upload framework in Struts2, the goals are:
> 1, compatible with current file upload API in Struts2.
> 2, enable file upload framework to integration with form-based upload 
> components easily.
> 3, enable user to use stream/memory parsing model beyond temporary file 
> parsing model.
> 4, testing

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