Back online

It's been quite a while, over 4 year actually, that this page was dead...

Too long...

However, I took the effort, did the cleanup, removed the spiderwebs, comment spam, updated everything and now, it's back.

Will I start blogging regularly? I have no idea to be quite honest. We'll see... :)



SVN: Relocate all subdirectories

I had to change the location of a SVN server for quite some working copies since we migrated from Subversion 1.4.6 to 1.7.1 and change the protocol from svn to http.

  1. for dir in $(ls); do 
  2.     if [ -d $dir ]; then 
  3.         echo "Processing $dir"; 
  4.         cd $dir; 
  5.         url=$(svn info| grep URL | grep "svn://" | sed 's#URL: svn://old-server/path/to/##'); 
  7.         if [ "x$url" == "x" ]; then 
  8.             cd ..; 
  9.             continue; 
  10.         fi; 
  12.         echo $url; 
  13.         svn relocate <a href="http://new-server/new/path/to/">http://new-server/new/path/to/</a>$url; 
  14.         cd ..; 
  15.     fi 
  16. done



Comment spam

I recently had a lot of comment spam that I removed today.

That reminds me to start blogging again and update my Drupal installation that is really outdated now and needs some work to be up-to-date again.

Hopefully I can add some new content here the next months... Let's see

Adding ant-svnlib to Net Beans

I wanted to add some additional plugins to the ant build for Netbeans to automatically do some tagging if Ivy publishes the file. Fortunately I found a related post that pushed me into the right direction.

You simply have to copy your JARs to



Moved from to

As I already wrote I use for my secondary DNS server. Quite a while ago was bought by Dyn Inc.

Now the time has come that all the customers are migrated, of course it's not free of charge, somebody has to pay the bill and the secondary DNS service won't be free of charge any longer. The deadline is the 31st of August 2011, so it's seems to be a good time to start looking for something new.



Axis2 memory leak on redeploy

For quite a while I'm facing the well-known problem of memory leaks while re-deploying Axis2 Webservices on Tomcat and JBoss.

The problem is that you run out of memory, the PermGemSpace in fact, after some redeploy cycles of an Axis2 based Webservice. The only solution is to restart the server to clean up the memory. While this is not too hard on a development machine, it's more difficult on a production server. Although you most probably won't deploy on a production server too often, it's getting on my nerves.




minTTY: A usable terminal for Windows

From time to time I get re-bound to an operating system that's not my favourite: Windows. This time it's in the Windows 7 incarnation. OK, I have to admit that there are some nice features, but that doesn't really pays the bill of everything else I have to bear.

What I do at first is to install Cygwin which relieves the pain a bit. Still, I was not really satisfied with Windows command line based shell, it doesn't feel right. There are so many rough edges that it's no fun to use.



Axis2 SOAP message logging

From time to time I want to read the messages that are send from Axis to the endpoint.

The solution is quite simple if you already use a logging framework for your application which you definitely should...

Set some properties in your file and you're done:

  3. log4j.logger.httpclient.wire.header=debug
  4. log4j.logger.httpclient.wire=debug 



add-apt-repository and proxy settings

I always had the problem that the global proxy settings I set for Gnome weren't recognised by


. Therefore adding new repository from Launchpad was a pain in the neck.



Runtime log4j configuration using commons-logging

Since some time I run several instances of the same application on a tomcat server. This is the poor man's approach of multi-tenancy, I'd prefer to change the application to really support multiple tenants, but that'll take some time.

The main problem was that everything was logged in the same log file unless I change the before deploying to Tomcat. I therefore wanted to change the log file location dynamically.

The very small example below shows how to change the log file for a FileAppender while using the commons logging from Apache.



Subscribe to Alles was ist... RSS


Subscribe to Syndicate