AppsLogin Page Not Opening In R12.1.1 With "File Does Not Exist" Error

Error Message:

AppsLogin Page Not Opening In R12.1.1 With "File Does Not Exist" Error.

Symptoms:

When trying to login on 12.1.1 after restarting the services, the login page fails to open and shows the error:
The webpage cannot be found
HTTP 404
No known changes had been made and the services appear to start without problems.

The error_log showed errors like:

File does not exist: <PORTAL_TOP>/OA_HTML/AppsLogin
No obvious errors were found in the other log files apart from
$LOG_HOME/ora/10.1.3/j2ee/oacore/oacore_default_group_1/log.xml which reports:
Internal error raised tyring to instantiate web-application: html defined in web site OC4J 10g (10.1.3) Default Web Site. Error compiling
:$COMMON_TOP/webapps/oacore/html: Error instantiating compiler: Web service artifact generation failed:java.lang.InstantiationException: IO Error reading
WEB-INF/wsdl/wsrp_service.wsdl in $COMMON_TOP/webapps/oacore/html: $ORA_CONFIG_HOME/ora/10.1.3/j2ee/oacore/applicationdeployments/
oacore/html/server-wsdl/wsrp_service.wsdl (Permission denied)

Cause:

  • This problem occurred because wsrp_service.wsdl was owned by root but the services were being started by applmgr.

  • This may happen if, at some previous time, the services had been accidentally restarted by root instead of applmgr.

Solution :

Ensure that the file
$ORA_CONFIG_HOME/10.1.3/j2ee/oacore/application-deployments/oacore/html/server-wsdl/wsrp_service.wsdl
is owned by the applmgr for the instance.