I checked for that bean in jmx console and it is also there
That will be a bit poor information, could you attach the lookup code, the full error stacktrace and show how the bean is bound in JNDI?
Do you see any errors if the server is started and the application deployed?
| +- XYZSessionBeanLocal (proxy: $Proxy6055 implements interface com.ejb.sys.ag.interfaces.IXYZBeanLocalHome)
if(cachedLocalHome != null)
initialContext = new InitialContext();
cachedLocalHome = (IXYZBeanLocalHome)initialContext.lookup("java:comp/env/ejb/XYZBeanLocal");
Actually I am invoking this method which have lookup code from other bean using java reflection api.
after some experimental changes I found that if I remove the reflection code and use the ejb calls with ejb ext ref then it works.
FYI code was working then I migrated my project from java 5 to java 6 and jboss 3.2.6 to jboss 5.1.2 EAP.ANd it stopped working.
So if anyone knows that what changes to be done in reflection related to migration please tell me.
Reason : I had removed all my ext ref during migration to remove deployment errors.
soln : converted local calls to remote.
Thanks to all who replied.