You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Apostolopoulos Paris <pa...@freemail.gr> on 2003/02/20 17:44:32 UTC
Newbie question about FAULTs (again) and tomcat printing the stack trace!
Hi again!
One more question related to FAULTS (again), but quite specific this
time! From my previous question in the mailing list I managed to solve
some theoritical problems about the notion of FAULTS (thank you Brian
Erwins)! Well here is my case!
In my service I use AXIS faults as part of my businnes logic! I mean
that if there is a logic error in my method to be invoked I decide to
throw an axis error and write a custom message to be delivered to the
client! Yes it works fine , the client receives a SOAP Fault and prints
out the (logical) reason that the invocation failed! BUT I have a small
problem , when I throw a Axis Error in my service , TOMCAT in its screen
prints the statck trace of the error (exception) .I wanted to make a
demo of my service but I think if my tutor see the tomcat screen
printing several stack traces because of some AXIS faults that I throw
intentionaly in my code , he is going to believe that I am doing
something wrong!
Is there a way of doing something better? How can I stil send the FAULT
to the client but then TOMCAT not to print the stack trace? Please if I
am missing something let me know!
Thank you very much for your time!
Paris
RE: Newbie question about FAULTs (again) and tomcat printing the stack trace!
Posted by Apostolopoulos Paris <pa...@freemail.gr>.
Thanks again Steve , problem solved, I have missed that option! Tomcat
output screen is now clear and nice!
:)
Paris
-----Original Message-----
From: Steve Loughran [mailto:steve_l@iseran.com]
Sent: Thursday, February 20, 2003 7:53 PM
To: axis-user@ws.apache.org
Subject: Re: Newbie question about FAULTs (again) and tomcat printing
the stack trace!
----- Original Message -----
From: "Apostolopoulos Paris" <pa...@freemail.gr>
To: <ax...@ws.apache.org>
Sent: Thursday, February 20, 2003 11:30
Subject: RE: Newbie question about FAULTs (again) and tomcat printing
the stack trace!
> Thanks for your reply Steve!
>
> Yes its true I am using AXIS 1.0 .
>
> 1. Shall I download 1.1 beta or 1.1release candidate?
the latest you can
> 2. Sorry newbie questin agan where shall I find the axis.development
> system flag? In a wsdd file ?
in the documentation; reference.html. but by default axis1.1 assumes you
are production, not development
Re: Newbie question about FAULTs (again) and tomcat printing the stack trace!
Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Apostolopoulos Paris" <pa...@freemail.gr>
To: <ax...@ws.apache.org>
Sent: Thursday, February 20, 2003 11:30
Subject: RE: Newbie question about FAULTs (again) and tomcat printing the
stack trace!
> Thanks for your reply Steve!
>
> Yes its true I am using AXIS 1.0 .
>
> 1. Shall I download 1.1 beta or 1.1release candidate?
the latest you can
> 2. Sorry newbie questin agan where shall I find the axis.development
> system flag? In a wsdd file ?
in the documentation; reference.html. but by default axis1.1 assumes you are
production, not development
RE: Newbie question about FAULTs (again) and tomcat printing the stack trace!
Posted by Apostolopoulos Paris <pa...@freemail.gr>.
Thanks for your reply Steve!
Yes its true I am using AXIS 1.0 .
1. Shall I download 1.1 beta or 1.1release candidate?
2. Sorry newbie questin agan where shall I find the axis.development
system flag? In a wsdd file ?
Thank you for your time
Paris
-----Original Message-----
From: Steve Loughran [mailto:steve_l@iseran.com]
Sent: Thursday, February 20, 2003 6:56 PM
To: axis-user@ws.apache.org
Subject: Re: Newbie question about FAULTs (again) and tomcat printing
the stack trace!
----- Original Message -----
From: "Apostolopoulos Paris" <pa...@freemail.gr>
To: <ax...@ws.apache.org>
Sent: Thursday, February 20, 2003 08:44
Subject: Newbie question about FAULTs (again) and tomcat printing the
stack trace!
> Hi again!
>
> Is there a way of doing something better? How can I stil send the
> FAULT to the client but then TOMCAT not to print the stack trace?
> Please if I am missing something let me know!
axis1.1 does not do this by default. upgrade. make sure the
axis.developmentsystem (spelling?) flag is false
Re: Newbie question about FAULTs (again) and tomcat printing the stack trace!
Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Apostolopoulos Paris" <pa...@freemail.gr>
To: <ax...@ws.apache.org>
Sent: Thursday, February 20, 2003 08:44
Subject: Newbie question about FAULTs (again) and tomcat printing the stack
trace!
> Hi again!
>
> Is there a way of doing something better? How can I stil send the FAULT
> to the client but then TOMCAT not to print the stack trace? Please if I
> am missing something let me know!
axis1.1 does not do this by default. upgrade. make sure the
axis.developmentsystem (spelling?) flag is false