[
https://issues.apache.org/jira/browse/WW-3984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafal updated WW-3984:
----------------------
Attachment: TestEAR.ear
EAR that reproduces the error
> Struts 2.3.8 convention plugin doesn't work with EAR on JBoss 5.1
> -----------------------------------------------------------------
>
> Key: WW-3984
> URL: https://issues.apache.org/jira/browse/WW-3984
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.3.8
> Environment: JBoss 5.0 and 5.1, java 1.6 update 34
> Reporter: Rafal
> Priority: Critical
> Labels: EAR, annotation, convention, jboss, struts
> Attachments: TestEAR.ear
>
>
> Convention plugin is not able to read classes found in jar files when they
> are deployed inside a EAR file under JBoss 5.0 and 5.1 version.
> Error = file not found exception.
> I've debugged the issue (classes PackageBasedActionConfigBuilder and
> ClassFinder) and there is no possibility to fix this using any of the
> configuration parameters.
> This is only happening when EAR is not exploded.
> I've check/read the forum and asked google about this and could not find any
> information if and when this will be fixed. Are there any plans to add a fix
> that will allow to use annotations with EAR files on JBoss ?
> This issue is serious since my project contains dozens of actions that are
> defined via annotation (I would really want to avoid defining them in xml).
> When deployed in EAR to JBoss they don't work.
> Any help/workable workaround is appreciated.
> EAR that reproduces the error:
--
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