Try to use a "context.xml" in your project. This may work and you avoid
changes in server.xml.

Tomcat: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html
Example:
https://github.com/tveronezi/faceid/blob/master/src/main/webapp/META-INF/context.xml

[]s,
Thiago.



On Tue, Feb 11, 2014 at 3:52 AM, wlad <[email protected]> wrote:

> 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.
>

Reply via email to