Posts Tagged ‘tomcat’

Setting Tomcat Heap Size (JVM Heap) in Eclipse

Setting Tomcat Heap Size (JVM Heap) in Eclipse
Recently while running Tomcat under Eclipse for one of the web application I was getting Java Heap memory related error java.lang.OutOfMemoryError. What needs to be done here basically is to increase the jvm heap size. So for increasing the JVM Heap Size of Tomcat in Eclipse we have to set few VM arguments of the tomcat.Follow ...

Database Connection Pooling in Tomcat using Eclipse

Database Connection Pooling in Tomcat using Eclipse
Database Connection Pooling is a great technique used by lot of application servers to optimize the performance. Database Connection creation is a costly task thus it impacts the performance of application. Hence lot of application server creates a database connection pool which are pre initiated db connections that can be leverage to increase performance.Apache Tomcat ...

Run Multiple Instance of Apache Tomcat in Single Server

Run Multiple Instance of Apache Tomcat in Single Server
A lot of time we want to run multiple instances of Apache Tomcat server on a single machine. Generally this is done for creating a separate load balancer server for an application or install a different application independently.This can be achieved easy by some configuration in Tomcat Server. We need to install a second instance ...

HTTP Proxy setting in Java. Setting up proxy.

HTTP Proxy setting in Java. Setting up proxy.
Working behind a proxy and writing network related code has always been boring for me. Just because everytime I had to connect to Internet and get some data, I had to use Proxy settings. Whatever I used had a proxy configuration.HTTP Proxy are configured mostly in corporate environments to manage internet usage. Hence if you are ...

Performance Monitoring using Glassbox

Performance Monitoring using Glassbox
Industry is recognizing the fact that Performance testing & engineering should be part of the project execution road map starting from Requirement gathering phase. At many times during project executions, performance engineering related activities are executed based on customer need or slow response time of application after development phase gets completed. Glassbox can be leveraged (by developers/testers/business users) ...

Implement LDAP authentication in Tomcat & JBoss server for Java app

Implement LDAP authentication in Tomcat & JBoss server for Java app
In this article we will explore the ways to implementation of LDAP (Lightweight Directory Access Protocol) authentication in Tomcat as well as JBoss server.First let us see briefly what LDAP is.Introduction to LDAPFollowing is what Wikipedia has to say about LDAP:The Lightweight Directory Access Protocol, or LDAP is an application protocol for querying and modifying directory services running over TCP/IP.A directory is a set of ...

Enable GZIP compression in tomcat

Enable GZIP compression in tomcat
What is GZIP? It is a compression format created by Jean-Loup Gailly and Mark Adler. Version 0.1 was first publicly released on October 31, 1992.GZIP is based on the DEFLATE algorithm, which is a combination of LZ77 and Huffman coding. DEFLATE was intended as a replacement for LZW and other patent-encumbered data compression algorithms which, at the time, limited the usability of compress and other popular ...
Tags: ,