OK, this is scenario when will both TomEE GUI read its credentials (from tomcat-users.xml), and my app read its user credentials from database:
To be able to deploy myApp.war to tomee/webapps folder, I must remove that context tag (with realm definition) for my application from conf/server.xml (commented it). Did that, deployed my application to tomee/webapps, then I have uncommented context tag, started server and in this case I am able to log in to TomEE GUI, and my application is able to use database defined under context realm tags. -- View this message in context: http://openejb.979440.n4.nabble.com/Apache-TomEE-unable-to-access-TomEE-GUI-Server-Status-Manager-App-and-Host-Manager-services-tp4667582p4667644.html Sent from the OpenEJB User mailing list archive at Nabble.com.
