Contact Us

If you still have questions and are an active SimuTech customer, please submit a request.

  • Ansys Training
  • Skills Center
  • Consulting
  • About
  • Contact Support
  • Home

  • Installation

      • Troubleshooting

          • Errors & Solutions

              • License Management

                  • Info

                      • Remote Solve Manager

                          • Employee Login

                          Can't find what you're looking for?

                          Contact Support

                          Installation & Licensing Center

                          • Home
                          • Installation
                            Installation Guides Installation Tasks Requirements & Info Optional Configurations Uninstallation
                          • Troubleshooting
                            Troubleshooting Guides License Manager Connectivity Issues License Checkout Issues Application Functionality Issues Windows OS / Hardware Issues CAD Plugin Issues Project Specific Issues Uninstallation Guides Diagnostic Resources & Logs Other Tasks
                          • Errors & Solutions
                            Behavior Based Issues & Solutions Error Messages & Solutions
                          • License Management
                            FlexNet Licensing Shared Web Licensing Elastic Licensing Licensing Portal Administration License Borrowing Reporting & Usage Stats Other
                          • Info
                          • Remote Solve Manager
                          + More

                          ERROR - Gather Diagnostic Information Fails with NoClassDefFoundError CountingOutputStream on Linux

                          Authored by Heribert Colombo November 10th, 2026 5 views 0 likes KB4108322

                          ERROR

                          On a Linux license server, gathering diagnostic information fails in both the License Management Center web interface and the gatherdiagnostics command-line script.

                          • Clicking Gather Diagnostic Information in License Management Center (http://localhost:1084/ANSYSLMCenter.html) never completes, and you cannot save anything.
                          • Running gatherdiagnostics from the licensing directory creates a 0-byte .tar.gz file.

                          The diagnostics utility reports the following error:

                          java.lang.NoClassDefFoundError: org/apache/commons/io/output/CountingOutputStream
                          at lmcenter.GatherDiagnosticsThread.MakeTarArchiveOutputStream(GatherDiagnosticsThread.java:825)
                          at lmcenter.GatherDiagnosticsThread.InitializeArchiveStream(GatherDiagnosticsThread.java:844)
                          at lmcenter.GatherDiagnosticsThread.gather(GatherDiagnosticsThread.java:891)
                          
                          Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.output.CountingOutputStream

                          Software & Version

                          Ansys License Manager 2025 R2 (License Management Center and gatherdiagnostics) on Linux, with an Ansys FlexNet license server. Fixed in 2026 R1.
                          *This documented instance of this error occurred in this version but is not necessarily limited to this version.

                          Description/Cause

                          The diagnostics utility depends on an Apache Commons IO library that is missing from the 2025 R2 Linux installation. A commons-compress-*.jar is present under tools/tomcat/lib, but there is no matching commons-io-*.jar under the licensing directory.

                          This is not a permissions problem. The license manager runs as a dedicated non-root user, and the output directory is writable. On 2025 R2, running the utilities as root, as a different user or with sudo does not help, and neither does switching browsers.

                          *The cause(s)/solution(s) we identified in this documented instance may not be the only cause(s)/solution(s) for this error.

                          Solution

                          Cannot Upgrade Right Away?

                          Ask SimuTech Support to help you collect the license log files manually, such as the FlexNet debug log and license usage files.

                           

                           

                          Upgrade the Ansys License Manager

                          Upgrading to 2026 R1 or later restores the missing library.

                          1. Download the 2026 R1 (or later) Ansys License Manager installer for Linux from the Ansys Customer Portal. For download steps, see the Ansys Download & Installation Guide.
                          2. Run the installer over the existing license manager installation, using the same account that owns the licensing directory.

                            Note: If the server has no Graphical Interface, review the prerequisites and follow HOW TO - Install the Ansys License Manager on Linux Without a GUI (Silent Install). If it has a desktop, you can use the GUI installer.
                          3. Restart the license manager services and, if you use it, License Management Center. To check that the license manager is running, see HOW TO - Verify the Ansys License Manager Is Running.

                           


                           

                          Verify the Fix Worked

                          1. Gather diagnostics again, using either method:
                            • To use License Management Center: open License Management Center (HOW TO - Open the Ansys License Management Center), click Gather Diagnostic Information, and save the archive.
                            • To use the command line: change to a writable output directory, then run gatherdiagnostics from the licensing directory as the user that owns it.
                          2. Check that the resulting .tar or .tar.gz file is larger than 0 bytes. Open it and check that it contains the license log and usage data.

                           

                          Note: To review the usage data on another computer, see HOW TO - Review FlextNet License Usage Data from a Different Computer. 

                          noclassdeffounderrorcountingoutputstreamgatherdiagnosticslicense management centeransys license managercommons-io0-byte tar.gzflexnet linuxdiagnostics failsjava.lang.noclassdeffounderror

                          Was this helpful?

                          Yes
                          No

                          0 out of 0 found it helpful

                          Related Articles

                          ERROR - Ansys License Manager Won't Start

                          ERROR - Capability ANSYS IcePak does not exist in the ANSYS licensing pool.

                          ERROR - ANSYS Electronics Desktop Will Not Launch After Windows Update

                          ERROR - "Failed to Enable Feature" - Pro, Premium, Enterprise Licensing Available on Server

                          Popular Articles

                          Ansys Download & Installation Guide

                          INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

                          HOW TO - Uninstall Ansys Software

                          HOW TO - Test & Fix FlexNet License Manager Connectivity Issues

                          HOW TO - Install an Ansys FlexNet License Key/File

                          Was this helpful?

                          Yes
                          No
                          Give feedback about this article

                          Can't find what you're looking for?

                          Contact Support

                          Recently Updated

                          • ERROR - Gather Diagnostic Information Fails with NoClassDefFoundError CountingOutputStream on Linux
                          • HOW TO - Download the Ansys Electronics Package (HFSS, Maxwell, Icepak, SIwave, Nuhertz)
                          • INFO - Ansys Hardware Recommendations & Supported 3rd Party Software
                          • HOW TO - Obtain Usage Data for Usage Reporting
                          • HOW TO - Fix Ansys Installation / Functionality Issues
                          • HOW TO - Edit the Windows Hosts File
                          • HOW TO - Verify the Ansys License Manager Is Running
                          • ERROR - Framework Error Caught When Opening Workbench Files
                          • HOW TO - Create an Environment Variable
                          • General Inquiries & Sales:
                          • (800) 566-9190
                          • Info@SimuTechGroup.com
                          • Contact Support
                          • Software
                          • Services
                          • Case Studies
                          • Ansys Training
                          • Consulting
                          • Technical Support
                          • About SimuTech
                          • Careers
                          • Privacy

                          © 2025 SimuTech Group


                          Knowledge Base Software powered by Helpjuice

                          Definition by Author

                          0
                          0
                          Expand NEW TAB

                          Hi there! 👋

                          How are you liking the Installation Center?

                          Terrible

                          Bad

                          OK

                          Good

                          Excellent

                          Feedback Successfully submitted