I'm trying to set up a DB2 pool connection by using a datasource. I have set up the DB2 datasource in RAD 6.0, the testing server is Webspere protal server 5.0.
i got an errror is:
javax.naming.NameNotFoundException: Name "comp/env/MYtestDB" not found in context "java:"
the code for retrieve datasource is: datasource = (javax.sql.DataSource) ctx.lookup("java:comp/env/MYtestDB");
is there someting missing? this is my first time that i'm using datasource
Thanks very much for your reply,