现在又有问题来了,我实验一个session bean+entity bean的例子,数据库用的是jdatastore,连接测试成功,make通过后,deploy不能成功,DEPLOYED=FALSE,服务端的输出是
Unable to deploy EJB: Employee from TestEntMod.jar:
weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI
name: EmpDataSource 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.
但是我建立的Tx Data Source的JNDI name 确实是DemoDataSource,况且在employee的weblogic 6.x general 面板中的Data Source Name 就是DemoDataSource,不知道为什么还抱这个错误,我真是没有办法了,郁闷死了!请指教!谢谢!
不好意思搞错了,报的错误是这样的:weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: DemoDataSource 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.