Author Archives: Sven Lange

About Sven Lange

I am a software engineer at Orientation in Objects in Mannheim (Germany) whose scope is mainly on web development related stuff.

HTML5 offline capabilities for web applications

Inspired by a HTML5 GTUG-Campout Meeting I decided to play around a little with HTML5. In this post I will show an example how to create book instances in a book management web application while being offline and push all … Continue reading

Posted in Lessons Learned | Tagged , | Leave a comment

Disable Ehcaches UpdateChecker in Grails application

This post describes how to disable Ehcaches annoying and suspiciously talkative UpdateChecker in a Grails 1.2.0 application using Ehcache 1.7.1 as its 2nd level cache provider. Continue reading

Posted in Grails | Tagged , | 6 Comments

Recursively remove Subversions .svn folders

Howto recursively remove Subversions .svn folders. Continue reading

Posted in Lessons Learned | Tagged | Leave a comment

Generating UML class diagrams from Grails domain model

In this post I compare the existing Grails plugins to generate UML class diagrams. Continue reading

Posted in Grails | Tagged | 2 Comments

Give the tomcat a bit more memory

If Tomcat needs more memory then you have to add the following line to the catalina config file. Windows (catalina.bat) set JAVA_OPTS=%JAVA_OPTS% -server -Xms512M -Xmx768M -XX:MaxPermSize=128m Grails 1.2 default PermGen memory is set to 96MB. The Sun JVMs default is … Continue reading

Posted in Tomcat | Tagged , | Leave a comment

Manually install JDK 6 on Suse Linux Enterpise Edition 10 SP2

First remove older and maybe protected JDKs with yast. yast -> Software -> Software management Then invoke following command on console. ./jdk-6u14-linux-i586-rpm.bin Afterwards create file /etc/profile.local and add following line. export JAVA_HOME=/usr/java/jdk1.6.0_14 That’s it.

Posted in Linux, Suse | Tagged , , , | Leave a comment

Using storeXPath() in your Grails Webtest

Today I had to figure out how to save some content from a site during a running Webtest so that I am able to restore all changed data afterwards. Luckily Webtest provides the step storeXPath() which does the job. But … Continue reading

Posted in Grails, Testing, Webtest | Tagged , , | Leave a comment