AWS, Technology

Convert Apache (x509 cert) SSL Certificate to Tomcat (Keystore)

When setting up SSL certificate for a website, we mainly use two types of SSL certificate one is x509 mostly used with applications support OpenSSL library and other is Keystore which is used with Java 1.6+ applications. Apache/Nginx uses x509 pem/crt files which is is very different than a Jetty/Tomcat (Java 1.6+) system that uses...

by Nitin Bhadauria
Tag: tomcat
02-May-2016

Grails

Grails 3 and Deployment to Tomcat Container

Any web application consists mainly of two tasks, i.e, development, and deployment. For web application development, we can use any tools but for deployment, we need to be careful of what environments are supported by the framework. At the time of Grails 2, we just needed to execute grails war and put the generated war to a container,...

by Manvendra Singh
Tag: tomcat
22-Apr-2016

Grails

Run multiple app instances with diff config files on same tomcat server

The application I am working on, requires different configurations for the each client. For internal QA environment, we wanted to deploy multiple instances of this app with different configuration setup so that it can be tested easily and without creating tomcat instance for each deployment. So the challenge was to use different...

by Amit Jain
Tag: tomcat
28-May-2015

Grails

Sharing HTTP Session between subdomains

Recently, I had a usecase to share same http session between different subdomains. The idea was that if a user is logged in on "somedomain.com", he need not to login again to go to subdomain.somedomain.com. The same http session should be usable. I started off on the wrong foot by looking into the SpringSecurity plugin, which I had been...

by Imran Mir
Tag: tomcat
21-Mar-2012

DevOps, Technology

Increasing the connection timeout between browser and the tomcat server

There is a case stuck recently in my Grails development project where I need to increase the connection timeout between the browser and the server, because of the reason before the response get completed server leave the connection which resulted in no response. My colleague Himanshu told me to change the setting in server.xml, which...

by Tarun Pareek
Tag: tomcat
21-Dec-2011

Technology

Tomcat 6 in-memory session replication

Hi All, Here are the few basic steps that you need to follow in order to achieve the in-memory session replication between two or more Tomcat 6 instances. This blog refers the Apache Tomcat documentation as found here: http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html. The Tomcat documentation provides more detailed...

by Abhishek Tejpaul
Tag: tomcat
22-Jul-2010

Database

Tomcat 6 Session Persistence through JDBCStore

In one of our recent projects, we needed to save the HTTP session in the database. This blog refers the Apache documentation as found here: http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html These are the following steps that need to be followed: Step 1: Create a database named tomcat (as shown in our example in Step 3...

by Abhishek Tejpaul
Tag: tomcat
21-Jul-2010

Technology

Apache-Tomcat integration on Ubuntu server

Follow the steps mentioned below to integrate Apache with Tomcat on an Ubuntu system. The steps assume that Apache and Tomcat are already installed and working fine independently. Install Apache module for tomcat sudo apt-get install libapache2-mod-jk Create a file by the name "worker.properties" in /etc/apache2 directory....

by Deepak
Tag: tomcat
13-Feb-2008