Thank you! I have already solved the issue. It wasn't jackrabbit related.
Maven was attaching old version of mysql connector to this app which was supposed to be compatible but wasn't working. -- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Users-f510167.html