My Oracle Support Banner

Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "oracle.jdbc" When Starting up OC4J Container Causes Application to Fail with HTTP-500 error (Doc ID 1494057.1)

Last updated on AUGUST 30, 2023

Applies to:

JDBC - Version 10.2.0.4 and later
Oracle Containers for J2EE - Version 10.1.3.4.0 and later
Information in this document applies to any platform.

Symptoms

HTTP-500 internal server error received when trying to access application page in Oracle Application Server 10.1.3.4.

The page fails with:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, <EMAIL ADDRESS> and inform them of the time the error occurred, and anything you might have done that may have caused the error.



The OC4J container where the application is deployed is found to be down and fails to start with error:

12/09/04 16:10:52 Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "oracle.jdbc" in <DIR>/j2ee/<OC4J INSTANCE>/config/server.xml.
12/09/04 16:10:52 Fatal error: server exiting

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.