OC4J_SECURITY Fails To Start After Restoring File System Backup (Doc ID 1077461.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Application Server Single Sign-On - Version 10.1.4 and later
Information in this document applies to any platform.
***Checked for relevance on 03-MAR-2016***


Symptoms

OC4J_SECURITY fails to start after restore from file system backup.

Users see HTTP-500 Internal Server Error attempting to perform Oracle Single Sign-On (SSO) login.

The $ORACLE_HOME/opmn/logs/OC4J~OC4J_SECURITY~default_island~1 log file shows entries that indicate that redeploy of the 'sso' application is failing:

--------
10/03/20 02:25:28 Start process
--------
10/03/20 02:25:29 Auto-unpacking /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/oiddas.ear... done.
10/03/20 02:25:29 Auto-unpacking /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/oiddas/ui.war... done.
10/03/20 02:25:29 Auto-deploying oiddas (Assembly had been updated)...
10/03/20 02:25:29 /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso/web/pages/images/helps.gif could not be deleted ...ArchiveContext.close() returns false Read: true Write: false
10/03/20 02:25:29 
/u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso/web/pages/images/lowerboxsl.gif could not be deleted ...ArchiveContext.close() returns false Read: true Write: false
....
....
10/03/20 02:25:29 /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso could not be deleted ...ArchiveContext.close() returns false Read: true Write: true
10/03/20 02:25:29 WARNING: ApplicationServer.autoUnpack(): Unable to remove /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso
10/03/20 02:25:29 Auto-unpacking /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso.ear... done.

10/03/20 02:25:29 Auto-unpacking /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso/ssohelp.war... done.
10/03/20 02:25:29 Auto-unpacking /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso/pls.war... done.
10/03/20 02:25:29 Auto-deploying sso (Assembly had been updated)...
10/03/20 02:25:30 Auto-deploying file:/u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/oiddas/ui/ (Assembly had been updated)...
10/03/20 02:25:30 Error instantiating application 'sso' at file:/u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso.ear: Error loading web-app 'web' at /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso/web: Unable to find/read assembly info for /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso/web (WEB-INF/web.xml)
10/03/20 02:25:30 Warning: Error reading transaction-log file (/u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/persistence/OC4J_SECURITY_default_island_1/transaction.state) for recovery: premature end of file
10/03/20 02:25:30 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
10/03/20 02:25:30 Recovery completed, 0 connections committed and 0 rolled back...
10/03/20 02:25:30 DAS servlet init enter
10/03/20 02:25:30 oiddas: Release 10.1.4.3.0 Production Started
10/03/20 02:25:31 [severe] cannot startup application controller
java.lang.NoSuchMethodError: oracle.idm.connection.ConnectionPool$Monitor.schedule(J)V
at oracle.ldap.das.dmvc.application.Data.setConnectionPool(Data.java:140)
at oracle.ldap.das.dmvc.application.Data.(Data.java:52)
at oracle.ldap.das.dmvc.application.Controller.(Controller.java:55)
at oracle.ldap.das.dmvc.application.Controller.getInstance(Controller.java:78)
at oracle.ldap.das.dmvc.application.Controller.doStartup(Controller.java:92)
at oracle.ldap.das.util.OIDDASServlet.init(OIDDASServlet.java:54)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at oracle.cabo.servlet.UIXServlet.init(Unknown Source)
at oracle.cabo.servlet.BajaServlet.init(Unknown Source)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)
at com.evermind.server.http.HttpApplication.(HttpApplication.java:549)
at com.evermind.server.Application.getHttpApplication(Application.java:890)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
at java.lang.Thread.run(Thread.java:534)
.
10/03/20 02:25:31 Error initializing site OracleAS Java Web Site: Error loading web-app 'web' at /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso/web: Unable to find/read assembly info for /u01/software/product/10.1.4im/j2ee/OC4J_SECURITY/applications/sso/web (WEB-INF/web.xml)
10/03/20 02:25:31 Auto-deploying Oracle Application Server Single Sign-On Online Help (Assembly had been updated)...
10/03/20 02:25:32 [severe] cannot shutdown application controller
java.lang.NullPointerException
at oracle.ldap.das.dmvc.application.Controller.doShutdown(Controller.java:104)
at oracle.ldap.das.util.OIDDASServlet.destroy(OIDDASServlet.java:38)
at com.evermind.server.http.ServletInstanceInfo.destroy(ServletInstanceInfo.java:116)
at com.evermind.server.http.ServletInstanceInfo.finalize(ServletInstanceInfo.java:108)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)


Files such as the JSPs in $ORACLE_HOME/j2ee/OC4J_SECURITY/applications/sso/web/pages were there on restore but after restart of OC4J_SECURITY they no longer exist.

Changes

The SSO ORACLE_HOME was restored from file system backup.

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