Wildfly:为什么我只会收到"Forbidden"如果我调用我的Web应用程序?
昨天,我们的Web应用程序在WildFly 9上运行良好.从今天早上开始,我在Web浏览器中仅收到禁止访问"信息.我们不使用JAAS.如果在standalone.xml
中将以下值设置为false
,也没有区别:
Yesterday our web application ran fine on WildFly 9. Since this morning I get only a "Forbidden" in the web browser. We don't use JAAS. There is also no difference if I set the following value to false
in the standalone.xml
:
...
<subsystem xmlns="urn:jboss:domain:ejb3:3.0">
...
<default-missing-method-permissions-deny-access value="true"/>
...
</subsystem>
...
WildFly仅显示禁止"页面的原因可能是什么?
What can be the reasons that WildFly only shows the "Forbidden" page?
编辑
如果将程序包org.jboss.security
的日志级别设置为TRACE
,则在调用页面时在日志文件中收到以下消息:
If I set the log level for package org.jboss.security
to TRACE
I get the following message in the log file while calling the page:
2016-01-27 12:58:15,354 TRACE [org.jboss.security] (default task-5) PBOX00354: Setting security roles ThreadLocal: null
不确定这是什么意思...
Not sure what this means ...
我的EAR项目和eclipse中继承的WAR项目都已损坏.缺少某些内容,例如application.xml
.
My EAR project and the inherited WAR project in eclipse was broken. There were several things missing like at example the application.xml
.
不知道为什么这些东西丢失了,我在哪里丢失了.但是,在修复了两个项目的部署之后,它又可以工作了.
Not sure why these things are missing and where I have lost it. But after fixing both projects deployments it works again.