PROBLEM
Attempting to start the Jakarta Tomcat service using the TomcatService.exe or JavaService.exe produces internal errors such as:
From Control Panel Services:
"Could not start the Jakarta service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, contact your system administrator."From the command prompt using "net start Jakarta":
"The Jakarta service is starting. The Jakarta service could not be started. The service did not report an error."In the Windows Application Event Log there will be the following entry:
"The RegQueryValueEx function failed for the following reason: The operation completed successfully."
The TomcatService.exe and JavaService.exe cannot read a registry value that exceeds 256 characters. The specific registry key is:
HKEY_LOCAL MACHINE\SYSTEM\CurrentControlSet\Services\Jakarta\Parameters\JVM Option Number 2
Caution: Do not attempt to edit the registry value as it will not fix the problem. However, you can use the Registry Editor to determine if this entry exceeds the 256 character limit.
Warning: 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.
Get help from ArcGIS experts
Download the Esri Support App