axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Help in Exception handling...
Date Thu, 19 Aug 2004 13:38:28 GMT
To turn off sending stacktraces:

In your server-config.wsdd file, set the axis.development.system global
config parameter to false.
false = production system, stack traces not sent out in the SOAP messages
true = development system, stack traces sent out

    <parameter name="axis.development.system" value="false"/>

- Junaid

             Vikas Phonsa                                                  
             2004-08-18 오후           "''"         
             07:03                     <>           
             Please respond to                                     Subject 
             axis-user@ws.apac         RE: Help in Exception handling...   

>In the *.wsdd file,  the flag is named 'useProductionMode' or something
>like that.

Yeah there is such a flag, but turning that to production mode also didn't
make a difference. I'm using doc/literal encoding with axis 1.1


-----Original Message-----
From: matthew.hawthorne []
Sent: Wednesday, August 18, 2004 4:00 PM
Subject: Re: Help in Exception handling...

Christophe Roudet wrote:
> I am not sure it is possible to skip the stack trace.
> I have just looked to the AxisFault code and it seems that fault details
> will always be filled with the stack trace (see the
> initFromException(Exception target) method).

I think there may be a flag you can set that turns off the sending of
stack traces to the client.
In the *.wsdd file,  the flag is named 'useProductionMode' or something
like that.

I have vague memories of seeing such a thing on this list, but I may be
getting confused.

View raw message