Hello.

I'm having a problem with SessionContext.getEJBObject() in the
ejbCreate() method of a stateful session bean. The problem is that the
id of the bean is null. The reason is that
StatefulSessionFilePersistenceManager assigns the id after calling
ejbCreate. It seems that a trivial fix is to move the
ctx.setId(nextId()) to before the createMethod.invoke(...).

Or am I missing something and this would break everything horribly?

Regards,
Toby.

P.S. jBoss-2.0_FINAL (current CVS is the same)

--
Toby Allsopp
Research
Peace Software International Ltd
Ph +64-9-3730400


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to