-
1. Re: JNDI Error
ameen527 Sep 27, 2011 5:48 AM (in response to ameen527)more information
I have created an ejb "TestingAppBean", in my local jboss7 server jndi lookup of "java:app/TestingAppEJB/TestingAppBean" was working fine. But in QA(linux based) jboss7 server the lookup was failed. In QA jndi lookup "java:app/TestingAppEJB/TestingAppEJB" was working fine. Any suggestion why the first lookup didnt work.
-
2. Re: JNDI Error
ameen527 Sep 27, 2011 6:51 AM (in response to ameen527)This is how the interface and bean class looks like
Interface: TestingAppEJB
-------------------------------------------------@Remote
public interface TestingAppEJB {
// all methods declaration
}Bean Class: TestingAppBean
-------------------------------------------@Stateless
public class TestingAppBean implements TestingAppEJB {
private static final long serialVersionUID = 2020602790375785829L;// all methods implementation
}
"java:app/TestingAppEJB/TestingAppEJB" was working fine in both QA(linux) and local(windows) environment
,but "java:app/TestingAppEJB/TestingAppBean" was working only in local.
The application is packed in ear file