JBoss calls ejbStore() in the middle of a find ?
svante Jul 19, 2002 7:48 AMHi all,
I'm porting an EJB-driven application from WebLogic6 to JBoss 3. In this, I've stumbled accross something very odd: JBoss calls ejbStore() in the middle of a finder query. Why? It makes no sense to me, and it breaks things in my EJB code.
Please find attached my stack trace below.
I'm puzzled. Any ideas?
Cheers,
Svante
=[ stack trace ]==============
[...]
se.jtech.user.account.ejb.db.oracle.AccountStateController.store(AccountStateController.java:266)
at se.jtech.user.account.ejb.AccountBean.ejbStore(AccountBean.java:165)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.ejb.plugins.BMPPersistenceManager.storeEntity(BMPPersistenceManager.java:471)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:388)
at
org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:705)
at org.jboss.ejb.GlobalTxEntityMap.syncEntities(GlobalTxEntityMap.java:99)
at org.jboss.ejb.GlobalTxEntityMap$GlobalTxEntityMapCleanup.beforeComple
tion(GlobalTxEntityMap.java:168)
at org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1331)
at org.jboss.tm.TxCapsule.commit(TxCapsule.java:328)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:74)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:190)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
at org.jboss.ejb.Container.invoke(Container.java:705)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
at $Proxy117.findAccount(Unknown Source)
at se.jtech.user.account.client.AccountControllerService.findAccount(AccountControllerService.java:231)
at se.jtech.reports.helpers.ReturnPersons.getPersonFromAccount(Unknown Source)