Bugs item #812390, was opened at 2003-09-25 11:42
Message generated for change (Comment added) made by ejort
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: Works For Me
>Priority: 5
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: Adrian Brock (ejort)
Date: 2003-10-10 13:31

Message:
Logged In: YES 
user_id=9459

I don't see this.
ejbActivate is invoked after an ejbPassivate

Please provide more information and/or a testcase.

Regards,
Adrian

----------------------------------------------------------------------

Comment By: Robert Wang (linubert)
Date: 2003-10-08 06: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: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to