I am using WSAD 5.1.0 to develop my appln. When i tried to explore the JNDI through the servlet which connects to a DB2 database and displays records from a table, I'm getting the expected result. But in the server's console window, I am seeing the following error message:
"Resource reference jdbc/Db2TDataSource could not be located, so default values of the following are used: [Resource-ref settings] Resource reference jdbc/sbtdatasource could not be located, so default values of the following are used: [Resource-ref settings]
Usage of JNDI names is deprecated in Webshpere. You have to use reference bindings. Define the resource references to the Database JNDI in web/ejb deployment descriptors, and use context.lookup("java:comp/env/<YOUR REF JNDI>").
This will suppress the warning (its not an error) in the console
I'm doing laundry! Look how clean this tiny ad is: