Hi,

First of all, thank you very much for this contribution.
Unfortunately, this change seems to be not enought and you have also
to change the method
  static public void error(String msg, Throwable th)
of the class
  org.objectweb.jonas_ejb.container.TraceEjb

Old code:
    static public void error(String msg, Throwable th) {
        if (logWriter!=null) {
            logWriter.println(th);
        }
    }
New code:
    static public void error(String msg, Throwable th) {
        if (logWriter!=null) {
            logWriter.println(msg);
            th.printStackTrace(logWriter);
        }
    }

These changes will be in the next release of JOnAS.

Thanks again.
Regards.
H�l�ne.

Heike Franosch wrote:
> 
> Hi,
> 
> I have searched the code a bit and found just the line that caused the
> problem not printing
> the stacktrace. I have attached a small diff file, if someone is interested.
>  <<JBean.diff>>
> Heike
> 
-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]   http://www.evidian.com
  Phone: 33.4.76.29.73.53            Fax: 33.4.76.29.76.00
  Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to