AAA, NAC, Guest Access & BYOD

 View Only
last person joined: one year ago 

Solutions for legacy and existing products and solutions, including Clearpass, CPPM, OnBoard, OnGuard, Guest, QuickConnect, AirGroup, and Introspect

How do I clear the Tomcat cache on my NAC appliance? 

Jun 30, 2014 09:06 PM

Product and Software: This article applies to all ECS product and software versions earlier than 3.1.8. In NAC appliance versions later than 3.1.8, installing updates automatically clears the Tomcat cache. When you are applying a patch, this applies to all versions.

 

You will sometimes need to clear the Tomcat cache on your NAC appliance, such as when:

  • Adding a patch
  • Upgrading from 2.x firmware
  • Getting java.lang.NullPointerException
  • Troubleshooting admin GUI connection issues

This solution describes clearing both the tomcat-admin cache and the tomcat-portal cache. For a NAC server such as NS500, both caches are on the same box. Otherwise, the tomcat-admin is located on the Network Control Server (such as NS1200), and the tomcat-portal is on the Network Application Server (such as NS8200).

This procedure assumes you have separate control and application servers. If instead you have an NS500, you can clear both caches before restarting the NAC appliance.

You need to have root access to the CLI.

On the Network Control Server:

1) Access the NAC appliance CLI, and log in as root.

2)  Stop the tomcat-admin service:

/etc/init.d/tomcat-admin stop

3) Clear the tomcat-admin cache:

cd /bsc/services/tomcat-admin/work/Catalina/cm
rm –rf *

4) Restart the tomcat-admin service:

/etc/init.d/tomcat-admin restart

On the Network Application Server:

1) Access the NAC appliance CLI and log in as root.

2) Stop the tomcat-portal service by entering the following command:

/etc/init.d/tomcat-portal stop

3) Clear the tomcat-portal cache:

/bsc/services/tomcat-portal/work/Catalina/isolation/
rm –rf *

4) Restart the tomcat-portal service:

/etc/init.d/tomcat-portal restart

 

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.