I developed in Visual Age client for the EJB deployed on WAS ver. 4.0 AE. In the Visual Age test environment the client works fine, but outside VA (SDK 1.3.1_04 JRE) it returns "javax.naming.NamingException: Error during resolve [Root exception is java.lang.NullPointerException]". This exception is raised when client tries to look for the JNDI name at the initial context obtained with com.ibm.ejs.ns.jndi.CNInitialContextFactory. I've already exported all necessary packages from the VA to the .jar and added the appropriate entry at ClassPath variable. EJB is deployed on remote server, and I've checked the correctness of JNDI name.
Can you tell me where is my mistake?