Community

NPE in StateslessContainer at line 396

reply from Nagin Kothari in EJB 3.0 - View the full discussion

Problem got resolved as there were some client jar missing on the client.

thanks for your prompt replies and help.

However I am getting new error in my application.

My application has Interceptor with following code

 

 

 

 

public

 

 

 

public Object invoke(Invocation invocation) throws Throwable

{

 

class ApplicationIterceptor implements Interceptor {

 

 

     EJBContainerInvocation ejb = (EJBContainerInvocation) invocation;
 
       Principal p =  ejb.getBeanContext().getEJBContext().getCallerPrincipal();

}

}

In jboss 4.3.2 ejb.getBeanContext() was returing value, however in jboss 6.0M2 it is returning null. Is there any change in thw way for getting CallerPrincipal in Jboss6?

 

thanks in advance.

Reply to this message by going to Community

Start a new discussion in EJB 3.0 at Community