anchor.diff:  	. "$ENV_TOMEE"
   fi
   
  +if [ ! -d "$CATALINA_BASE/conf" ]; then
  +  log_failure_msg "invalid CATALINA_BASE: $CATALINA_BASE"
  +  exit 1
  +fi
  +
   if [ ! -f "$CATALINA_HOME/bin/bootstrap.jar" ]; then
   	log_failure_msg "$NAME is not installed"
   	exit 1
   fi
  -
  -POLICY_CACHE="$CATALINA_BASE/work/catalina.policy"
   
   if [ -z "$CATALINA_TMPDIR" ]; then
   	CATALINA_TMPDIR="$JVM_TMP"
  
positive.code: 	set -e
          ;;
    restart|force-reload)
  	if [ -f "$CATALINA_PID" ]; then
  		$0 stop
  		sleep 1
  	fi
  	$0 start
          ;;
    *)
  	log_success_msg "Usage: $0 {start|stop|restart|force-reload|status}"
  
negative.code: if [ -n "$JSP_COMPILER" ]; then
  	JAVA_OPTS="$JAVA_OPTS -Dbuild.compiler=\"$JSP_COMPILER\""
  fi
  
  # Look for Java Secure Sockets Extension (JSSE) JARs
  if [ -z "${JSSE_HOME}" -a -r "${JAVA_HOME}/jre/lib/jsse.jar" ]; then
  