Changes between Initial Version and Version 1 of Ticket #953
- Timestamp:
- 04/04/09 14:34:45 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #953 – Description
initial v1 5 5 - Manually configure Apache 6 6 7 Although it would be great to offer a bare Tomcat option, this would take a lot of work (removing the options for Apache and PHP components during the install, providing and alternate configuration for Tom Cat with non-ApacheMapAgent, rewriting mapadmin in .jsp, etc). In the meantime we can do a fair amount just by automating the installation of the Tomcat service when the JSP viewer is chosen with the Bundled install.7 Although it would be great to offer a bare Tomcat option, this would take a lot of work (removing the options for Apache and PHP components during the install, providing and alternate configuration for Tomcat with non-Apache !MapAgent, rewriting mapadmin in .jsp, etc). In the meantime we can do a fair amount just by automating the installation of the Tomcat service when the JSP viewer is chosen with the Bundled install. 8 8 9 9 Steps for this would looks something like: 10 10 11 11 Pull the current version from: 12 HKEY_LOCAL_MACHINE\SOFTWARE\ JavaSoft\Java Development Kit\@CurrentVersion12 HKEY_LOCAL_MACHINE\SOFTWARE\!JavaSoft\Java Development Kit\@!CurrentVersion 13 13 14 14 Get the value of JAVA_HOME from: 15 HKEY_LOCAL_MACHINE\SOFTWARE\ JavaSoft\Java Development Kit\{@CurrentVersion}\JavaHome15 HKEY_LOCAL_MACHINE\SOFTWARE\!JavaSoft\Java Development Kit\{@!CurrentVersion}\!JavaHome 16 16 17 17 Do a file search to ensure that %JAVA_HOME%\bin\java.exe exists … … 21 21 If it does exist, we can run a custom action something like this to install the service (cobbled together from service.bat in Tomcat/bin): 22 22 23 {{{ 23 24 [TomcatInstallDir]Tomcat/bin/tomcat6.exe //IS//[TC_SERVICE_NAME] 24 25 --DisplayName [TC_SERVICE_DISPLAYNAME] … … 32 33 --StopParams stop 33 34 --Startup auto 35 }}} 34 36 35 37 And something similar for uninstall...