You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by husby024 <hu...@umn.edu> on 2014/02/11 22:17:39 UTC

Displaying exception stack traces

I have a CXF service that will occasionally throw an exception.  I think in
earlier versions of CXF, this worked fine.  However, in the latest version,
CXF must be trying to resolve all the classes listed in the stack trace
because it throws a ClassNotFoundException.  This is because I've structured
my code using bundles that contain the web service interfaces, and when an
exception is generated from the implementing class, it contains classes that
the class calling the web service does not depend on.

How can I deal with this?  Or more specifically.... *is there a way to make
CXF not try to resolve the classes listed in the stack trace?*

Thank you!

Joseph



--
View this message in context: http://cxf.547215.n5.nabble.com/Displaying-exception-stack-traces-tp5739845.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Displaying exception stack traces

Posted by Aki Yoshida <el...@gmail.com>.
I'm not sure what you are asking.

If you see some classes that you don't know in the middle of your
exception stack trace, you are using them (or in other words, the
classes that you are using are using them) and they have been
resolved. The only class that was not resolved was the one that is
indicated by the ClassNotFoundException. Is this class accessible from
your application?




2014-02-11 22:17 GMT+01:00 husby024 <hu...@umn.edu>:
> I have a CXF service that will occasionally throw an exception.  I think in
> earlier versions of CXF, this worked fine.  However, in the latest version,
> CXF must be trying to resolve all the classes listed in the stack trace
> because it throws a ClassNotFoundException.  This is because I've structured
> my code using bundles that contain the web service interfaces, and when an
> exception is generated from the implementing class, it contains classes that
> the class calling the web service does not depend on.
>
> How can I deal with this?  Or more specifically.... *is there a way to make
> CXF not try to resolve the classes listed in the stack trace?*
>
> Thank you!
>
> Joseph
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Displaying-exception-stack-traces-tp5739845.html
> Sent from the cxf-user mailing list archive at Nabble.com.