com.ibm.websphere.csi.CSIException: com.ibm.websphere.csi.CSIException: failed to get home instance; nested exception is: com.ibm.ejs.container.ContainerException: loading bean meta data failed; nested exception is: com.ibm.websphere.csi.CSIException: Major Error, PM Exception when installing bean: - javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR1000E: 发生异常:com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is javax.naming.NameNotFoundException: eis/db2datasource_CMP]。; nested exception is: javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR1000E: 发生异常:com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is javax.naming.NameNotFoundException: eis/db2datasource_CMP]。
通过查看was5的日志,报错为:
从 javax.naming.Context 实现中抛出 NamingException。详细信息如下: 上下文实现:com.ibm.ws.naming.java.javaURLContextRoot 上下文方法:lookup(String) 上下文名称:java: 目标名称:java:comp/PM/WebSphereCMPConnectionFactory 其它数据: 异常堆栈跟踪:com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is javax.naming.NameNotFoundException: eis/db2datasource_CMP ...... ...... [03-9-18 22:22:21:559 CST] 5ae73d81 SessionContex W SESN0038E: BackedHashtable:getConnection - 数据库错误。如果发生 SQLException,则请参阅您的环境相应的数据库文档。同时,确保您已经正确配置了会话管理器的数据源。 [03-9-18 22:22:21:809 CST] 7c9d7d89 SessionContex W SESN0038E: BackedHashtable:getConnection - 数据库错误。如果发生 SQLException,则请参阅您的环境相应的数据库文档。同时,确保您已经正确配置了会话管理器的数据源。