'java.lang.InstantiationException: Unable to find DataSource of type com.evermind.sql.DrivermanagerDataSource' when Starting Up OC4J Instance in Oracle Application Server 10.1.2 (Doc ID 974397.1)

Last updated on FEBRUARY 01, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.0 to 10.1.3.5.0 [Release AS10gR2 to AS10gR3]
Information in this document applies to any platform.

Symptoms

OC4J Home container in Oracle Application Server does not start up.
OC4J log file OC4J_home_default_island~1 shows error:

09/11/20 14:36:39 java.lang.InstantiationException: Unable to find DataSource of type com.evermind.sql.DrivermanagerDataSource
09/11/20 14:36:39 at com.evermind.server.Application.initDataSource(Application.java:1421)
09/11/20 14:36:39 at com.evermind.server.Application.initDataSources(Application.java:2027)
09/11/20 14:36:39 at com.evermind.server.Application.preInit(Application.java:544)
09/11/20 14:36:39 at com.evermind.server.Application.setConfig(Application.java:171)
09/11/20 14:36:39 at com.evermind.server.Application.setConfig(Application.java:150)
09/11/20 14:36:39 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1825)
09/11/20 14:36:39 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1532)
09/11/20 14:36:39 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
09/11/20 14:36:39 at java.lang.Thread.run(Thread.java:534)
09/11/20 14:36:39 Exception occured during Applications initialization: Unable to find DataSource of type com.evermind.sql.DrivermanagerDataSource
09/11/20 14:36:39 Warning: Error reading transaction-log file (/home/oracle/app/oracle/product/http10g/j2ee/home/persistence/home_default_island_1/transaction.state) for recovery: premature end of file
09/11/20 14:36:39 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
09/11/20 14:36:39 java.lang.NullPointerException
09/11/20 14:36:39 at com.evermind.server.TransactionRecovery.recover(TransactionRecovery.java:171)
09/11/20 14:36:39 at com.evermind.server.TransactionRecovery.recover(TransactionRecovery.java:121)
09/11/20 14:36:39 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1588)
09/11/20 14:36:39 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
09/11/20 14:36:39 at java.lang.Thread.run(Thread.java:534)

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