OC4J Configuration Assistant Fails During SSO 10.1.4.0.1 Installation With OID 10g And RDBMS 11g Metadata Repository (Doc ID 1130993.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Application Server Single Sign-On - Version 10.1.4.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 28-AUG-2015***

Symptoms

 

The problem and solution described below is specific to when Oracle OAS SSO 10g is being configured with OID 10g and RDBMS 11g Metadata Repository.

For configuration of Oracle SSO with Fusion MiddleWare (FMW) OID 11g see the following:

New Direction for Oracle Fusion Middleware 11g with Single Sign-On 10g (Doc ID 1364497.1)
How to Perform a New Installation of Oracle Portal 11g With Oracle Access Management 11g as Single Sign-On Solution ? (Doc ID 1436807.1)


During installation of Oracle SSO and DAS 10.1.4.0.1 with 11g RDBMS for Metadata Repository, the Oracle Univeral Installer (OUI) Configuration Assistant stage fails when running the OC4J Instance Configuration Assistant.

 
The Single Sign-On Configuration Assistant completes successfully.

The OUI log shows the following:
 

....
Calling updateConfig to notify DCM of new deployments...done.
Adding OC4J mount points for application 'wirelesssso'...done.
Adding OC4J mount points for application 'oiddas'...done.
Adding dependent libraries for application 'sso'...done.
Adding OC4J mount points for application 'sso'...done.
Calling SMI to save changes.
SMISession.saveChanges succeeded.
Binding web app 'wirelesssso-web' to default-web-site for application 'wirelesssso' in OC4J instance 'OC4J_SECURITY'
Web app 'wirelesssso-web' bound successfully.
Binding web app 'ui' to default-web-site for application 'oiddas' in OC4J instance 'OC4J_SECURITY'
Web app 'ui' bound successfully.
Binding web app 'web' to default-web-site for application 'sso' in OC4J instance 'OC4J_SECURITY'
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
Caused by: com.evermind.client.orion.AdminCommandException: Disconnected: RMIConnection Disconnected
at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:31)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:139)
... 9 more
Caused by: com.evermind.server.rmi.OrionRemoteException: Disconnected: RMIConnection Disconnected
at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
at __Proxy0.bindWebApp(Unknown Source)
at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:28)
... 10 more
ERROR: Caught exception while binding web app 'web' to default-web-site:
Calling updateConfig to notify DCM of new web-bindings...done.
Adding application 'wirelesssso' to the DCM repository...done.
Application 'wirelesssso' deployed successfully.
Adding application 'oiddas' to the DCM repository...done.
Application 'oiddas' deployed successfully.
Undeploying application 'sso' from OC4J instance 'OC4J_SECURITY'.
FAILED!
ERROR: Caught exception while undeploying 'sso' from 'OC4J_SECURITY':
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
Caused by: com.evermind.client.orion.AdminCommandException: IOException communicating with the remote server: Connection reset
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
... 9 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code))
at java.io.BufferedInputStream.fill(BufferedInputStream.java(Compiled Code))
at java.io.BufferedInputStream.read(BufferedInputStream.java(Compiled Code))
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2508)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2361)
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1800)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:725)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:106)
... 9 more
Removing OC4J mount points for application 'sso'...done.
 

The $ORACLE_HOME/sso/log/ssoServer.log shows an error connecting to the database:

 
......
Thu Jun 17 14:10:51 GMT+05:30 2010 [ERROR] ApplicationServerThread-12 DB connection error
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:315)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:276)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:646)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:307)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:360)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
......
 
 

The $ORACLE_HOME/opmn/logs/OC4J~OC4J_SECURITY~default_island~1 log shows error 'Invalid SSO DB schema information'. For example:
 
....
10/06/17 15:15:52 SSO: Initializing the encryption objects failed
10/06/17 15:15:52 oracle.security.sso.server.conf.ConfigurationException: Invalid SSO DB schema information
10/06/17 15:15:52 at oracle.security.sso.server.conf.DatabaseConfigReader.init(DatabaseConfigReader.java:418)
10/06/17 15:15:52 at oracle.security.sso.server.auth.AuthUtil.init(AuthUtil.java:194)
10/06/17 15:15:52 at oracle.security.sso.server.ui.SSOLoginServlet.init(SSOLoginServlet.java:284)
10/06/17 15:15:52 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
10/06/17 15:15:52 at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
10/06/17 15:15:52 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)
10/06/17 15:15:52 at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)
10/06/17 15:15:52 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)
10/06/17 15:15:52 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)
10/06/17 15:15:52 at com.evermind.server.Application.getHttpApplication(Application.java:890)
10/06/17 15:15:52 at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)
10/06/17 15:15:52 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)
10/06/17 15:15:52 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)
10/06/17 15:15:52 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)
10/06/17 15:15:52 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)
10/06/17 15:15:52 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)
10/06/17 15:15:52 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)
10/06/17 15:15:52 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
10/06/17 15:15:52 at java.lang.Thread.run(Thread.java:570)
10/06/17 15:15:52 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