Unable to edit Tomcat Java options in XAMPP

落花浮王杯 提交于 2019-12-10 21:41:17

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/11266024/unable-to-edit-tomcat-java-options-in-xampp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!