thank you very much richard, I will fix this asap
marc
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Backhouse
> Sent: Wednesday, October 04, 2000 4:29 PM
> To: jBoss Developer
> Subject: [jBoss-Dev] Bug in StatefulSessionInstanceInstanceInterceptor
>
>
> I have been running into an exception when running my app that uses the
> SessionSynchronization Interface in a Stateful Session Bean. Looking at
> the code it seems that the signature is wrong for when the code tries to
> reflect the afterCompletion method in the bean. It tries to look for a
> method taking an Integer parameter when it should be looking for a
> boolean. The line is 251 in StatefulSessionInstanceInterceptor.java :
>
> afterCompletion = sync.getMethod("afterCompletion", new Class[]
> {Integer.TYPE});
>
> should be
>
> afterCompletion = sync.getMethod("afterCompletion", new Class[]
> {boolean.class});
>
> There needs to be some converion of the state to either a true or false
> for this to be fixed correctly.
>
> Richard Backhouse
> Oak Grove Software
>
>
>
>