This issue occurs on WildFly 8 and 9.
I have a Eclipse with WildFly local installation, on a Windows machine. Eclipse uses JBoss Tools, server setup with application added always. Authentication using ldap module, with url pattern to "/protected/*".
Every first start of WildFly server with an already published application gives me an forbidden error, then I make a full publish on this application and it works.
I have just to close Eclipse, open it again, make server run, and:
- http://localhost:8080/app - 403 forbidden
- http:/localhost:8080/app/index.xhtml - 404 not found
Any clues??