Changes between Initial Version and Version 1 of Ticket #953


Ignore:
Timestamp:
04/04/09 14:34:45 (16 years ago)
Author:
jbirch
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #953 – Description

    initial v1  
    55- Manually configure Apache
    66
    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.
     7Although 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.
    88
    99Steps for this would looks something like:
    1010
    1111Pull the current version from:
    12   HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\@CurrentVersion
     12  HKEY_LOCAL_MACHINE\SOFTWARE\!JavaSoft\Java Development Kit\@!CurrentVersion
    1313
    1414Get the value of JAVA_HOME from:
    15   HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\{@CurrentVersion}\JavaHome
     15  HKEY_LOCAL_MACHINE\SOFTWARE\!JavaSoft\Java Development Kit\{@!CurrentVersion}\!JavaHome
    1616
    1717Do a file search to ensure that %JAVA_HOME%\bin\java.exe exists
     
    2121If it does exist, we can run a custom action something like this to install the service (cobbled together from service.bat in Tomcat/bin):
    2222
     23{{{
    2324  [TomcatInstallDir]Tomcat/bin/tomcat6.exe //IS//[TC_SERVICE_NAME]
    2425     --DisplayName [TC_SERVICE_DISPLAYNAME]
     
    3233     --StopParams stop
    3334     --Startup auto
     35}}}
    3436
    3537And something similar for uninstall...