aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Have problem when I run jsp on server.
Web Service Exception!!
Unable to open module file "CAINWeb.war" in EAR file "C:/WORKSPACE_March2/.metadata/.plugins/org.ecl
Using Java Classes in JSP
Accessing detailed server logs