Difference between revisions of "Tomcat"
Line 19: | Line 19: | ||
|- | |- | ||
| [[Tomcat linux manual setup|Linux manual setup]] | | [[Tomcat linux manual setup|Linux manual setup]] | ||
− | || [[Tomcat UTF-8|UTF-8]] | + | || [[Tomcat UTF-8|UTF-8]] || || |
− | || | ||
− | || | ||
|- | |- | ||
| [[Tomcat Linux startup|Linux Tomcat on boot]] | | [[Tomcat Linux startup|Linux Tomcat on boot]] | ||
Line 27: | Line 25: | ||
|| Example || Example | || Example || Example | ||
|- | |- | ||
− | | [[Tomcat windows setup|Windows setup]] | + | | [[Tomcat windows setup|Windows setup]] |
− | || [[Tomcat JMX|JMX configuration]] | + | || [[Tomcat security restricted access|Server access restriction]] || || |
− | || | + | |- |
+ | | || [[Tomcat JMX|JMX configuration]] || || | ||
|- | |- | ||
− | | || [[Tomcat increase PermGen|Increase PermGen]] || | + | | || [[Tomcat increase PermGen|Increase PermGen]] || || |
|- | |- | ||
− | | || [[Tomcat war deployment through manager|War deployment through manager]] || | + | | || [[Tomcat war deployment through manager|War deployment through manager]] || || |
|} | |} | ||
Revision as of 10:37, 1 April 2015
Tomcat is a Java servlet container, it can be used to display simple JSP and run Spring applications.
However, it cannot run JavaEE, you'll need a proper application server such IBM WAS, Glassfish, Jboss, etc. to do so.
Installation | Server configuration | Application configuration | Other |
---|---|---|---|
Linux apt-get setup | Users management | MySQL datasource | Apache 2 - proxy |
Linux manual setup | UTF-8 | ||
Linux Tomcat on boot | IPv4 over IPv6 | Example | Example |
Windows setup | Server access restriction | ||
JMX configuration | |||
Increase PermGen | |||
War deployment through manager |
Basic tasks
Files location
The applications files are in $Tomcat/webapps
- Automatic installation: /var/lib/tomcat/webapps
Remove old temp files
In case of bugs, you can remove the working directory: $Tomcat/work/Catalina/localhost/*
rm -Rf /var/lib/tomcat7/work/Catalina/localhost/*