Skip to Content
Former Member
Nov 06, 2008 at 06:40 PM

BASEEJBException while executing EJB business method from Webdynpro DC


Hi Everybody

I have created a EJB project which I am trying to acess the in a WD DC project.

All the Publicparts are exposed.

The following code is used to after refering [Accessing EJB application using JNDI|]

javax.naming.Context ctx = new javax.naming.InitialContext();                 
homeEjb =(EJBLocalHome) ctx.lookup("localejbs/");
localEJBBean =(OPERATIONS_EJBLocal) homeEjb.create();
localEJBBean.blockRequest() // Executing Business method gives BASEEJBException

The Sharing references is also added for the ear in the Webdynpro DC project.

But on executing the business method of the bean blockRequest(), I get the following exception : Exception in method blockRequest.

StackTrace: com.bp.action.OPERATIONS_EJBLocalLocalObjectImpl0_0.blockRequest( Method)

Could please help me in pointing out what am i doing incorrectly?

Also the please share all possible reasons which could lead to BASEEJBException?