Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5FEB3D95F for ; Sat, 25 May 2013 04:32:30 +0000 (UTC) Received: (qmail 21774 invoked by uid 500); 25 May 2013 04:32:29 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 20842 invoked by uid 500); 25 May 2013 04:32:25 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 20713 invoked by uid 99); 25 May 2013 04:32:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 May 2013 04:32:21 +0000 Date: Sat, 25 May 2013 04:32:21 +0000 (UTC) From: "Stefan Reich (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4055) Convention plugin doesn't find any Action classes in EAR deployment on Weblogic 10 and 12 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666962#comment-13666962 ] Stefan Reich commented on WW-4055: ---------------------------------- @Martin and @Lukasz: I tried the workaround in the 2.x docs, but to no avail. The root cause was that only the empty WEB-INF/classes directory was returned by the Classloader. Not even a single jar or zip file. But again, my weblogic-application.xml configures all org.apache.* namespaces to be loaded from the war (it's complicated..), but I didn't confirm if that makes a difference. I'll attach whatever I have end of next week... > 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 > Fix For: 2.3.16 > > 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 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