anchor.diff:  	    mkdir -p ${cfg.baseDir}/conf
   	    chown ${cfg.user}:${cfg.group} ${cfg.baseDir}/conf
   	    
  -	    # Symlink the config files in the conf/ directory (except for catalina.properties)
  -	    for i in $(ls ${pkgs.tomcat6}/conf | grep -v catalina.properties)
  +	    # Symlink the config files in the conf/ directory (except for catalina.properties and server.xml)
  +	    for i in $(ls ${pkgs.tomcat6}/conf | grep -v catalina.properties server.xml)
   	    do
   	        ln -sf ${pkgs.tomcat6}/conf/$i ${cfg.baseDir}/conf/`basename $i`
   	    done
  
positive.code: 	    sed -e 's|''${catalina.home}|''${catalina.base}|g' \
                  -e 's|shared.loader=|shared.loader=''${catalina.base}/shared/lib/*.jar|' \
  		${pkgs.tomcat6}/conf/catalina.properties > ${cfg.baseDir}/conf/catalina.properties
  	    	    
  	    # Create a logs/ directory
  	    mkdir -p ${cfg.baseDir}/logs
  	    chown ${cfg.user}:${cfg.group} ${cfg.baseDir}/logs
  
negative.code: 			ln -sf $j ${cfg.baseDir}/lib/`basename $j`
  		    done
  		fi
  	    done	    	     
  
  	    # Symlink all the given shared libs files or paths into the shared/lib/ directory
  	    for i in ${toString cfg.sharedLibs}
  