报错如下:
Exception:weblogic.management.ApplicationException: activate failed for EJB_Model Module: EJB_Model Error: Exception activating module: EJBModule(EJB_Model,status=PREPARED) Unable to deploy EJB: TZcxx from EJB_Model.jar: [EJB:011028]The DataSource with the JNDI name: DB_GDZCPool 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.
[Deployer:149033]preparing application EJB_Model on myserver
[Deployer:149033]prepared application EJB_Model on myserver
[Deployer:149033]activating application EJB_Model on myserver
[Deployer:149033]failed application EJB_Model on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application EJB_Model on myserver.: Exception:weblogic.management.ApplicationException: activate failed for EJB_Model Module: EJB_Model Error: Exception activating module: EJBModule(EJB_Model,status=PREPARED) Unable to deploy EJB: TZcxx from EJB_Model.jar: [EJB:011028]The DataSource with the JNDI name: DB_GDZCPool 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. .
应该如何处理?
-----------------------------------------------------------------------------------------------
经过多次测试,JDBC配置中的连接缓冲池及数据源的名称要为:DB_GDZCPool才能部署EJB。