1.在catalina.sh中加入:
 if [ -z "$JPDA_ADDRESS" ]; then
    JPDA_ADDRESS="8000"
  fi

2.在startup.sh中start前加入jpda
exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"