Monthly Archives: March 2010

bash uuid generator

Onliner bash scripts are handy but bash and common utilities don’t always work the same on the two systems I most use: Centos vs. OS X.

centos $ cat /etc/redhat-release
CentOS release 5.4 (Final)

osx $ sw_vers | head -n2
ProductName: Mac OS X
ProductVersion: 10.6.2

For example, I recently wrote a simple script to generate a set of UUID using the [...]

tomcat error: clearThreadLocalMap

I’m trying to move from Tomcat 5.5.28 to Tomcat 6.0.26 for my Struts2-based webapp. I previously tried–unsuccessfully–to make the move to Tomcat 6.0.20 but had to roll back. There were problems with the underlying connection to mail that I didn’t have time to track down.
I use a standard stack.

$ cat /etc/redhat-release
CentOS release 5.4 (Final)

$ /usr/sbin/httpd [...]