Installation & Licensing Center
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
gatherdiagnosticsfrom the licensing directory creates a 0-byte.tar.gzfile.
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.CountingOutputStreamSoftware & 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.
- 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.
- 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. - 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
- 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
gatherdiagnosticsfrom the licensing directory as the user that owns it.
- Check that the resulting
.taror.tar.gzfile 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.