November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Crazy way to do JBOSS and Tomcat Loadbalancing :)

Crazy way to do JBOSS and Tomcat Loadbalancing

Mod clusteris an http based load balancer which greatly simplify the setup of an http cluster. It ships as a set of modules which need to be installed on the httpd server and a Service Archive Library (.sar) which needs to be deployed on JBoss AS (It […]

Apache and Tomcat With mod_jk Installation and Configuration

What is Apache Tomcat? Apache Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies.

Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations

What is mod_jk?

mod_jk is a replacement to the elderly mod_jserv. It is […]

Apache-Tomcat Clustering

This parameter is the one that is taken for granted in the current era. All applications are assumed to be stable enough to work 24×7, 365 days a year. This is considered as the assumed parameter of measurement.

1). Scope

To ascertain that the parameters of speed, concurrency and stability are handled when an application […]

Tuning Apache + Tomcat

ATG: Tuning Apache + Tomcat

I did some tuning on Apache which vastly decreased response times.

The tests show increase vast decrease in response. (see table below) which is due to the following improvements made effective by the tuning (Increased maxclients, KeepAlive on. KeepAliveTimeout etc):

1) Reusable connections to handle multiple requests from the same […]

centos under tomcat and apache integration

First need to install apache, installation steps, see its official website, and then install apache jk module

1.1. Wget http://mirror.bjtu.edu.cn/apache//tomcat/tomcat-connectors/jk/source/jk-1.2.31/tomcat-connectors-1.2.31-src.tar.gz1.2. Tar-xzvf tomcat-connectors-1.2.31-src.tar.gz1.3. Cd tomcat-connectors-1.2.31-src/native1.4 .. / configure – with-apxs = / usr/local/apache2/bin/apxs # / usr/local/apache2 / your apache installation directory1.5. MakeThe 1.6. Cp apache-2.0/mod_jk.so / usr/local/apache2/modules/mod_jk.so, and then restart apache1.7 into the apache installation directory, […]

Password Protect any WebApp folder in Tomcat-6.x

The following steps were tested with Tomcat 6.0.29. I think they should work with all currently running Tomcat versions out there. If it didn’t work out for your version, please let me know. Okay so lets start: First of all, we need to enable the MemoryRealm. You can do so by adding this line to […]

Integrating Tomcat and Apache on Red Hat Linux

Referance: http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html

1.0 Introduction

Java servlets are a powerful tool for building websites and web based applications. One skill that every Java web developer should have is the ability to install and configure the Tomcat servlet engine. Many thanks to the Apache Software Foundation for providing this mature, stable, open source software. It was recently […]

Clustering Tomcat Server

Clustering Tomcat Server A cluster of two Tomcat is a more Tomcats that are hosted in the same Java application. The main function of cluster Tomcat is to perform replication of open sessions in each cluster of Tomcat, so Tomcat each contain their sessions and their attributes, as well as the attributes of the other […]

Setting up Clustering on Apache/Jboss/Tomcat using Jakarta mod_jk

Clustering Jboss for two reasons load balancing and failover.

Fail-over

Fail-over is probably the most important issue for web applications. If the front end load balancer detects that one of the nodes has gone down it will redirect all the traffic to the second instance and your clients, apart from any on the failed […]

Tomcat

Tomcat

The reference is taken from Apache Tomcat 7 Essentials By: Tanuj Khare

Tomcat Apache Tomcat is an open source Java-based web and servlet container, which is used to host Java-based applications. It was first developed for Jakarta Tomcat. Due to an increase in demand, it was later hosted as a separate project called […]