Apache Tomcat High Availability and Load Balancing

The objective for High Availability (HA) is to provide failover,so that if one server in the cluster goes down, then the other servers should be able to take over.

The objective for load balancing is to distribute the load among the servers in the cluster and provide the best response time to the end user.

How to implement this solution using Apache Web Server + Mod JK + Tomcat ?

apachemodjk

Read the rest of this entry »

What I want for arejae.com in 2010

Wow, January 2010 nearly come to the end.

This is my first post for this year. Hopefully, I can share more information in this blog. Mostly on my project that I currently involve.

I got so many things to share. It’s about LeBAH,Java,Apache Velocity,Oracle 11G,Apache Web Server,Tomcat Application Server,Load balancing,Mod_JK,Clustering,jQuery,scriptaculous,iReport and many more but stuck on how to write it in a proper way.

So, here you go. I will write whatever I like in my own way. As for my blog title suggest, it’s about me,myself,english and programming.

Hopefully this will be my good start.

Adioss..

p/s: Do what you can with what you have, where you are !

then we came to the end..goodbye 2009

images

 

2009 is the busiest year for me. So many things happen in my life.Bad things,good things and everything in between.

 

 

oh anok..anok..

Kak long nak masuk darjah 1 isnin nie.

kaklong

Kak ngah.

kakngah

My new hero, Thaqif Ramadhan

thaqif

 

All in all, thanks to Allah I’m still surviving…

Oh anok anok…

enjoy this song..

Eclipse and Tomcat – java.lang.OutOfMemoryError

To solve this problem, click on the JVM Settings under the Tomcat option and add these JVM Parameters. It will start Tomcat with 512Mb minimum heap size, increasing to 1Gb.

These give Tomcat enough heap size to load all the webapps.(well..it’s depending on your application also of course..)

-Xms512M -Xmx1g

eClipse JVM Parameter

 

p/s: it’s november already…


AWSOM Powered