Tomcat 7

取得與文件


$CATALINA_HOME
/srv/tomcat7


conf/server.xml



<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />


conf/tomcat-user.xml


Tomcat Manager Application

<role rolename="manager-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>

Tomcat Host Manager Application

<role rolename="admin-gui"/>
<user username="tomcat" password="s3cret" roles="admin-gui"/>



Stop APPs


  • Docs
  • Examples


Class Loader

Therefore, from the perspective of a web application, class or resource loading looks in the following repositories, in this order:

  • Bootstrap classes of your JVM
  • System class loader classes (described above)
  • /WEB-INF/classes of your web application
  • /WEB-INF/lib/*.jar of your web application
  • $CATALINA_HOME/lib
  • $CATALINA_HOME/lib/*.jar




References


  • CATALINA_HOME = /opt/javaEE/tomcat7
  • JDK 7
  • /opt/javaEE/tomcat7/bin/startup.sh
  • Manager
  • Memory







Comments