]
Tomaz Cerar closed WFLY-7748.
-----------------------------
Resolution: Rejected
This is by design.
By default stacktraces are only shown for local requests as that reflects development
needs.
You can change that by configuring servlet-conteiner in undertow subsystem differently
{code:xml}
<servlet-container name="default" stack-trace-on-error="all"
>..
{code}
to show stacktraces for all requests
JBoss does not return exception with stack trace if the service
address is not localhost or loopback ip
--------------------------------------------------------------------------------------------------------
Key: WFLY-7748
URL:
https://issues.jboss.org/browse/WFLY-7748
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 10.1.0.Final
Environment: Window OS: win 7
JDK version: 1.8.0_112
Reporter: Khoa Tran
Priority: Critical
Attachments: Replication.docx, WebException.zip, standalone.xml
For this JBOSS release 7.0.1.GA, exception return to client upon processing HTTP Request
is not consistent. How the exception return surprisingly depends on the ipaddress (of the
server).
What I mean is:
- Using 127.0.0.1 or localhost as part of address, exception is return fine, with proper
stack trace
- Using PC domain name, or lan ip adrress, the exception return is just "Internal
Server Error", no stack trace - this look like JBoss error to me.
Please view attach document for detail, also there is sample project and standalone xml
included.