江湖救急贴--从JBX连接部署entity bean到weblogic 7.0的问题
在JBX中建立CMP entity bean利用向导,可以使用JNDI在JBX中连入数据库,并且可以成功的看到数据库中的表,并根据表完成了bean的构建工作,但是从JBX上部署到WEBLOGIC 70的时候就出问题。数据库就是使用JBX的datastore
提示是:
weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: myJTxdataSource 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.
我设置datastore到weblogic的时候在选择server后然后apply时,会出现exception但是我重新apply的时候确可以通过,即使刷新再apply也可以,不知道是否到底真的成功的连接了,如果没有连接不知道是为什么,一切都是按正常进行设置的。