你是说用JB不能发布而只能用wls的控制台发布?是这个意思吗?如果是,把错误信息帖出来,让大家看一下。

解决方案 »

  1.   

    先啟動WeblogicServer
    在weblogic中創見的DataSource JNDI名稱要和在Jbuilder中創見或使用的
    DataSource 的JNDI相同
      

  2.   

    我在学习EJB,请教如何创建EntityBean?
    我创建了一个EntityBean,但是当我deploy的时候报:
    ”weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: titan_db 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.“
    我已经启动了WebLogic7,
    但是我在WebLogic中已经定义了Connection Pool 和DataSource了呀,
    而且JNDIName也没有错了?
    各位大虾请不吝指教,
    BTW:写entitybean时,还有什么要注意的?好象session Bean比较容易一些。