Ubuntu: /var/lib/tomcat6/conf
W7: C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0
/usr/share/tomcat/bin/catalina.sh
< Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common"/ >
http://localhost:8080/manager/html
default user: "admin / no pw"
Otherwise, you can add
< user name="username" password="secret" roles="standard,manager" / >
in /Tomcat 6.0/conf/tomcat-users.xml
/var/lib/tomcat6/webapps
then you do: http://192.168.0.12:8082/sample/
http://127.0.0.1:8080/getimagelist/http%3A%2F%2F
( %3A works but not %2F). See property
org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH: true|false
JAVA_OPTS="-Djava.awt.headless=true -server -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC"
edit /etc/init.d/tomcat6 and look for JDK_DIRS
sudo -E /etc/init.d/tomcat start
./usr/share/tomcat6/bin/catalina.sh
/var/lib/tomcat6/conf/logging.properties
- ulimit -a
- pipe size (512 bytes, -p) 8
No comments:
Post a Comment