This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to remove stack trace from faultString in WebSphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to remove stack trace from faultString in WebSphere" Watch "How to remove stack trace from faultString in WebSphere" New topic
Author

How to remove stack trace from faultString in WebSphere

Rakesh kt
Greenhorn

Joined: Jun 07, 2012
Posts: 1
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.

Thanks,
Rakesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to remove stack trace from faultString in WebSphere
 
Similar Threads
Unable to open module file "CAINWeb.war" in EAR file "C:/WORKSPACE_March2/.metadata/.plugins/org.ecl
Accessing detailed server logs
Using Java Classes in JSP
Web Service Exception
Have problem when I run jsp on server.