TDM Portal 4.10.240.0 shutdown and will not restart
search cancel

TDM Portal 4.10.240.0 shutdown and will not restart

book

Article ID: 369998

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

The TDM portal service stopped automatically and does not restart. 

Environment

All supported releases of TDM Portal

Cause

In the startup.log we are seeing the following error:

SEVERE: Error initializing Catalina
|org.apache.catalina.LifecycleException: Failed to initialize component [StandardServer[-1]]
    at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:419)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:130)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:724)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:746)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ...
Caused by: java.lang.IllegalArgumentException: MALFORMED
    at java.util.zip.ZipCoder.toString(ZipCoder.java:58)
    at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:300)
    at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:122)
    at java.util.jar.JarInputStream.<init>(JarInputStream.java:83)
    at java.util.jar.JarInputStream.<init>(JarInputStream.java:62)
    at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:321)
    at org.apache.catalina.util.ExtensionValidator.addSystemResource(ExtensionValidator.java:174)
    at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1026)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:127)
    ... 21 more

Jun 14, 2024 2:39:16 PM org.apache.catalina.startup.Catalina load
INFO: Server initialization in [1029] milliseconds
Jun 14, 2024 2:39:16 PM org.apache.catalina.startup.Catalina start
SEVERE: The required Server component failed to start so Tomcat is unable to start.
|org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_stop]) for component [org.apache.catalina.deploy.NamingResourcesImpl@102cec62] in state [INITIALIZED]
    at org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:409)

 

Resolution

Based on the error, it appears that one or more of the microservice war files, or possibly a jar file is corrupt.  the first thing to try is to clear out all the subdirectories for the war files, and restart the CA Test Data Manager Portal service:

  1. Open a file explorer and go to the installation directory where Portal is installed.
    For example: 
    C:\Program Files\CA\CA Test Data Manager Portal\tomcat\webapps

  2. In the Webapps directory, delete all the subfolders, except for ROOT.
    Do not delete the ROOT directory, or any of the *.war files.

  3. Clear the Portal logs, and try restarting the TDM Portal service.
    When Tomcat first starts, it reads the *.war files (microservices used by Portal) and expands and creates new subfolders for each of the services where data gets cached.
    There could be corrupt data in one of these folders.


If that doesn't help, please zip up the contents of the tomcat\conf directory, open a support case, and provide a copy of the Portal logs, and a copy of the tomcat\conf directory for review.