• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception occurred while processing method findByPrimaryKey

 
Srinivas Reddy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Developers,
Iam trying to run BMP application deployed in WebSphere Application Server Advanced Edition 4.0.
home.create(XYZ) is executed sucessfully by creating Record in data base.Getting follwing exception when findByPrimarykey(Key) is called.
Can any one please help me out.
Thanks in Advance.
exception....
CNTR0019E: Non-application exception occurred while processing method findByPrimaryKey: java.lang.ClassCastException: com.ibm.ivj.ejb.samples.savings.SavingsAccountKey
at com.ibm.ivj.ejb.samples.savings.SavingsAccountBean.ejbActivate(SavingsAccountBean.java:72)
at com.ibm.ejs.container.EntityBeanO.activate(EntityBeanO.java:488)
at com.ibm.ejs.container.activator.OptCEntityActivationStrategy.atActivate(OptCEntityActivationStrategy.java:101)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:171)
at com.ibm.ejs.container.EJSContainer.activateBean(EJSContainer.java:1878)
at com.ibm.ejs.container.EJSHome.activateBean(EJSHome.java:1179) etc........
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!