Unable to Start OC4J_SECURITY - oracle.security.sso.server.util.DBException: Could not create DB connection pool (Doc ID 978257.1)

Last updated on JUNE 30, 2017

Applies to:

Oracle Application Server Single Sign-On - Version 10.1.2.0.2 to 10.1.2.3 [Release 10gR2]
Oracle Internet Directory - Version 10.1.2.0.2 to 10.1.2.3 [Release 10gR2]
Information in this document applies to any platform.
***Checked for relevance on 28-Jan-2013***

Symptoms

Unable to start OC4J_SECURITY;

OPMN command fails with errors shown here;


bash-3.00$ /appl/infra/opmn/bin/opmnctl startproc process-type=OC4J_SECURITY
opmnctl: starting opmn managed processes...
================================================================================
opmn id=APEXBOS:6200
0 of 1 processes started.

ias-instance id=appbos.apexbos
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/OC4J_SECURITY/default_island

Error
--> Process (pid=5827)
time out while waiting for a managed process to start
Log:
/appl/infra/opmn/logs/OC4J~OC4J_SECURITY~default_island~1


OC4J~OC4J_SECURITY~default_island~1 log file shows the following;


09/11/16 10:34:40 Warning: Error reading transaction-log file (/appl/infra/j2ee/OC4J_SECURITY/persistence/OC4J_SECURITY_default_island_1/transaction.state) for recovery: premature end of file
09/11/16 10:34:40 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
09/11/16 10:34:40 Recovery completed, 0 connections committed and 0 rolled back...
09/11/16 10:34:43 DAS servlet init enter
09/11/16 10:34:43 oiddas: Release 10.1.2.1.0 Production Started
09/11/16 10:34:47 DAS servlet init exit
09/11/16 10:34:49 SSOLoginServlet.init: Starting up SSO server ...
09/11/16 10:34:49 Initilize NLS utility...
09/11/16 10:34:49 Reading SSO server policy....
09/11/16 10:34:49 SSO: Entered FilePolicyManager constructor ...
09/11/16 10:34:49 SSO: FilePolicyManager: done loading the /appl/infra/sso/conf/policy.properties file
09/11/16 10:34:49 SSO: Leaving FilePolicyManager constructor ...
09/11/16 10:34:49 SSODebug: Done loading the debug file, /appl/infra/sso/log/ssoServer.log
09/11/16 10:34:50 SSO: DB Error. Please make sure the database is available and restart SSO Server
09/11/16 10:34:50 oracle.security.sso.server.util.DBException: Could not create DB connection pool of: jdbc:oracle:thin:@ldap://apexbos:389/appbos,cn=oraclecontext
09/11/16 10:34:50 at oracle.security.sso.server.util.DBConnectionPool.init(DBConnectionPool.java:181)
09/11/16 10:34:50 at oracle.security.sso.server.util.DBConnectionPool.init(DBConnectionPool.java:82)
                                        :
                                        :
09/11/16 10:34:50 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
09/11/16 10:34:50 at java.lang.Thread.run(Thread.java:534)
09/11/16 10:34:50 SSO: FAILED TO START SSO SERVER!



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