您的位置:程序门 -> websphere -> 开发工具/wsad



rad,db2,websphere application server结合实现数据库连接,连接错误!


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


rad,db2,websphere application server结合实现数据库连接,连接错误!
发表于:2008-02-27 11:31:08 楼主
在rad下开发jsp,使用relational   records连接数据库.
运行时,提示信息:
error   500:   failed   to   connect   to   dworks:   a   namenotfoundexception   occurred   on   an   indirect   lookup   on   the   name   java:comp/env/dworks.   the   name   java:comp/env/dworks   maps   to   a   jndi   name   in   deployment   descriptor   bindings   for   the   application   performing   the   jndi   lookup.   make   sure   that   the   jndi   name   mapping   in   the   deployment   descriptor   binding   is   correct.   if   the   jndi   name   mapping   is   correct,   make   sure   the   target   resource   can   be   resolved   with   the   specified   name   relative   to   the   default   initial   context.  

我是参照ibm网站的例子做的(http://www.ibm.com/developerworks/cn/edu/r-dw-r-revkick2.html)
使用   rational   application   developer、db2   和   websphere   application   server   构建应用程序


快速检索

最新资讯
热门点击