Apache Tomcat

Working notes on Apache Tomcat: AppBase, Cipher, Compression, Context - Environment variables, Context - parameters, and Context - Resources, and related topics.

Simple Icons contributors / Simple IconsCC0 1.0

Working notes on Apache Tomcat: AppBase, Cipher, Compression, Context - Environment variables, Context - parameters, and Context - Resources, and related topics.

Working notes on Apache Tomcat: AppBase, Cipher, Compression, Context - Environment variables, Context - parameters, and Context - Resources, and related topics.

Topics

  • AppBase — Host.
  • Cipher — http://stackoverflow.com/questions/30124002/tomcat-7-ssl-not-working-err-ssl-version-or-cipher-mismatch.
  • Compression — ….
  • Context - Environment variables — Object object = ((Context)(new InitialContext().lookup("java:comp/env")).lookup("mykey");.
  • Context - parameters — Declare and define.
  • Context - Resources — Type="javax.sql.DataSource" driverClassName="org.postgresql.Driver".
  • Context.xml
  • Database connection — Connection con = DriverManager.getConnection("jdbc:sqlserver://localhost:1433;databaseName=NitgenAccessManager;user=Perm;password=^&8&^%8*Pe$!");.
  • Dump — LoadModule dumpio_module modules/mod_dumpio.so.
  • JSP - variables — Application = pageContext.getServletContext();.
  • Locations — Old logs are pushed to date_ files.
  • Logging — Logging.properties.
  • Multiple — http://vikeninvest.com/?p=476.
  • Permgen — Permgen: Windows, Linux, -XX:PermSize<size> - Set initial PermGen Size., -XX:PermSize<size> -XX:MaxPermSize<size> - Set the, and setenv.bat.
  • Port — http://stackoverflow.com/questions/24382076/how-to-make-tomcat-run-on-443-instead-of-its-default-port-8080/24382185#24382185.
  • Setenv.sh — CATALINA_BASE one overrides CATALINA_HOME one.
  • Setup — Setup: Install, Uninstall, Service.bat install MyService, and Service.bat.
  • SSL
  • Start — Set JAVA_HOME to JDK path.
  • Ubuntu
  • URL Rewrites — This is implemented via a URL Rewrite Filter -.
  • Variables — CATALINA_HOME*.
  • Web.xml
Updated: 2026 Aug 19