jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Continuum
  • CONTINUUM-2049

ClassCastException deploying Continuum.war on JBoss-5.0.0.GA

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Blocker Blocker
  • Resolution: Unresolved
  • Affects Version/s: 1.2.3
  • Fix Version/s: Backlog
  • Component/s: Documentation, Environmental
  • Labels:
    None
  • Environment:
    Windows Server 2003 R2 and XP SP3, Sun JDK JVM 1.6.0_11, running JBoss 5.0.0.GA
  • Complexity:
    Intermediate

Description

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    stacktrace.txt
    27/Jan/09 10:52 AM
    25 kB
    Bob Walker

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jose Morales Martinez added a comment - 04/Feb/09 6:58 PM

I got the same error.

Sorry, but I don't know how I can solve the error. Anyway try to investigate something.

Show
Jose Morales Martinez added a comment - 04/Feb/09 6:58 PM I got the same error. Sorry, but I don't know how I can solve the error. Anyway try to investigate something.
Hide
Permalink
Bob Walker added a comment - 05/Feb/09 4:21 AM

I was forced to try Hudson, which from v1.280 works out of the box on JBoss 5.0.0.GA.

Show
Bob Walker added a comment - 05/Feb/09 4:21 AM I was forced to try Hudson, which from v1.280 works out of the box on JBoss 5.0.0.GA.
Hide
Permalink
Emmanuel Venisse added a comment - 21/Apr/09 3:04 AM

http://www.nabble.com/continuum-and-Jboss-5.0.1-td22929776.html

Show
Emmanuel Venisse added a comment - 21/Apr/09 3:04 AM http://www.nabble.com/continuum-and-Jboss-5.0.1-td22929776.html

People

  • Assignee:
    Unassigned
    Reporter:
    Bob Walker
Vote (1)
Watch (4)

Dates

  • Created:
    27/Jan/09 10:52 AM
    Updated:
    23/Feb/10 8:44 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.