WebSphere DataSource连接失败

时间:2019-10-18 15:02:16

标签: java database-connection datasource websphere-8

我正在使用WebSphere 8.5.5,并创建了一个数据源。当我从“数据源”页面单击“测试连接”时,测试成功!但是,当启动应用程序时,我收到一条错误消息和冗长的堆栈跟踪。我在另一个WebSphere实例中运行相同的应用程序代码和DS安装程序。这是消息和部分堆栈跟踪。

[10/18/19 10:37:54:465 EDT] 00000081 SystemOut     O 2019-10-18 10:37:54,465 INFO o.h.j.i.u.LogHelper [WebContainer : 3] HHH000204: Processing PersistenceUnitInfo [
    name: icegate
    ...]

[10/18/19 10:37:55:650 EDT] 00000081 SystemOut     O 2019-10-18 10:37:55,649 WARN o.h.e.j.e.i.JdbcEnvironmentInitiator [WebContainer : 3] HHH000342: Could not obtain connection to query metadata : ORA-01017: invalid username/password; logon denied
 DSRA0010E: SQL State = 72000, Error Code = 1,017
[10/18/19 10:37:55:658 EDT] 00000081 SystemOut     O 2019-10-18 10:37:55,657 INFO o.h.d.Dialect [WebContainer : 3] HHH000400: Using dialect: org.hibernate.dialect.Oracle9iDialect
[10/18/19 10:37:55:660 EDT] 00000081 SystemOut     O 2019-10-18 10:37:55,659 INFO o.h.e.j.e.i.LobCreatorBuilderImpl [WebContainer : 3] HHH000422: Disabling contextual LOB creation as connection was null
[10/18/19 10:37:57:465 EDT] 00000081 SystemOut     O 2019-10-18 10:37:57,430 ERROR o.h.h.s.i.IdTableHelper [WebContainer : 3] Unable obtain JDBC Connection
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
 DSRA0010E: SQL State = 72000, Error Code = 1,017
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447) ~[ojdbc6-11.2.0.3.jar:11.2.0.4.0]
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389) ~[ojdbc6-11.2.0.3.jar:11.2.0.4.0]
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382) ~[ojdbc6-11.2.0.3.jar:11.2.0.4.0]
    at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:675) ~[ojdbc6-11.2.0.3.jar:11.2.0.4.0]

0 个答案:

没有答案