Shown below are the server.xml configuration files for two developers. The differences are 
highlighted. 
. . .
. . .
path="/devteam/andreas/tc/tomcat.log"
path="/devteam/grace/tc/tomcat.log"
/>
/>
path="/devteam/andreas/tc/servlet.log"
path="/devteam/grace/tc/servlet.log"
/>
/>
path="/devteam/andreas/tc/jasper.log"
path="/devteam/grace/tc/jasper.log"
verbosityLevel = "INFORMATION"
verbosityLevel = "INFORMATION"
/>
/>
workDir="/devteam/andreas/tc/work"
workDir="/devteam/grace/tc/work"
showDebugInfo="true" >
showDebugInfo="true" >
. . .
. . .
. . .
. . .
className="org.apache.tomcat.service.PoolTcpConnector">
className="org.apache.tomcat.service.PoolTcpConnector">
value=
value=
"org.apache.tomcat.service.http.HttpConnectionHandler"
"org.apache.tomcat.service.http.HttpConnectionHandler 
/>
/>
. . .
. . .
docBase="/devteam/andreas/deployHome"
docBase="/devteam/grace/deployHome"
debug="0"
debug="0"
reloadable="true"
reloadable="true"
trusted="false" >
trusted="false" >
The  server.xml files should be placed in the users' home directories. To start the Tomcat 
processes, the following commands are used (the  f  option indicates that the server 
configuration file is provided in the command line). 
$ $TOMCAT_HOME/bin/startup.sh  f /devteam/andreas/tc/server.xml
$ $TOMCAT_HOME/bin/startup.sh  f /devteam/grace/tc/server.xml
75 




Java Web Hosting Application Development Using Java Technologies Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.