EBS R12重启后无法进入登录页面
应用启动正常,但无法进入登录页面:
The webpage cannot be found HTTP 404 ... No known changes had been made and the Middle-Tier Services appear to start without problems.
The error_log shows 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/oacoreml: Error instantiating compiler: Web service artifact generation failed:java.lang.InstantiationException: IO Error reading WEB-INFdlrp_service.wsdl in $COMMON_TOP/webapps/oacoreml: $ORA_CONFIG_HOME/ora/10.1.3/j2ee/oacore/application-deployments/oacoremlrver-wsdlrp_service.wsdl (Permission denied)... CAUSEThis problem occurrs because the file 'wsrp_service.wsdl' is owned by the 'root' User, but the Middle-Tier Services are started by the APPLMGR User.
A similar issue is reported in unpublished Bug 8240458 which describes the same issue with AppsLogin not working and error_log reporting 'File does not exist' for AppsLogin with the path pointing to PORTAL_TOP instead of OA_HTML. This bug identifies the problem as being caused by the file wsrp_service.wsdl being owned by root instead of the applmgr as expected. This results in the Permission Denied errors when Apache starts and causes the eventual login issues.
This may happen if, at some previous time, the Middle-Tier Services have been accidentally (re)started by the 'root' User instead of the APPLMGR User.SOLUTIONTo get the issue resolved, please implement following steps :Ensure that the file $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/application-deployments/oacoremlrver-wsdlrp_service.wsdl is owned by the APPLMGR User:
1. Open a new shell and source the APPS Environment.
2. Execute following command to see the access rights on the file: ls -l $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/application-deployments/oacoremlrver-wsdlrp_service.wsdl
If the output shows 'root' as the owner, then please change the access rights of the file to be owned by the APPLMGR User. Please be aware :To be able to change the access rights you need the root user privilege!
3. Within the open shell change to the root User access, change the access rights and verify the access rights again.