Bugs item #812390, was opened at 2003-09-25 19:42
Message generated for change (Comment added) made by linubert
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=812390&group_id=22866
Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 7
Submitted By: Juergen Schwarz (juergenschwarz)
Assigned to: Nobody/Anonymous (nobody)
Summary: ejbActivate in EntityBean not called
Initial Comment:
Hi,
i have noticed, that when an Entity Bean gets
passivated, the container calls ejbPassivate(), but when
it should be used again (activated again), the container
does not call ejbActivate().
The container only calls ejbActivate() when a Bean
instance is initally created.
JBoss Version: 3.2, 3.2.1, 3.2.2RC4
Operating System: Windows 2000, Windows XP
JDK: Sun JDK 1.4.2
Regards
Juergen Schwarz
----------------------------------------------------------------------
Comment By: Robert Wang (linubert)
Date: 2003-10-08 14:46
Message:
Logged In: YES
user_id=882544
the container does call ejbActivate() when an Entity Bean is
in passivated state, the code is here:
protected void activate(EnterpriseContext ctx) throws
RemoteException
{
m_container.getPersistenceManager().activateEntity
((EntityEnterpriseContext)ctx);
}
in org.jboss.ejb.plugins.EntityInstanceCache.java, and the
container does not call ejbActivate() when the Entity Bean is
still in the cache(not passivated).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=812390&group_id=22866
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development