Search code examples
javatomcatsolrxampptomcat7

Unable to edit Tomcat Java options in XAMPP


I'm looking to get an instance of Solr search running on my localhost. The directions call for pointing Tomcat to the Solr home directory by editing

C://Xampp/tomcat/bin/tomcat7w.exe

and modifying the Java options tab.

When I try to open the file I get this error:

"The specified service does not exist as an installed service. Unable to open the service 'tomcat7'"

When I initiate Tomcat on XAMPP and navigate to localhost:8080, it seems all is well.


Solution

  • It is installed, but is it installed as a Windows service? Check in Control Panel/Administrative/Services. If it is, open its properties and note the short name. Then rename Tomcat7w.exe to XXXXXw.exe where XXXXX is the short name. If it isn't installed as a service, go to the Tomcat bin directory and type service install Tomcat7.