I have a peculiar problem. My Context uses a JDBCRealm for authentication. When I put my Context in conf/server.xml, I can login without a problem. But, I'm told this is a bad practice and that I should place my Context in /webapps/Injunction/WEB-INF/META-INF/context.xml.
I've done this. And now my login fails. Same Context. Two different locations.
I've googled left and right but no one else has experienced this issue. I'm using
Tomcat 7.0.39. I upgraded to 7.0.55 to see if it would help, but the problem persists.
Here is my Context:
If I can't resolve this problem, I'll have to maintain the Context in the server.xml and manually deploy the webapp. Turns out you can't use the HTML manager gui if you've put the Context in the server.xml.