Here's information on our logging options:

http://cwiki.apache.org/CXF20DOC/debugging.html



2008-04-21 (月) の 16:02 -0700 に greenstar さんは書きました:
> It appears to print Exception.getMessage().  NullPointerException has no
> message, which explains why it prints null in this case.
> 
> How can I configure CXF to print the exception class and optionally the
> stack trace (on the server)?
> 
> 
> greenstar wrote:
> > 
> > I have recently upgraded from XFire 1.2.6 to CXF 2.0.5, (within JBoss
> > 4.2.0.GA/Java1.6.0_06).
> > 
> > When using JAXWS, when my services throws an exception from the "business"
> > code, the exception stack is not logged.  For example, when my application
> > throws a NullPointerException, only the following is mentioned in the log
> > (instead of printing that stack trace or the exception class at the very
> > least):
> > 
> >   15:36:41,796 ERROR [STDERR] Apr 21, 2008 3:36:41 PM
> > org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> >   INFO: Application has thrown exception, unwinding now: null
> > 
> > ...
> > 
> 

Reply via email to