I checked in a fix for this on Tuesday, so if it doesn't work in HEAD
or M2, open a new JIRA bug.
-dain
--
Dain Sundstrom
Chief Architect
Gluecode Software
310.536.8355, ext. 26
On Sep 9, 2004, at 4:24 PM, David Jencks wrote:
Are you sure dain didn't fix this earlier this week? I'm not sure his
solution is optimal, but I thought it was sufficient.
thanks
david jencks
On Sep 9, 2004, at 5:53 PM, Gianny Damour wrote:
Resent.
On 8/09/2004 9:49 PM, Gianny Damour wrote:
Hi,
The current order of the Interceptor chain returned by the
EntityInstanceInterceptor does not allow to use the ENC in the
context of the ejbLoad method. As depicted by the following stack
trace (from Pet Store and provided by Rajesh), the
ComponentContextInterceptor is not traversed prior to reach the
ejbLoad method.
14:45:22,914 WARN [SystemExceptionInterceptor] TheSignOn
javax.ejb.EJBException: SignOnDAOFactory.getDAO: NamingException
while getting DAO type :
SignonDAOClass
at
com.sun.j2ee.blueprints.signon.ejb.SignOnEJB.ejbLoad(SignOnEJB.java:
117)
at
org.openejb.entity.dispatch.EJBLoadOperation.doOperation(EJBLoadOpera
tion.java:75)
at
org.openejb.dispatch.AbstractSpecificMethodOperation.invoke(AbstractS
pecificMethodOperation.java:79)
at
org.openejb.entity.dispatch.EJBLoadOperation.execute(EJBLoadOperation
.java:71)
at
org.openejb.dispatch.DispatchInterceptor.invoke(DispatchInterceptor.j
ava:72)
at
org.openejb.entity.EntityInstanceContext.associate(EntityInstanceCont
ext.java:122)
at
org.apache.geronimo.transaction.context.TransactionContext.associate(
TransactionContext.java:77)
at
org.openejb.entity.EntityInstanceInterceptor.invoke(EntityInstanceInt
erceptor.java:102)
at
org.openejb.transaction.ContainerPolicy$TxRequired.invoke(ContainerPo
licy.java:123)
at
org.openejb.transaction.TransactionContextInterceptor.invoke(Transact
ionContextInterceptor.java:80)
at
org.openejb.SystemExceptionInterceptor.invoke(SystemExceptionIntercep
tor.java:82)
at
org.openejb.GenericEJBContainer.invoke(GenericEJBContainer.java:191)
at
org.openejb.proxy.EJBMethodInterceptor.invoke(EJBMethodInterceptor.ja
va:177)
at
org.openejb.proxy.SerializationHanlder.invoke(SerializationHanlder.ja
va:85)
at
org.openejb.proxy.EJBMethodInterceptor.intercept(EJBMethodInterceptor
.java:145)
at
org.openejb.proxy.EntityEJBObject$$EnhancerByCGLIB$$d24dbfd3.getDetai
ls(<generated>)
at
com.sun.j2ee.blueprints.petstore.control.ejb.SigninHandler.perform(Si
gninHandler.java:46)
Is it possible to insert the ComponentContextInterceptor just after
the SystemExceptionInterceptor for the various InterceptorBuilder?
Thanks,
Gianny