I noticed recently that the Pidgin 2.7.5 messenger [1] had problems connecting to MSN with a certificate error about omega.contacts.msn.com. Fortunately I'm neither the first to have that problem, nor to find a solution [2]. MSN apparently replaced their certificate, which now needs to be updated with Pidgin. 1. point your browser to https://omega.contacts.msn.com/ 2. … Continue reading Pidgin having trouble with MSN certificate – and how to fix
Category: programming
ID trouble with multiple Hibernate entities on the same table
Just a while ago I ran into a case where Hibernate would auto generate a wrong database schema when two entities were mapped on the same table. The good news: it's my fault and not a bug. The better news: here's an account of how to avoid it. Let's assume a mutable entity A mapped … Continue reading ID trouble with multiple Hibernate entities on the same table
A counterintuitive relation between CPU and memory usage
Continuing my tests on low-end server environments, I recently set up a stress test of a load balanced tomcat webapp. Part of that tests consist in reducing the available memory for the webapp (JVM -Xmx switch) and see how low it could go before negatively affecting performance. It's common knowledge that once available memory runs … Continue reading A counterintuitive relation between CPU and memory usage
Running a java webapp in a VPS
The market is swarming with cheap Virtual Private Server (VPS) or Virtual Dedicated Server (VDS) offers [1] these days, and the specs don't look bad: you can get as much as 2GB RAM, 50GB storage space and a double core 2GHz CPU for less than 10$ / 8€ and nearly unlimited traffic. That's ideal for … Continue reading Running a java webapp in a VPS
GWT RPC calls with Http GET method
GWT's RPC [1] component comes handy when communicating with java backends - it's like RMI restricted to asynchronous calls, however it escapes any attempts to cache server responses. This post discusses a moderately simple way of making RPC responses cacheable by Http proxies and browsers. I'm not going into the details of the RPC lifecycle … Continue reading GWT RPC calls with Http GET method