Posts Tagged ‘ tomcat

Configure Apache:virtual host, mod_proxy and mod_proxy_ajp

Icon from Nuvola icon theme for KDE 3.x.

Image via Wikipedia

Once you configured your java application server and apache everything is fine until you want to host your another domain at the same server.

Read more

tomcat port configuration

Apache Tomcat

Image via Wikipedia

There are three standard port types for a single tomcat configuration:

  • HTTP: (default:8080) your http connector
  • AJP :( default: 8009)  tomcat ajp connection port
  • SHUTDOWN (default:8109 ): tomcat shutdown command listener port
  • HTTPS (default: 8443/optional): tomcat https port listener Read more

multiple tomcat instance – single setup

running multiple tomcat by using a single catalina_base and catalina_home

this will make it easy to manage server management to use only one tomcat setup instance

download tomcat-6+ and unpack it.

and modify two configuration file under conf Read more

Complete Apache 2.2-AJP Load Balance via mod_proxy

Complete guide for apache-http server load balancing via mod_proxy and some performance enhancements

required modules:

proxy_module
proxy_ajp_module
proxy_balancer_module

Read more

URI Encoding for tomcat 5.5.X

Apache Tomcat

Image via Wikipedia

encoding problem with paramater while HTTP GET ?
in default tomcat read get parameters with its startup language like = ISO-8859-1

for tomcat 5.5.x

<Server ...>
<Service ...>
<Connector ... URIEncoding="UTF-8" />&nbsp; ...&nbsp; </Connector>
</Service>
</Server>
Reblog this post [with Zemanta]