General J2EE: Performing JNDI lookup on Bean Home from another Bean

  1. Hi
    I am trying to perform a Bean Home lookup from another Bean's method .I am always getting remote exception , thread exception etc.

    Could any body let me know what could be the potential problem.

  2. env, please :-)
    1. Same jar / different jars?
    2. Same server / different servers?
    3. And what is the server?
    4. Std. ejb-jar.xml + server specific config for both (parts responsible for ejb-ref and path in JNDI tree where you bind your EJBs)
    5. Java code that invokes lookup