This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I have tried all manner of methods to try and look this up is WAS 5.1, all to no avail. I have tried to get the Remote Session Bean to find the Local Bean using the "java:comp/env" namespace, the "local:" namespace and WAS 5.1 inside RSA 6.0 is throwing IWAD0402E Could not perform lookup with JNDI name.
I am new to WAS and cannot find nor figure the means its JNDI is using for local and remote beans, any help would be greatly appreciated.
Can you post your ejb-jar.xml deployment descriptor? If it contains an EJB reference to the EJB (best practice), then you should have a mapping in WAS between this reference (which you use to do your JNDI lookup) and the actual JNDI name of the referenced bean. If there is no EJB reference, then you must lookup the real JNDI name that the EJB is bound to. I am not knowledgable about WAS, but I think you will find the JNDI names of EJBs are stored in the bindings file named ibm-ejb-jar-bnd.xmi under the directory META-INF.