tomcat db connection working, but not with injection