Hi,

I have the following problem using jonas + jeremie:

I made this simple client test creating and removing stateful session
beans:

b1 = create()
b1.remove()
b2 = create()
b2.method()

If the session bean has the transactional attribute "Required",
b2.method()
raises an exception: 
org.omg.CORBA.OBJECT_NOT_EXIST:   minor code: 0  completed: No

If the bean has the transactional attribute "Supports", it works (no
transaction
created at remove)

Note that if I use RMI, it works in both cases.



The difference is that in the 1st case, I start and commit a transaction
at remove() in the jonas container. This results in a unexportObject()
on the subcoordinator. It seems that this unexportObject() lead to an
error on the sessionbean unicastremoteobject.
If I just put this line in comments:
// unexportObject(this, true)
it works!
So it seems that there is a bug in unexportObject in Jonathan.




To summarize the problem, what we are doing is:

export B1       (create)
export S1       (begin)
unexport B1     (remove)
unexport S1     (commit)        -> if I don't do this, it works!
export B1       (create)

B1 = EJBObject (the same is used for both beans)
S1 = subCoordinator for the transaction



I know that in unexportObject(obj, force), "force" argument is not
managed
by Jeremie and that the boolean is always returned true,
but this is not our problem.

I've try to look at the code in Jonathan, but it's not easy to
understand...
-- 
Philippe Durieux  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]
-> Download our EJBServer at http://www.evidian.com/ejb <-
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonathan".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to