My Oracle Support Banner

OC4J_Security Failing or Unable to Start with LoadBalancer (Doc ID 1316578.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Application Server Single Sign-On - Version 10.1.2.0.2 to 10.1.4.3 [Release 10gR2 to 10gR3]
Information in this document applies to any platform.
***Checked for relevance *** ***30-jul-2013***

Symptoms

OC4J_SECURITY /SSO server was unable to start and was failing with below error in ssoServer.log and OC4J_SECURITY~default_island~1.log file


NOTE: Here tim-vip.internal.oracle.com was load balancer used here in the example and app3.internal.oracle.com was actual physical hostname where SSO was installed and running.



1.ORACLE_HOME/sso/log/ssoServer.log

......
........
Wed Mar 30 10:40:40 EST 2011 [ERROR] Orion Launcher Could not get DB connect information from Repository API
oracle.ias.repository.schema.SchemaException: Unable to establish connection to the Oracle Internet Directory Server ldap://tim-vip.internal.oracle.com:3060/. Base Exception : javax.naming.CommunicationException: tim-vip.internal.oracle.com:3060 [Root exception is java.net.ConnectException: Connection refused]

at oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:134)
at oracle.ias.repository.IASSchema.getColocatedDBConnect(IASSchema.java:684)
.......
Wed Mar 30 10:40:40 EST 2011 [ERROR] Orion Launcher SSO: DB Error. Please make sure the database is available and restart SSO Server
oracle.security.sso.server.util.DBException: Empty DB connect string. Could not create DB connection poo
l
at oracle.security.sso.server.util.DBConnectionPool.init(DBConnectionPool.java:135)
..........


2.ORACLE_HOME/opmn/log/OC4J_SECURITY~default_island~1.log


11/03/30 12:08:07 Start process
--------
11/03/30 11:08:09 Warning: Error reading transaction-log file (/opt/oracle/product/10.1/AS/IM/j2ee/OC4J_SECURITY/persistence/OC4J_SECURITY_default_island_1/transaction.state) for recovery: premature end of file
11/03/30 11:08:09 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
11/03/30 11:08:09 Recovery completed, 0 connections committed and 0 rolled back...
11/03/30 11:08:10 DAS servlet init enter
11/03/30 11:08:10 oiddas: Release 10.1.2.2.0 Production Started
11/03/30 11:08:11 DAS servlet init exit
11/03/30 11:08:11 SSOLoginServlet.init: Starting up SSO server ...
11/03/30 11:08:11 Initilize NLS utility...
11/03/30 11:08:11 Reading SSO server policy....
11/03/30 11:08:11 SSO: Entered FilePolicyManager constructor ...
11/03/30 11:08:11 SSO: FilePolicyManager: done loading the /opt/oracle/product/10.1/AS/IM/sso/conf/policy.properties file
11/03/30 11:08:11 SSO: Leaving FilePolicyManager constructor ...
11/03/30 11:08:11 SSODebug: Done loading the debug file, /opt/oracle/product/10.1/AS/IM/sso/log/ssoServer.log
11/03/30 11:08:11 SSO: DB Error. Please make sure the database is available and restart SSO Server
11/03/30 11:08:11 oracle.security.sso.server.util.DBException: Empty DB connect string. Could not create DB connection pool

11/03/30 11:08:11 at oracle.security.sso.server.util.DBConnectionPool.init(DBConnectionPool.java:135)
11/03/30 11:08:11 at oracle.security.sso.server.util.DBConnectionPool.init(DBConnectionPool.java:85)
11/03/30 11:08:11 at oracle.security.sso.server.ui.SSOLoginServlet.init(SSOLoginServlet.java:257)
11/03/30 11:08:11 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
.........
11/03/30 11:08:11 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
11/03/30 11:08:11 at java.lang.Thread.run(Thread.java:534)
11/03/30 11:08:11 SSO: FAILED TO START SSO SERVER!



Changes


OID SSL port 3131 was disabled long back(1 or 2 months prior) and was working fine, but this issue was seen only when sso was restarted/reinitialized that the problem was encountered.

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.