Hi,
I have been testing with Wampserver 3.0.3 and Tomcat service simulating by the real rpclocator service that is useless with Windows 7 (It exists just for compatibility reasons).
The modifications I made in files Wampserver 3.0.3
- wamp/wampmanager.conf
[service]
ServiceApache = "wampapache"
ServiceMysql = "wampmysqld"
ServiceTomcat = "rpclocator"
- wamp/wampmanager.tpl
[Services]
Name: ${c_apacheService}
Name: ${c_mysqlService}
Name: ${c_tomcatService}
;WAMPSTARTUPACTIONSTART
Action: run; FileName: "${c_phpCli}"; Parameters: "refresh.php";WorkingDir: "${c_installDir}/scripts"; Flags: waituntilterminated
Action: resetservices
Action: readconfig;
Action: service; Service: ${c_apacheService}; ServiceAction: startresume; Flags: ignoreerrors
Action: service; Service: ${c_mysqlService}; ServiceAction: startresume; Flags: ignoreerrors
Action: service; Service: ${c_tomcatService}; ServiceAction: startresume; Flags: ignoreerrors
;WAMPSTOPALLSTART
Action: service; Service: ${c_apacheService}; ServiceAction: stop; Flags: ignoreerrors
Action: service; Service: ${c_mysqlService}; ServiceAction: stop; Flags: ignoreerrors
Action: service; Service: ${c_tomcatService}; ServiceAction: stop; Flags: ignoreerrors
;WAMPSTOPALLEND
;WAMPRESTARTALLSTART
Action: service; Service: ${c_apacheService}; ServiceAction: stop; Flags: ignoreerrors waituntilterminated
Action: service; Service: ${c_mysqlService}; ServiceAction: stop; Flags: ignoreerrors waituntilterminated
Action: service; Service: ${c_tomcatService}; ServiceAction: stop; Flags: ignoreerrors
Action: service; Service: ${c_apacheService}; ServiceAction: startresume; Flags: ignoreerrors waituntilterminated
Action: service; Service: ${c_mysqlService}; ServiceAction: startresume; Flags: ignoreerrors waituntilterminated
Action: service; Service: ${c_tomcatService}; ServiceAction: startresume; Flags: ignoreerrors
;WAMPRESTARTALLEND
;WAMPMYEXITSTART
Action: service; Service: ${c_apacheService}; ServiceAction: stop; Flags: ignoreerrors
Action: service; Service: ${c_mysqlService}; ServiceAction: stop; Flags: ignoreerrors
Action: service; Service: ${c_tomcatService}; ServiceAction: stop; Flags: ignoreerrors
Action: exit
;WAMPMYEXITEND
- wamp/scripts/config.inc.php
$c_apacheService = $wampConf['ServiceApache'];
$c_mysqlService = $wampConf['ServiceMysql'];
$c_tomcatService = $wampConf['ServiceTomcat'];
The simulated Tomcat service (rpclocator) starts when Wampserver starts and stops when exit Wampserver.
I think that the only thing you have to do is to write the name of Tomcat service in place of rpclocator
ServiceTomcat = "rpclocator"
in wampmanager.conf.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addonsEdited 1 time(s). Last edit at 02/20/2016 11:53AM by Otomatic.