OC4J Failed to Start With Error: java.lang.NoClassDefFoundError: oracle/jdbc/xa/client/OracleXADataSource

(Doc ID 785553.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.2.0.0 to 10.1.3.4.0 - Release: AS10gR2 to AS10gR3
Information in this document applies to any platform.

Symptoms

While starting any OC4J Container the following error is logged in the OC4J container log, for example:

<ORACLE_HOME>/opmn/logs/OC4J~OC4J_Portal~default_island~1

09/02/24 03:25:19 Start process
--------
09/02/24 03:25:22 java.lang.NoClassDefFoundError: oracle / jdbc / xa / client /
OracleXADataSource
09/02/24 03:25:22 at com.evermind.server.OC4JServer.getOpmnNoun (OC4JServer.java: 382)
09/02/24 03:25:22 at com.evermind.server.XMLServerConfig.postInit (XMLServerConfig.java: 615)
09/02/24 03:25:22 at com.evermind.server.XMLApplicationServerConfig.postInit
(XMLApplicationServerConfig.java: 287)
09/02/24 03:25:22 at com.evermind.xml.XMLConfig.init (XMLConfig.java: 181)
09/02/24 03:25:22 at com.evermind.xml.XMLConfig.init (XMLConfig.java: 92)
09/02/24 03:25:22 at com.evermind.server.XMLApplicationServerConfig.init
(XMLApplicationServerConfig.java: 2064)
09/02/24 03:25:22 at com.evermind.server.ApplicationServerLauncher.run
(ApplicationServerLauncher.java: 70)
09/02/24 03:25:22 at java.lang.Thread.run (Thread.java: 534)

This error may occur for any OC4J Container that is being started.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms