Yeah that is the one... only I have dug deeper and I have traces every
where.

I you look closely at the message before that dump and you will see a
strange "EntityBean.setEntityContext" message... that really caught my eye.

If you explode that (by doing a new Exception().printStackTrace() in the
test code of setEntityCOntext()" you realize that the commit is called.
That is described in bugzilla.

That behaviour is kinda strange, on an exception the commit goes on with a
bean activation and entitycontext and all that which is not right since
there was an exception...

that's the first bug.

Once I fix that then I can move on to the root of the exception in the call
in the first place which is entityContext.getEJBObject = null

dum da da

marc

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Mulder
> Sent: Friday, July 07, 2000 6:56 PM
> To: jBoss Developer
> Subject: Re: [jBoss-Dev] Nasty one
>
>
>       Hmm...  I guess I'm not sure I'm seeing the same thing.  When I
> run the test client, it bombs out and the server shows the following:
>
> java.rmi.RemoteException
> at
> org.jboss.zol.testbean.bean.EnterpriseEntityBean.createEntity(Ente
> rpriseEntityBean.java:78)
> at java.lang.reflect.Method.invoke(Native Method )
> at
> org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityCo
> ntainer.java:549)
> at
> org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(Enti
> tySynchronizationInterceptor.java:189)
> at
> org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInsta
> nceInterceptor.java:100)
> at
> org.jboss.ejb.plugins.TxInterceptor$RunInvoke.run(TxInterceptor.java:342)
> at
> org.jboss.ejb.plugins.TxInterceptor.runWithTransactions(TxIntercep
> tor.java:173)
> at org.jboss.ejb.plugins.TxInterceptor.invoke(TxInterceptor.java:98)
>
>       If I look at TxInterceptor.java line 173, it calls rollback if
> the transaction was new (does nothing otherwise) and then rethrows the
> exception.  So what were you seeing again?  You said something about a
> commit followed by other strange things?
>       Are we looking at a failure in the same place?  On the client side
> it's right after "Calling method createEntity on enterpriseEntity..."
>
> Thanks,
>       Aaron
>
>
>


Reply via email to