I've implemented a filter (javax.servlet.Filter). I now have some strange behavior when enabling JMX. As soon as I enable it I will get a "java.lang.OutOfMemoryError: PermGen space" error within short time.
I really can't understand why this is. When leaving JMX disabled the application seem to be running fine.