Ok, I managed to get the exception to show again, it's not very helpful though: 23:08:14,532 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 1m:34s:310ms 23:08:22,730 INFO [TomcatDeployment] undeploy, ctxPath=/test 23:08:22,766 INFO [SessionFactoryImpl] closing 23:08:22,793 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.unit:unitName=#test 23:08:22,793 INFO [SessionFactoryImpl] closing 23:08:22,793 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.unit:unitName=#test 23:08:22,793 INFO [NamingHelper] JNDI InitialContext ...