This discussion is archived
1 Reply Latest reply: Jan 2, 2013 2:47 PM by 914724 RSS

Weblogic unable to connect to database

914724 Newbie
Currently Being Moderated
Hi,

I am trying to create datasource from weblogic. I am using the same user name and password which I used for initialization of db. But in weblogic I am getting following error:
Connection test failed.

ORA-01017: invalid username/password; logon denied
oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:689)
oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:452)
oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:384)
oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:811)
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)
oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:238)
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:404)
oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:674)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:267)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:134)
weblogic.jdbc.common.internal.DataSourceUtil.testConnection(DataSourceUtil.java:314)
com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:734)
...

server logs at this time:
Console encountered the following error java.sql.SQLException: ORA-01017: invalid username/password; logon denied at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389) at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:689) at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:452) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205) at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:384) at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:811) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:238) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567) at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:404) at oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:674) at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:267) at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:134) at weblogic.jdbc.common.internal.DataSourceUtil.testConnection(DataSourceUtil.java:314) at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:734) at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:474) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)

Any help would be appreciated.
Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points