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 to [Release 10gR2 to 10gR3]
Information in this document applies to any platform.
***Checked for relevance *** ***30-jul-2013***


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.


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
at oracle.security.sso.server.util.DBConnectionPool.init(DBConnectionPool.java:135)


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 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!


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.


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