A good idea would be to put a catch( Exception) block as the outer most
layer in your session bean method and then you can log exceptions at the
server before throwing them on to the client.  You need to rethrow the
exception as is to retain the behavior around transaction commit/rollback.

Cheers

-----Original Message-----
From: krithikav [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 7:52 AM
To: [EMAIL PROTECTED]
Subject: Remote Exception error


Hi,
When I invoke a remote method of a bean (stateless session bean), I get the
following error..
Can anyone help me to sort this out??

java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
        com.ibm.ejs.container.UncheckedException: ; nested exception is:
        java.lang.NullPointerException
com.ibm.ejs.container.UncheckedException: ; nested exception is:
        java.lang.NullPointerException
java.lang.NullPointerException

Thanx in advance,
Krithika

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to