Archive for the ‘Computer’ Category

Java doesn’t like 3D support in Virtual Box

August 15th, 2010

A few days ago, I had issues installing ElasticPath on my Windows VMs : the installer’s window never showed up. At first, I suspected that the installer was simply not compatible withVirtualBox.

But things started to become really strange when I tried to debug the Java process launched by the installer (which was eating all CPU time) with Visual VM or JConsole. Both tools were unable to start.

After a quick search on Virtualbox bug tracker, here is the answer :

Any Java Swing/AWT application will crash if 3d support was selected in Virtualbox guest additions. (Virtualbox 3.2.X and Only on JVM > 1.6u6)

See this bug report for details : http://www.virtualbox.org/ticket/6873

Openvz – cheat sheet

July 14th, 2010

My current cheat sheet for OpenVZ on Debian. Will be updated continuously. Comments are welcome.

Installation
apt-get install linux-image-...-vz

Getting Debian Lenny template

in /var/lib/vz/templates/cache :
wget http://download.openvz.org/template/precreated/debian-5.0-x86.tar.gz

Create VM
(more…)

WAT and Stateless filter now have a clean changelog

June 24th, 2010

Thanks to Mantis But Tracker and with some time spent to recreate issues for the latest commits, both Web Assemble Tool and Stateless Filter now have a changelog available.

WAT :
https://sourceforge.net/apps/mantisbt/webassembletool/changelog_page.php

Stateless filter :
https://sourceforge.net/apps/mantisbt/statelessfilter/changelog_page.php

This gives a better visibility on the activity and the latest changes/releases of these projects.

How to solve ‘Error listenerStart’ Error with Spring, Log4j and Tomcat

June 22nd, 2010

Working with Spring, Log4j and Tomcat, you may have faced the following error, which prevents your web application to start :

Logs in french :
org.apache.catalina.core.StandardContext start GRAVE: Error listenerStart
org.apache.catalina.core.StandardContext start GRAVE: Erreur de démarrage du contexte [/mywebapp] suite aux erreurs précédentes

Logs in english :
org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart
org.apache.catalina.core.StandardContext start SEVERE: Context [/mywebapp] startup failed due to previous errors

(more…)

Set Jetty buffer size (Maven)

March 11th, 2010

Working with large cookies and jetty, you may have faced this error :

2010-03-11 18:18:31.275:WARN::HttpException(413,FULL head,null)

This is because jetty allows only 4ko for HTTP request and response headers. Using large cookies is enough to reach the limit.

(more…)