Problem: Cannot log in to Administrator - java.lang.NoClassDefFoundError


When trying to log in to ArcIMS Administrator or Manager, the username and password are not accepted, the login fails, and the following error gets written out to the Application Server log file:

"java.lang.NoClassDefFoundError: com/esri/jx/xml/parsers/DocumentBuilderFactory in AdminServer."

Also, when the Application Server service starts, various Application Errors get printed to the system Event Viewer. These errors have the following descriptions:

"The description for Event ID (0) in Source (Aims_AppServer) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer."


The Classpath of the Java Virtual Machine is not pointing to the aimsmutil.jar file.

Solution or Workaround

ESRI will make sure the registry entry for the Java Virtual Machine includes all applicable paths, including the path to aimsmutil.jar file.

The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.

Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
  1. Open REGEDIT.
    1. Click Start > Run.
    2. Type 'REGEDIT' or 'regedit' and press Enter.
  2. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM\.
  3. Add a path to the aimsmutil.jar file to the existing Classpath. For example,
%systemroot%\java\classes;.;C:\Program Files\ArcGIS\ArcIMS\Middleware\lib\aimsmutil.jar;C:\Program Files\ArcGIS\ArcIMS\Middleware\lib\jsde82_sdk.jar
At ArcIMS 4.0.1, the jar file should be jsde83_sdk.jar
  1.   Reboot the machine and try to log in to Administrator again.

Related Information