Novell Home

Running GroupWise WebAccess with Tomcat 5 on NetWare

Novell Cool Solutions: Tip
By Joe Moore

Digg This - Slashdot This

Posted: 9 May 2006
 

Steps for installing / configuring Tomcat 5 on NetWare:

  1. Install Tomcat 5 servlet container from the Novell NetWare 6.5 CD's. If Tomcat 4 is running, at the server console type TC4STOP.


  2. Type SEARCH at the console, then SEARCH DEL number where number is the search path to SYS:\TOMCAT\4\BIN


  3. Type SEARCH ADD SYS:\TOMCAT\5\BIN


  4. Edit SYS:\SYSTEM\AUTOEXEC.NCF to change references to TOMCAT\4 to TOMCAT\5


  5. Copy SYS:\TOMCAT\4\CONF\SERVER.XML, SYS:\TOMCAT\4\CONF\WEB.XML, and SYS:\TOMCAT\4\CONF\CATALINA.POLICY to SYS:\TOMCAT\5\CONF


  6. COPY SYS:\TOMCAT\4\WEBAPPS\ROOT\WEB-INF\WEB.XML to SYS:\TOMCAT\5\WEBAPPS\ROOT\WEB-INF\WEB.XML


  7. Rename SYS:\TOMCAT\5\CONF\JK2.PROPERTIES.ORIG to SYS:\TOMCAT\5\CONF\JK2.PROPERTIES


  8. Rename SYS:\TOMCAT\5\CONF\CATALINA.PROPERTIES.ORIG to SYS:\TOMCAT\5\CONF\CATALINA.PROPERTIES


  9. Edit SYS:\TOMCAT\5\CONF\SERVER.XML and replace TOMCAT4 with TOMCAT5


  10. Copy SYS:\TOMCAT\4\WEBAPPS\EXAMPLES to SYS:\TOMCAT\5\WEBAPPS\EXAMPLES (note that this is the dummy examples startup directory)


  11. Edit SYS:\ADMINSRV\CONF\MOD_JK\WORKERS.PROPERTIES and replace the line that says:


  12. workers.tomcat_home=sys:/tomcat/4

    with

    workers.tomcat_home=sys:/tomcat/5

  13. Rename SYS:\TOMCAT\5\BIN\CATALINA.PL.ORIG to SYS:\TOMCAT\5\BIN\CATALINA.PL


  14. Rename SYS:\TOMCAT\5\BIN\TOMCAT5.NCF.ORIG to SYS:\TOMCAT\5\BIN\TOMCAT5.NCF


  15. Rename SYS:\TOMCAT\5\BIN\STARTUP.NCF.ORIG to SYS:\TOMCAT\5\BIN\STARTUP.NCF


  16. Edit SYS:\TOMCAT\5\BIN\STARTUP.NCF and replace \TOMCAT\4 with \TOMCAT\5


  17. If GroupWise 7 WebAccess is already installed, copy the SYS:\TOMCAT\4\WEBAPPS\GW directory to SYS:\TOMCAT\5\WEBAPPS


  18. If GroupWise 7 WebAccess is not installed, be sure during installation to specify the SYS:\TOMCAT\5 directory


  19. In the NOVELL\WEBACCESS directory (default is SYS:\NOVELL\WEBACCESS but it may also be installed elsewhere) find the WEBACC.CFG and change the line:

    Templates.path=\\RAVE-NET_SVR\SYS\Tomcat\4\webapps\gw\web-inf\classes\com\novell\webaccess\templates

    to

    Templates.path=\\RAVE-NET_SVR\SYS\Tomcat\5\webapps\gw\web-inf\classes\com\novell\webaccess\templates


  20. Also make the similar change in the NOVELL\WEBPUBLISHER\WEBPUB.CFG file if installed. The apache2 config file should be edited to have all references to TOMCAT\4 changed to TOMCAT\5. The file that needs to be edited is: SYS:\APACHE2\CONF\GWAPACHE2.CONF


  21. In SYS:\NOVELL\WEBACCESS\SPELLCHK.CFG, look for a line that says:

    Speller.Dictionary.path=

    and change it to reference tomcat5 instead of tomcat4


  22. At the console, type TOMCAT5

To check and make sure you changed all of the correct files, rename the SYS:\TOMCAT\4 directory to SYS:\TOMCAT\4.SAV and then stop and restart Tomcat. Switch to the logger screen and watch Tomcat load - if it loads with no errors you haven't missed anything.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell