struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4055) Convention plugin doesn't find any Action classes in EAR deployment on Weblogic 10 and 12
Date Wed, 31 Dec 2014 17:33:17 GMT

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

Hudson commented on WW-4055:
----------------------------

FAILURE: Integrated in Struts-JDK6-master #901 (See [https://builds.apache.org/job/Struts-JDK6-master/901/])
WW-4055 Reverts commit dfb2bd3 (lukaszlenart: rev 64234907c6e766bc14283ce5fef59e073276ffe2)
* plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java


> Convention plugin doesn't find any Action classes in EAR deployment on Weblogic 10 and
12
> -----------------------------------------------------------------------------------------
>
>                 Key: WW-4055
>                 URL: https://issues.apache.org/jira/browse/WW-4055
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Convention
>    Affects Versions: 2.3.14
>            Reporter: Stefan Reich
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.20
>
>         Attachments: PackageBasedActionConfigBuilder.patch
>
>
> The weblogic container versions 10, 11 and 12 has a peculiar way of deploying ear and
war files. 
> It unpacks the ear and war file, and jars up the contents of WEB-INF classes into a new
file: WEB-INF/lib/_wl_cls_gen.jar. After that, all content from WEB-INF/classes is deleted.
> The consequence is that the classloader will return a URL to the WEB-INF/classes directory
when the plugin is searching for annotated classes, but it will be empty, so this plugin would
never find any Action classes.
> I have a patch that has been verified to work on Weblogic 10 and 12.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message