SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Sponsor:

Would you like to sponsor this site?
Or buy me a beer?:


Recently Changed Pages:

View All Pages
View All Q Pages


View All Tags


Sign up for Q to post comments.





WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Terms And Conditions for Q users


Pages with comments

PageDateDiscussionTags
2019/05/01 14:08 2 Comments
2019/03/15 16:02 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 3 Comments
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

View All Comments

netwareconfigtomcat

NetWare Config File: Tomcat

Original file

tomcat4.ncf

\\server\sys\tomcat\4\bin
; Description:
;  This is a sample NCF file for starting the application instance of Tomcat. 
;
;  This NCF file assumes tomcat is located on the sys volume in the tomcat/4
;  directory.
;  If different than sys:/tomcat/4/bin then this NCF needs to be MODIFIED to
;  reflect to where tomcat was installed.

setenv CATALINA_OPTS=-vm160m -Xmx256m -Djavax.net.ssl.trustStore=sys:/adminsrv/conf/.keystore -Dsun.io.useCanonCaches=false

; we use LDAPVerifier here, to ensure LDAP connectivity before starting up.
; the first argument is a pointer to the config file so that tccheck can 
; determine what LDAP host it needs to ping.
; The part in quotes is the command we will be executing.
; the number at the end represents the number of retries to do, a second apart
java -classpath sys:/adminsrv/tccheck.jar;sys:/adminsrv/lib/jdom.jar com.novell.application.tomcat.util.tccheck.LDAPVerifier sys:/tomcat/4/conf/server.xml "sys:/tomcat/4/bin/startup %1 %2 %3 %4 %5 %6 %7 %8 %9" 40

tomcat5.ncf

\\server\sys\tomcat\5.0\bin
; Description:
;  This is a sample NCF file for starting the application instance of Tomcat. 
;
;  This NCF file assumes tomcat is located on the sys volume in the {install.perfix}
;  directory.
;  If different than sys:/tomcat/5.0/bin then this NCF needs to be MODIFIED to
;  reflect to where tomcat was installed.

setenv CATALINA_OPTS= -vm160m -Xmx256m -Djavax.net.ssl.trustStore=sys:/adminsrv/conf/.keystore -Dsun.io.useCanonCaches=false

; we use LDAPVerifier here, to ensure LDAP connectivity before starting up.
; the first argument is a pointer to the config file so that tccheck can 
; determine what LDAP host it needs to ping.
; The part in quotes is the command we will be executing.
; the number at the end represents the number of retries to do, a second apart
java -classpath sys:/adminsrv/tccheck.jar;sys:/adminsrv/lib/jdom.jar com.novell.application.tomcat.util.tccheck.LDAPVerifier sys:/tomcat/5.0/conf/server.xml "sys:/tomcat/5.0/bin/startup %1 %2 %3 %4 %5 %6 %7 %8 %9" 40

Enable tomcat for proxy usage

Replace the original line with this line and change the values to the correct ones for your environment:

setenv CATALINA_OPTS=-vm160m -Xms128M -Xmx512m -Djavax.net.ssl.trustStore=sys:/adminsrv/conf/.keystore -Dsun.io.useCanonCaches=false -Dhttp.proxyHost=<ipaddressproxyserver> -Dhttp.proxyPort=<portproxyserver> -Dhttp.nonProxyHosts=10.*

Config file template

This is the template I usually use for tomcat, the memory settings are better for iManager and stuff like GroupWise WebAccess (tomcat4):

; TOMCAT start parameters:
; Memory: -Xms128M -Xmx512m
; Proxyhost:-Dhttp.proxyHost=proxy.company.local 
; Proxyport:-Dhttp.proxyPort=8080/3128
;;; 8080: default for bordermanager\
;;; 3128: defauylt for squid 
; NoProxy:-Dhttp.nonProxyHosts=10.*
; 

setenv CATALINA_OPTS=-vm160m -Xms128M -Xmx512m -Djavax.net.ssl.trustStore=sys:/adminsrv/conf/.keystore -Dsun.io.useCanonCaches=false -Dhttp.proxyHost=proxy.company.local -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=10.*

; we use LDAPVerifier here, to ensure LDAP connectivity before starting up.
; the first argument is a pointer to the config file so that tccheck can 
; determine what LDAP host it needs to ping.
; The part in quotes is the command we will be executing.
; the number at the end represents the number of retries to do, a second apart
java -classpath sys:/adminsrv/tccheck.jar;sys:/adminsrv/lib/jdom.jar com.novell.application.tomcat.util.tccheck.LDAPVerifier sys:/tomcat/4/conf/server.xml "sys:/tomcat/4/bin/startup %1 %2 %3 %4 %5 %6 %7 %8 %9" 40

Sources

You could leave a comment if you were logged in.
netwareconfigtomcat.txt · Last modified: 2013/04/21 11:00 by sjoerd