In memory db and jms, cleaned up modules, fixed #1.