Email Confirmation fails to process email responses with error java.lang.NoClassDefFoundError
The Atlas Email Confirmation function fails to process email responses from custodians and the java.lang.NoClassDefFoundError error is seen in the logs.
When the Email Receiver Task executes, the status will end up showing that an error occurred. In the Atlas application logs the following exception is thrown when processing emails from the confirmation mailbox:
[2012-06-27 11:05:00,237] SimpleThreadPoolWorker-2 com.secretseal.policyatlas.util.EmailReceiverTask ERROR - SimpleThreadPoolWorker-2 Failed to execute the job com.secretseal.policyatlas.util.EmailReceiverTask@160a65a context com.secretseal.policyatlas.timer.AtlasJobContext@49627e java.lang.Exception: java.lang.NoClassDefFoundError: org/htmlcleaner/HtmlCleaner
In newer fix pack versions of the WebSphere 6.1 application server the htmlcleaner2_1.jar library used by the Atlas application conflicts with the WebSphere library files that are loaded upon starting the application server.
Environments that use the WebSphere 6.1 application server.
Diagnosing the problem
View the Timer Task Log screen to check the status of the Email Receiver Task. Then view the Atlas application logs for errors related to the processing by the Email Receiver Task.
Resolving the problem
To fix this issue, the htmlcleaner2_1.jar that is used by the Atlas application needs to be added directly to the WebSphere classpath. The htmlcleaner2_1.jar is contained within the PolicyAtlas.ear file that used to deploy the application. In order to extract it you'll want to copy the PolicyAtlas.ear to a temporary directory. Then use either a tool like Winzip or the Java jar command to extract the contents. The htmlcleaner2_1.jar will be under the WEB-INF/lib directory.
Once you obtain a copy of the htmlcleaner2_1.jar library, copy it to the root Atlas folder and place it in the "lib" directory. Then you will want to update the WebSphere classpath to contain an entry pointing directly to the htmlcleaner2_1.jar. Once the changes are made, restart the WebSphere application server.
More support for:
Atlas eDiscovery Process Management
Software version: 3.0, 4.5.1, 4.5.2, 5.0.1, 6.0, 6.0.1, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206
Operating system(s): Linux, Solaris, Windows
Reference #: 1606246
Modified date: 11 December 2012
Translate this page: