"ClassNotFoundException: oracle.xdb.XMLType" in JBoss EAP

Solution Verified - Updated -


  • Deployed the Oracle ojdbc*.jar in JBoss EAP
  • When accessing the database, encountering a ClassNotFoundException

    ... java.lang.NoClassDefFoundError: oracle/xdb/XMLType
        at oracle.jdbc.oracore.OracleTypeADT.applyTDSpatches(OracleTypeADT.java:1081)
        at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:504)
    Caused by: java.lang.ClassNotFoundException: oracle.xdb.XMLType from [Module ...]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • 6
  • Oracle

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In