Sunday, September 11, 2011

Tomcat change the working folder in linux


Note : Before doing changes to the server.xml make a backup of it
mkdirs:
/home/username/tomcatwork
edit the server.xml file
admin@smartproteam$ vi /etc/tomcat6/server.xml
host name=”localhost” appbase=”/var/www/html/webapps/” workdir=”/home/username/tomcatwork” upackwars=”true” autodelpoy=”true” xmlvalidation=”false” xmlnamespaceaware=”false”