I was configuring Apache Tomcat on 64-Bit Linux OS and wanted to tune it for better performance. While searching the net for the same I came across JVM Performance Tuning by Andrig Miller its good start for tuning Java for better performance on machine with Large memory.
Today I was battling an issue for some of my colleagues. They were getting this exception from JBoss while starting :
java.net.BindException: Cannot assign requested address: 8443 at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:500)
in the JBoss console.
Today I was battling an issue for some of my colleagues. They were getting this exception from JBoss/Mysql ConnectorJ driver:
java.sql.SQLException: Unexpected error in ping : java.lang.IllegalArgumentException: object is not an instance of declaring class
in the JBoss console.
This is to explain and understand how to integrate Apache and Tomcat to support Java Server Pages (JSP) and Servlets using Apache on your website. Although this setup worked for this particular environment, I can make no guarantees that it will work for yours, but it should with some tweaking. I have spent a lot of time gathering several resources in order to get this to work. Many portions of these resources have been deprecated and required a few workarounds. It is my intention that this tutorial will help anyone that has attempted to install such a system without success. If you find any inconsistencies within this tutorial, please notify me using the contact form.
ModSecurity is a web application firewall (WAF). With over 70% of attacks now carried out over the web application level, organisations need all the help they can get in making their systems secure. WAFs are deployed to establish an increased external security layer to detect and/or prevent attacks before they reach web applications. ModSecurity provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring and real-time analysis with little or no changes to existing infrastructure.
In todays system you will hardly find the Too many open files error. However, if you are running Java application and processing it taking time you see these errors in your application log.