000021429 - How to resolve RSA ClearTrust PasswordChanger class loading error

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000021429
Applies ToRSA ClearTrust 5.5.2 Administrative Java API
IssueHow to resolve RSA ClearTrust PasswordChanger class loading error
Sample Web application changepw.war is deployed successfully, with the web.xml configured properly for the ClearTrust server connection parameters. Upon attempting to browse to <appserver>/changepw/index.jsp, JSP runtime compilation fails with an error indicating that the sirrus.samples.admin.PasswordChanger class cannot be loaded.
CauseThere were changes in the Administrative API that necessitate a rebuild of components of the changepw.war to maintain compatibility
ResolutionSample changepw.war is implemented with the Administrative API components "exploded" under the WEB-INF/classes path. Since the Administrative API has had significant changes since the initial ClearTrust 5.5.2 release, the recommended approach is to remove all WEB-INF/classes/sirrus subdirectories except for the samples directory. As a replacement for these deleted classes, place the latest version of ct_admin_api.jar under WEB-INF/lib.  Then, recompile PasswordChanger.java against the latest ct_admin_api.jar, and replace the original WEB-INF/classes/sirrus/samples/admin/PasswordChanger.class with the new class file. Lastly, restart the application server.
Legacy Article IDa22902