|EGL test program part encounters error during "JNDI lookup" [message #930962]
||Tue, 02 October 2012 16:04
| Jeffrey Gardner
Registered: August 2012
Problem: Running an EGL test program in the workbench using "Run As/ EGL Java Main Application" produces an error "An Exception occurred while performing a JNDI lookup..." (the complete error message is in the attached txt file.|
I'm working through Joe Pluta's article:
EDT Breaks Down Obstacles
EGL Development Tooling Breaks Down Obstacles
March 2012 | by Joe Pluta
I can make it to the end of the article and the project works (even though I made modifications to his code along the way to access the qiws/qcustcdt file on my iSeries). It connects correctly to my iSeries and retrieves the specified record from the file.
The problem is part way through when he has me set up a test program to test out the database server and library functions. It seems that running the program does not take advantage of the Resource Binding I configured in the egldd.
I did not use a connection profile, rather I used the "Specify connection information" (to allow me to use system naming and library list access).
Any ideas why the project runs fine from the Preview tab and in debug from an external browser but fails when the EGL program is run?
Is there another configuration setting to make programs access the connection resource bindings?
Powered by FUDForum
. Page generated in 0.12459 seconds