Is This Content Helpful?
We're glad to know this article was helpful.
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
Typically, Jakarta files are installed in a directory named, for example, "jakarta-tomcat-3.2.x". By merely shortening this directory name, you may be able to significantly reduce the length of the problematic registry value to less than 256 characters. You can uninstall and then reinstall the service using the below instructions as a workaround.
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.