[JBoss-user] [EJB/JBoss] - Re: Caching behavior in EJB container

2006-01-17 Thread gmyrek
"[EMAIL PROTECTED]" wrote : Scott's follow up comment: | | To block the call, the deacklock problem would have to be revisted to validate what is going on. There is a user forum post saying that we are creating sfsb instances that end up being thrown away if the session is activated so we

[JBoss-user] [EJB/JBoss] - Re: Calling getEJBObject from SFSB instance

2006-01-10 Thread gmyrek
"[EMAIL PROTECTED]" wrote : Show the exception trace. This is a very simple SFSB. I tested SFSB cache, so I put debug statements into ejb/Create/Activate/Passivate/Remove callbacks. It looks like AllowedOperationsAssociation assumes ejbPassivate is called on home ? Below the stack trace.

[JBoss-user] [EJB/JBoss] - LRU cache for stateful session beans

2006-01-09 Thread gmyrek
Hi, I made some investigations of how EJB container together with LRU cache of SFSB works and found out, that when calling a business method on passivated bean, a new bean instance is created. That new bean instance is actually not used for activation. Instead the old bean instance, if still e

[JBoss-user] [EJB/JBoss] - Calling getEJBObject from SFSB instance

2006-01-09 Thread gmyrek
Hi, I have a question to calling getEJBObject from stateful bean instance. If I understand EJB 2.1 spec. correctly it is allowed to call getEJBObject from ejbCreate/Remove/Activate/Passivate. Calling this method is "disallowed in the session bean methods in which there is no session object id

[JBoss-user] [Persistence & CMP/JBoss] - JBoss 4.x EJB home methods are not allowed to access CMP or

2005-01-03 Thread gmyrek
Hi, I have the following problem: I have en entity bean (TimezoneEntity) with id (Long - oracle sequence, is primary key), name, symbol persistant fields and the following finder: * @ejb.finder * signature="java.util.Collection findBySymbol(java.lang.String symbol)" * view-type="local" *