EGL0007E An error occurred while either creating the InitialContext or looking up the java:comp/env environment. The following error occurred: error_text.

Explanation

The exception was either thrown from the constructor of javax.naming.InitialContext, or from invoking the lookup method with the "java:comp/env" value. The program needs to create the InitialContext object and look up the "java:comp/env" value in order to access the J2EE environment settings.

User Response

Use the text of the exception error and your J2EE environment documentation to correct the problem.


Feedback