Resolving connection or authentication issues by clearing out the TAC Cache

Symptoms

You may get errors when trying to make a change in TAC. However, even after adding and verifying the correct entries, you still get connection or authentication errors.

 

Diagnosis

Many times, old entries, such as old paths permissions or passwords, are stored in the Tomcat cache itself. You may make a change, but your Talend module, such as TAC or AMC, may still give you errors.

 

Solution

You can use the command line (Windows) or terminal (Unix/Linux) or a GUI client (Windows File Explorer, etc.) to make the changes—it makes no difference.

 

Windows

To resolve this:

  1. Stop Tomcat.
  2. Navigate to the [TAC]\apache-tomcat\temp and [TAC]\apache-tomcat\work folders. Delete the contents of these folders, but don't delete the folders themselves, they are needed for Tomcat to operate properly.
  3. Restart Tomcat, and the old cached values will be gone.

tomcat-temp-directory.png

tac_apache-tomcat_work.png

 

Unix / Linux

The procedure for Unix / Linux is the same as for Windows. The directories are the same, but the paths will use forward slashes ('/') instead of backslashes ('\').

Version history
Revision #:
9 of 9
Last update:
‎02-12-2018 05:05 PM
Updated by: