CA Strong Authentication Java components like UDS does not deploy with Tomcat 8.0

book

Article ID: 8068

calendar_today

Updated On:

Products

CA Rapid App Security CA Advanced Authentication CA API Gateway

Issue/Introduction

CA Arcot Java web applications like arcotuds  and arcotadmin do not deploy successfully using Apache Tomcat/8.5.16. The arcotusd.log and arcotadmin.log are not created for the these applications under "<ARCOT_HOME>/logs" directory. Also, catalina logs show these error footprints: 

SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file

 

Cause

Prime cause is incompatibility issue with the under lying Java installed on the machine. Specific 8.5.x vesions of Tomcat will require Java 1.7 instead on Java 1.8.0

Environment

Development/UAT/Production

Resolution

1. Install Java 1.7.x

2. Clear the temporary files (work folder for tomcat)

3. Re-Deploy arcotuds.war and arcotadmin.war

3. In case the issue continues 

Navigate to say arcotuds folder <TOMCAT_HOME>\webapps\arcotds\WEB-INF\classes directory. Create a file called logging.properties and add these two statements to logging.properties.  

org.apache.catalina.core.ContainerBase.[Catalina].level=INFO 
org.apache.catalina.core.ContainerBase.[Catalina].handlers=java.util.logging.ConsoleHandler 

The restart tomcat server. Now, catalina logs will have a full stack trace of the issue. The stack trace will allow one to diagnose and facilitate remediation. 

 

Additional Information

None.