Tuesday 4 June 2013

java.sql.SQLException: ORA-01017: invalid username/password; logon denied

Metalink id:
=========
Running adconfig.sh got Error: ORA-01017invalid username/password[Article ID 357185.1]

Running adconfig.sh got error.

Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ebstest.user.com)(PORT=1592))(CONNECT_DATA
=(SERVICE_NAME=ebstest)))java.sql.SQLException: ORA-01017: invalid username/password; logon denied

Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ebstest.user.com)(PORT=1592))(CONNECT_DATA
=(SERVICE_NAME=ebstest.user.com)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null

Creating the DBC file...
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Database connection to jdbc:oracle:thin:@ebstest.user.com:1592:ebstest failed
ADD call failed with exit code 1.


Symtomps:

Autoconfig failing because of wrong apps password is supplied.

Cause:
The DB credentils  has been entered wrong.

Solution: Run autoconfig and supply correct apps password which in turn autoconfig will complete successfully.




Thanks for visiting my blog.Happy learning!!!



No comments:

Post a Comment