Ah, problem solved. I had log4j in my classpath. Apache Commons logging was detecting that and therefore all the exceptions were being shipped off to log4j. log4j wasn't configured so it was basically dropping everything (as it should).
I took log4j out of the classpath and all is well.
Logging in Java is a mess, what with log4j, Commons Logging and Java's native logging. I forget who said it, but someone said, "The great thing about standards is there are so many to choose from."
Logging is great but the configuration of logging itself can be hard to debug.
|