Tomcat

Tomcat 鎖 IP

2013-12-15 01:41
修改context.xml <Context>     <WatchedResource>WEB-INF/web.xml</WatchedResource> <Valve className="org.apache.catalina.valves.RemoteAddrValve" deny=...

Apache Tomcat JMX關閉錯誤

2013-12-05 00:08
對Tomcat中的catalina.sh中加入以下設定,以開啟JMX  export JAVA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=8999" 下達shutdown.sh時的錯誤訊息  java.rmi.server.ExportException: Port...

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

2013-12-04 13:53
當啟動 Tomcat 時有以下錯誤   Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program   修正方法 在 bin/catalina.sh...