Wildfly: Why do I only get "Forbidden" if I call my web application?

Yesterday, our web application did a great job with WildFly 9. Since this morning, I only get β€œForbidden” in my web browser. We do not use JAAS. It also makes no difference if I set the following false to standalone.xml :

 ... <subsystem xmlns="urn:jboss:domain:ejb3:3.0"> ... <default-missing-method-permissions-deny-access value="true"/> ... </subsystem> ... 

What could be the reason WildFly only shows the Forbidden page?

EDIT

If I set the log level for the org.jboss.security package to TRACE , I get the following message in the log file when the page is called:

 2016-01-27 12:58:15,354 TRACE [org.jboss.security] (default task-5) PBOX00354: Setting security roles ThreadLocal: null 

Not sure what that means ...

+5
source share
2 answers

My EAR project and inherited WAR project in eclipse were broken. There were a few missing things, for example, in the application.xml example.

I don’t know why these things are missing and where I lost them. But after fixing the deployments of both projects, it works again.

+1
source

This assembly must be damaged. Restore the application, create a war again and deploy it again. This will work.

0
source

Source: https://habr.com/ru/post/1241598/


All Articles