weblogic 下的JDBC的问题,高手们看过来!

我是编写实体bean,我要用到datasources
我的配置是这样的
name:myserver-dataSource-SQLPool
JNDI name:myserver-dataSource-SQLPool
pool name: SQLPool(我已经配好了)
我在weblogic-cmp-rdbms.xml中写了<data-source-name>myserver-dataSource-SQLPool</data-source-name>

但是在启动weblogic时还是不能加载我的EJB。提示信息是不能找到data-source-name

这是为什么啊?
[355 byte] By [hellohong1997-question] at [2007-12-16]
# 1
加载我的EJB之后出现以下提示:
The DataSource with the JNDI name: mydomain-dataSource-SQLPool could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
hellohong1997-question at 2007-10-26 > top of Msdn China Tech,企业开发,WebLogic...
# 2
在config.xml中为DataSource增加"Targets=yourServer"

否则DataSource将不会被deploy
yu_dx at 2007-10-26 > top of Msdn China Tech,企业开发,WebLogic...
# 3
在weblogic中datasource的jndi设为jdbc/myserver-dataSource-SQLPool
在weblogic-cmp-rdbms.xml中也要设置其jndi为jdbc/weblogic-cmp-rdbms.xml
不行和我联系,我以前碰到过,想了好就才解决了
yuechun-加密狗 at 2007-10-26 > top of Msdn China Tech,企业开发,WebLogic...
# 4
yuechun 你好!谢谢你的回复。我按照你的说法做了问题依然存在
The DataSource with the JNDI name: JDBC/mydomain-dataSource-SQLPool could not belocated. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.

hellohong1997-question at 2007-10-26 > top of Msdn China Tech,企业开发,WebLogic...
# 5
能留下你的email吗?
hellohong1997-question at 2007-10-26 > top of Msdn China Tech,企业开发,WebLogic...
# 6
我的Email吗?
babyfu-你的亲亲宝贝 at 2007-10-26 > top of Msdn China Tech,企业开发,WebLogic...