Skip to main content
Mitratech Success Center

Client Support Center

Need help? Click a product group below to select your application and get access to knowledge articles, webinars, training content, and release notes or to contact our support team.

Authorized users - log in to create a ticket, view tickets status and check your success plan details.


How to resolve a "Truncated class file" error that occurs when logging out of TC

Here's how to resolve a "Truncated class file" error that occurs when logging out of TC!

 When logging out from TeamConnect you may receive an error stating:
“HTTP Status 500: The server encountered an internal error () that prevented it from fulfilling this request…. java.lang.ClassFormatError: Truncated class file.”

TCKB - Resolve truncated class file error (Image 1).jpg

This error may appear when a user logs out of TeamConnect while objects are still open for editing.

This error results because the TeamConnect web application was not loaded correctly by Tomcat after it was deployed.

To resolve this error, please follow these steps:

1. Stop Apache Tomcat on your TeamConnect application server.

2. Delete the contents of this folder: $CATALINA_HOME/work/Catalina/localhost/TeamConnect… (where $CATALINA_HOME is the home directory for Apache Tomcat).

3. Restart Apache Tomcat.

Deleting the work folder for TeamConnect will cause Apache Tomcat to properly recompile TeamConnect pages, resulting in this (correct) screen when a user logs out with unsaved items.

TCKB - Resolve truncated class file error (Image 2).jpg

Please note the likely cause of Tomcat’s failure to properly deploy the TeamConnect web application is that your application server’s JVM settings are incorrect. Please check your JVM settings in $CATALINA_HOME/conf/tomcat6.conf and verify that they match the settings recommended in the Team Connect Enterprise Installation Guide.