I am using WSAD 5.1.1 for
testing my CMP entity bean from Universal Test Client.I use JNDI look up to get a ref of my local home interface i got it like this.
Object o = context.lookup("ejb/Sqa_audit_reviewLocalHome");
auditrhome = (Sqa_audit_reviewLocalHome)o;
at line 2. i get this Exception
java.lang.ClassCastException: com.sbc.eworks.sqa.ejb.entity._EJSRemoteCMPSqa_audit_reviewHome_96846b2b_Stub
at com.sbc.eworks.ejb.session.SQAServiceEngineBean.searchByReviewId(SQAServiceEngineBean.java:169)
at com.sbc.eworks.ejb.session.EJSLocalStatelessSQAServiceEngine_d93b245b.searchByReviewId(EJSLocalStatelessSQAServiceEngine_d93b245b.java:87)
MY SERVER CONSOLE HAS THIS TO SAY
ExceptionUtil E CNTR0020E: Non-application exception occurred while processing method "searchByReviewId" on bean "BeanId(SQADatabaseEAR#SQAEJB.jar#SQAServiceEngine, null)". Exception data: java.lang.ClassCastException: com.sbc.eworks.sqa.ejb.entity._EJSRemoteCMPSqa_audit_reviewHome_96846b2b_Stub
CAN ANY PLEASE LET ME KNOW WHAT IS THE PROBLEM???
thanks in advance
Seshu P