Urgent Please.. ejbStore is not called after ejbCreate..

Hi all,

In one of the beanmanaged entity bean, the ejbStore is not called after ejbCreate. I am using wblogic 6.1 server. I've also coded similar types of entity bean and those are working perfectly.

I am getting the following exception message when I call the create method from the client.

java.lang.NullPointerException

at weblogic.ejb20.locks.ExclusiveLockManager.unlock(ExclusiveLockManager.java:222)

at weblogic.ejb20.manager.ExclusiveEntityManager.afterCompletion(ExclusiveEntityManager.java:466)

at weblogic.ejb20.internal.TxManager$TxListener.afterCompletion(TxManager.java:421)

at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:466)

at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2105)

at weblogic.transaction.internal.ServerTransactionImpl.setCommitted(ServerTransactionImpl.java:2077)

at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:1938)

at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:1882)

at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:219)

at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:188)

at weblogic.ejb20.internal.BaseEJBHome.postHomeInvoke(BaseEJBHome.java:373)

at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:210)

at com.emirates.dacs.logical.datamanagement.misc.customer.CCustomerBean_g1748h_HomeImpl.create(CCustomerBean_g1748h_HomeImpl.java:86)

at com.emirates.dacs.logical.datamanagement.misc.customer.CCustomerBean_g1748h_HomeImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)

at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Thanks in advance

[2317 byte] By [a-1220] at [2007-9-26 9:16:17]
# 1
To answer your question partly -- as per the EJB specification, the ejbStore is called after the invokation of the business method and not ejbCreate method.
AshwinP at 2007-7-1 20:29:18 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
If you could list some source code and details of the problem, some one would be able to help you better.Vikas
vikaslamba at 2007-7-1 20:29:18 > top of Java-index,Other Topics,Patterns & OO Design...