In this article, I am going to explain how can you persist/share tomcat session state between multiple instances, and improve your site performance. Persisting your session state outside of the tomcat servers is a very common and recommended configuration for large scale websites. This is usually done in pursuit of an architecture style called Shared …
Category: Apache
May 08
Send error logs through email using log4j SMTP appender
recently I was reading about Apache log4j appenders. and found log4j SMTPAppender which sends an e-mail when a specific logging event occurs, typically on errors or fatal errors. That time I got idea to write this post to send error logs through email using log4j SMTP appender. for a developer error logs are very important. and …
Apr 25
[Maven – Build Error] Unsupported WTP Version
Hi, recently I was working on a project and I found a build error while I tried to execute mvn -eclipse:eclipse command to build eclipse project settings for my maven project. the solution for the above error message is specify maven-eclipse-plugin setting in your project’s pom file. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <version>2.5</version> <configuration> <wtpversion>${supported-wtp-version}</wtpversion> </configuration> </plugin> …
Jul 09
Configuring multiple Tomcat application servers with Apache HTTP server/ Load Balancing with Apache Web Server
In this article, I am going to explain how we can configure multiple Tomcat instances with single Apache Web Server. There are many solutions posted on the web, but it is the simplest and easiest way to do this. Prerequisite: Apache HTTP Server 2.x Tomcat 6.x mod_jk.so module for Apache Web server Any text editor, …