nginx · Server · Tomcat

Nginx as a Reverse-Proxy to Apache Tomcat


Why a Proxy? Apache’s Tomcat is a complex beast whose primary role is to render JavaServer Pages. While it can be configured to use and serve the modern web it’s often an unnecessarily complex procedure. By using a dedicated reverse-proxy server such as nginx it allows you to separate web applications from the task of web serving. Use a Solo Instance of… Continue reading Nginx as a Reverse-Proxy to Apache Tomcat

Linux · Security · Server · Tomcat

Secure and harden Apache Tomcat’s SSL/TLS


Introduction In this guide I will walk through the process of hardening HTTPS connectors used by Apache Tomcat. As unfortunately the default configuration of Ubuntu 14.04 LTS using Tomcat 7 and OpenJDK 7 are vulnerable to a number of attacks and weak encryptions. You can test your own site’s HTTPS implementation against these weaknesses at… Continue reading Secure and harden Apache Tomcat’s SSL/TLS

Linux · Security · Server · Tomcat

Create self-signed certificates for HTTPS with Apache Tomcat


This entry will guide through the process of creating a self-signed certificate to use on an Apache Tomcat 7 or 8 HTTPS connector. Self-signed certificates allow secure, encrypted HTTPS connections but are not certified by any trusted certificate authority. So first time client connections will receive all kinds of warnings from their web browser. Because of… Continue reading Create self-signed certificates for HTTPS with Apache Tomcat

Eclipse · Windows · Windows 7 · Windows Vista

How to install 64-bit Java on 64-bit Windows and solve an annoying Eclipse 5.6 error


I recently ran into a problem whereby I was trying to run a 64-bit Java application and yet I only had a 32-bit edition of Java installed on my 64-bit Windows computer. To obtain a 64-bit copy of Java I needed visit the Java download page using a 64-bit browser. On visiting with a standard… Continue reading How to install 64-bit Java on 64-bit Windows and solve an annoying Eclipse 5.6 error

CFML/ColdFusion · ColdBox · Transfer ORM

ColdBox, Transfer, ColdFusion 8 – A timeout occurred while attempting to lock


In final phase with the migration of http://www.civbox.com to a structured framework application running off ColdBox and Transfer ORM I encountered one recurring problem. No matter what paged was referenced or loaded the following error would be generated after a very long loading time. A timeout occurred while attempting to lock DC5CF9189FA37B5CEE3AB11FD50F9E23. The error occurred… Continue reading ColdBox, Transfer, ColdFusion 8 – A timeout occurred while attempting to lock