Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 39639 invoked from network); 7 Jul 2010 10:51:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jul 2010 10:51:51 -0000 Received: (qmail 2246 invoked by uid 500); 7 Jul 2010 10:51:51 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 1909 invoked by uid 500); 7 Jul 2010 10:51:49 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 1876 invoked by uid 99); 7 Jul 2010 10:51:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 10:51:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 10:51:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o67Ahq3R029954 for ; Wed, 7 Jul 2010 10:43:52 GMT Message-ID: <5939939.238231278499432535.JavaMail.jira@thor> Date: Wed, 7 Jul 2010 06:43:52 -0400 (EDT) From: "Mark Struberg (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-5436) ClassCastException in Deployer In-Reply-To: <18654334.238191278499249350.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-5436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Struberg updated GERONIMO-5436: ------------------------------------ Attachment: GERONIMO-5436.patch this patch logs a warning for such cases and outputs the XmlObjects content. In my situation I now get the following output in the console: 2010-07-07 12:16:01,532 WARN [MergeHelper] Fail: expected WebFragment but got: org.apache.xmlbeans.impl.values.XmlAnyTypeImpl / PrimeFaces PrimeFaces Resource Servlet org.primefaces.resource.ResourceServlet PrimeFaces Resource Servlet /primefaces_resource/* > ClassCastException in Deployer > ------------------------------ > > Key: GERONIMO-5436 > URL: https://issues.apache.org/jira/browse/GERONIMO-5436 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 3.0 > Reporter: Mark Struberg > Fix For: 3.0 > > Attachments: GERONIMO-5436.patch > > > While deploying a EAR I get a ClassCastException in MergeHelper#347 > webFragment = (WebFragment) xmlObject; > but xmlObject is actually of type org.apache.xmlbeans.impl.values.XmlAnyTypeImpl -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.