HTTP 404 - Page not load in Unified Self-Services (USS)

Document ID : KB000007451
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When attempting to start USS, the service start but the page never loads, the liferay logs does not show any error message, catalina tomcat log shows the error bellow:

org.apache.catalina.core.ContainerBase addChildInternal
severe: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1636)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1OutputStream->org.bouncycastle.asn1.DEROutputStream->org.bouncycastle.asn1.ASN1OutputStream]
at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2179)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2126)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:2001)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1967)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1952)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1326)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5269)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more

wrapper-tomcat.log will show:

SEVERE: Error deploying configuration descriptor E:\Program Files\CA\Self Service\OSOP\tomcat-7.0.40\conf\Catalina\localhost\ROOT.xml
INFO | jvm 1 | 2017/08/16 16:05:22 | java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

Environment:
Unified Self-Services (USS) 14.1 and later
Cause:

There were corrupted data in the temporary files, corrupted data could be caused by improper shutdowns of the tomcat server, when this occur the data of the temporary files become corrupted and it prevent the server to start over again correctly. This issue also occurs after manually editing portal-log4j-ext.xml to increase/decrease log level.

Resolution:

Delete the contents of the temporary files and restart the services.

1. Access the server and locate the installation folder of USS.

2. Ensure that the USS services are shutdown.

3. Locate the following directory and delete the contents of it.

     ..\Program Files\CA\Self Service\OSOP\tomcat-7.0.40\work

4. Start the USS service and wait for a couple of minutes until the server is running completely.