hi all,
am trying to deploy my web application (.war which has a
servlet which connects to a db and fetches records and displays in
jsp) file in SunOne web server V7 but i cant get past this error :
[29/Jun/2010:15:14:46] failure (24218): for host 146.171.59.144 trying to POST /BbaMigrationQueryTool/BBAMigrationQuery, service-j2ee reports: NamingExcep
tion caught: Errored while looking up datasource: PWC4216: Name myDB is not bound in this Context
my
java code to lookup the jndi name :
i call the above method with "jdbc/myDB" and have created a
JDBC recourse within the SunOne web server via the admin console.
my web.xml i have an entry for the resource as follows :
in my sun-web.xml i have an entry as follows :
server.xml has this entry in it :
what could be wrong ??
thanks in advance.