Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 65987 invoked from network); 8 Apr 2009 08:43:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2009 08:43:46 -0000 Received: (qmail 71525 invoked by uid 500); 8 Apr 2009 08:43:45 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 71481 invoked by uid 500); 8 Apr 2009 08:43:45 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 71471 invoked by uid 99); 8 Apr 2009 08:43:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2009 08:43:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2009 08:43:38 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id BB87E14A81A2 for ; Wed, 8 Apr 2009 03:43:19 -0500 (CDT) Message-ID: <14483570.1239180199609.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 8 Apr 2009 03:43:19 -0500 (CDT) From: "Emmanuel Venisse (JIRA)" To: issues@continuum.apache.org Subject: [jira] Updated: (CONTINUUM-2049) ClassCastException deploying Continuum.war on JBoss-5.0.0.GA In-Reply-To: <1079833.1233075199736.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Venisse updated CONTINUUM-2049: ---------------------------------------- Priority: Blocker (was: Minor) Fix Version/s: 1.3.3 Component/s: Documentation > ClassCastException deploying Continuum.war on JBoss-5.0.0.GA > ------------------------------------------------------------ > > Key: CONTINUUM-2049 > URL: http://jira.codehaus.org/browse/CONTINUUM-2049 > Project: Continuum > Issue Type: Bug > Components: Documentation, Environmental > Affects Versions: 1.2.3 > Environment: Windows Server 2003 R2 and XP SP3, Sun JDK JVM 1.6.0_11, running JBoss 5.0.0.GA > Reporter: Bob Walker > Priority: Blocker > Fix For: 1.3.3 > > Attachments: stacktrace.txt > > > I'm launching the default server configuration for a clean JBoss 5.0.0.GA installation and deploying continuum.war into the deploy/ directory. > Having tried to adapt the instructions for 4.x.x here: > http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+JBoss > , I've set up data sources and made the derby jar available. > When I start the server or redeploy, I get a ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory > I tried removing log4j and some of the xml-related jars as described in the Archiva/JBoss doc here: > http://cwiki.apache.org/ARCHIVA/archiva-on-jboss.html > This gets me further, but fails with the same error when loading spring context configuration further down the road. > I've also tried removing xalan/xerces and letting it use the default endorsed version supplied by JBoss, this gives me different ClassLoader errors, at which point I gave up and began writing my findings here. > I'm guessing it's a fairly simple classloader issue with xalan and xerces, but it's got me stumped. Any hints? I've tried it with v1.3.1 as well, with the same result. > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira