You can eliminate additional stack traces resulting from an error on an API call in EJB mode.
To eliminate stack traces: