My Oracle Support Banner

OUD 12c: Is There a Way to Create OUDSM Domain without the Demo Datasources Using Derby Database (DB)? (Doc ID 2813895.1)

Last updated on OCTOBER 27, 2021

Applies to:

Oracle Unified Directory - Version 12.2.1.3 and later
Information in this document applies to any platform.

Goal

Is there a way to create 12c Oracle Unified Directory (OUD) Services Manager (OUDSM) domain without the demo datasources using Derby Database (DB)?


Using createOUDSMDomain() command of as part of a WLST script. This also creates the Derby DB and DB datasources which are not desired or needed.

Able to disable the Derby DB and OUDSM continues to work, but during Admin server startup it still tries to connect to the datasources which are using DerbyDB and logs the following error in the Admin Server log:

<Sep 1, 2021 7:05:46,715 PM GMT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application "opss-audit-DBDS" due to error weblogic.application.ModuleException: java.net.ConnectException: Connection refused (Connection refused)
weblogic.application.ModuleException: java.net.ConnectException: Connection refused (Connection refused)
       at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:408)
...
Caused By: java.net.ConnectException: Connection refused (Connection refused)
...

Is there a way to provision the OUDSM domain without those datasources?

If not, can those datasources be deleted and how? Will there be any impact to the OUDSM console or WebLogic Server (WLS)?

Solution

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
Goal
Solution
References


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