August 2012
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

August 2012
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Integrating Cached Content with Apache and JBoss

One of my clients is a large e-commerce company (>$500MMin annual revenuse through their website). They use Akamai for caching some of their image data, but some of the other images are served off of their server. They are trying to minimize the load on their JBoss instances and wanted to have Apache serve the […]

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, […]

Multi-Site Dynamic Apache Configurations

In a continuing effort to make my hosting cloud more dynamic, I have had to become relatively creative with my Apache configurations so that my farm can remain relatively flexible with little or no reconfiguration on newly introduced servers. This presents a big problem when working with a multi-site Apache configuration, and an even bigger […]

JBoss load-balanced cluster

I spent a little bit of time getting a JBoss cluster running on my development machine and then configuring a Apache 2.2.17 server to load balance between the 2 node cluster. Here is how I did it.

I had to enable the following modules on Apache:

LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule […]

integration apache and jboss

First configure apache conf directory establish mod_jk.conf file, which reads as follows:

LoadModule jk_module modules / mod_jk.soThe Xml code Favorites code

JkWorkersFile / usr/local/apache2/conf/workers.properties JkLogFile logs / mod_jk.log # Set the jk log level [debug / error / info] JkLogLevel info # Select the log format JkLogStampFormat “[% a% b% d% H:% […]

Static page on apache using tomcat

he apache main job of the partial pressure, static page as apache on processing, servlets, jsp page ajp13 protocol gave tomcat, tomcat to handle.

http://archive.apache.org/dist/http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.16/jakarta-tomcat-connectors-jk-1.2.6-src.tar.tar

# Tar xzvf jakarta-tomcat-connectors-jk-1.2.6-src.tar.tar

# Cd jakarta-tomcat-connectors-jk-1.2.6-src/jk/native

#. / Configure – with-apxs = / usr/local/apache2/bin/apxs

# Make

# Cp ./apache-2.0/mod_jk.so / usr/local/apache2/modules /

 

the workers.properties will generate jk / […]

The JBoss 4 Application Server Clustering Guide

JBoss AS 4.0.5

Release 2

Copyright © 2006> JBoss, Inc.

Table of Contents

1. Clustering 1.1. Introduction 1.1.1. Cluster Definition 1.1.2. Service Architectures 1.1.2.1. Client-side interceptor 1.1.2.2. Load balancer 1.1.3. Load-Balancing Policies 1.1.3.1. JBoss AS 3.0.x 1.1.3.2. JBoss AS 3.2+ 1.1.4. Farming Deployment 1.1.5. Distributed state replication services 1.2. Clustered JNDI Services 1.2.1. How […]

Configuring HA-JMS on JBoss server cluster

After setting up the HTTP/HTTPS configuration for JBoss server cluster, the next assignment on my table was to set up the HA-JMS on the server cluster.

 

My JBoss installation folder structure is as below: 1 JBOSS_HOME\server\all 2 JBOSS_HOME\server\default 3 JBOSS_HOME\server\minimal The “all” folder has everything configured for HA, however to understand the process, I […]

Configuring HTTP and HTTPS clustering on JBoss Server

Some colleagues of mine were facing problems getting the HTTP/HTTPS clustering setup done for JBoss server. Although I have no experience on working with JBoss I decided to give it a try.

Note that my development environment is Windows. The first thing I did was get hold of JBoss 4.2.2GA installable. Why this one, because […]

CentOS 6 DRBD : how to set up DRBD

 

Here is an explanation of how to set up DRBD on CentOS6. # cat /etc/redhat-release CentOS release 6.2 (Final)

# uname -ri 2.6.32-220.7.1.el6.i686 i386

 

# rpm -qa | grep drbd kmod-drbd84-8.4.1-1.el6.elrepo.i686 drbd84-utils-8.4.1-1.el6.elrepo.i686 Hostname ( uname –n ) of DBRD nodes are: centos6-drbd1.localdomain centos6-drbd2.localdomain

 

These nodes are running as VMs on a […]