Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to remove stack trace from faultString in WebSphere  RSS feed

Rakesh kt
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have deployed a WebService in WebSphere application server. When I request WebService with invalid operation name, I get correct error message "Error: Could not resolve to an operation." But along with this error message I am also getting lot of unwanted stack trace in <faultstring> which could be security threat; faultstring, for example, includes EAR/WAR name with actual path in the server, classloader name, everything in class path get displayed in <faultstring>. Here is what I get:

Is there any way to tell WebSphere server not to include stack trace in faultstring? Please help.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!