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:
- Install Tomcat 5 servlet container from the Novell NetWare 6.5 CD's. If Tomcat 4 is running, at the server console type TC4STOP.
- Type SEARCH at the console, then SEARCH DEL number where number is the search path to SYS:\TOMCAT\4\BIN
- Type SEARCH ADD SYS:\TOMCAT\5\BIN
- Edit SYS:\SYSTEM\AUTOEXEC.NCF to change references to TOMCAT\4 to TOMCAT\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
- COPY SYS:\TOMCAT\4\WEBAPPS\ROOT\WEB-INF\WEB.XML to SYS:\TOMCAT\5\WEBAPPS\ROOT\WEB-INF\WEB.XML
- Rename SYS:\TOMCAT\5\CONF\JK2.PROPERTIES.ORIG to SYS:\TOMCAT\5\CONF\JK2.PROPERTIES
- Rename SYS:\TOMCAT\5\CONF\CATALINA.PROPERTIES.ORIG to SYS:\TOMCAT\5\CONF\CATALINA.PROPERTIES
- Edit SYS:\TOMCAT\5\CONF\SERVER.XML and replace TOMCAT4 with TOMCAT5
- Copy SYS:\TOMCAT\4\WEBAPPS\EXAMPLES to SYS:\TOMCAT\5\WEBAPPS\EXAMPLES (note that this is the dummy examples startup directory)
- Edit SYS:\ADMINSRV\CONF\MOD_JK\WORKERS.PROPERTIES and replace the line that says:
- Rename SYS:\TOMCAT\5\BIN\CATALINA.PL.ORIG to SYS:\TOMCAT\5\BIN\CATALINA.PL
- Rename SYS:\TOMCAT\5\BIN\TOMCAT5.NCF.ORIG to SYS:\TOMCAT\5\BIN\TOMCAT5.NCF
- Rename SYS:\TOMCAT\5\BIN\STARTUP.NCF.ORIG to SYS:\TOMCAT\5\BIN\STARTUP.NCF
- Edit SYS:\TOMCAT\5\BIN\STARTUP.NCF and replace \TOMCAT\4 with \TOMCAT\5
- If GroupWise 7 WebAccess is already installed, copy the SYS:\TOMCAT\4\WEBAPPS\GW directory to SYS:\TOMCAT\5\WEBAPPS
- If GroupWise 7 WebAccess is not installed, be sure during installation to specify the SYS:\TOMCAT\5 directory
- 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 - 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
- In SYS:\NOVELL\WEBACCESS\SPELLCHK.CFG, look for a line that says:
Speller.Dictionary.path=
and change it to reference tomcat5 instead of tomcat4 - At the console, type TOMCAT5
workers.tomcat_home=sys:/tomcat/4
with
workers.tomcat_home=sys:/tomcat/5
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

