Sunday, June 27, 2010

Weblogic throws "java.sql.SQLException: ORA-01005: null password given" Work Around

After Installing Weblogic server 10.3 when I am trying to run an deployed ADF application, then AdminServer.log in $WLS_HOME/user_projects/domain/<domain_name>/Server/AdminServer/logs shows below error. The application I had deployed having all JDBC credentials but still Weblogic is not able to find proper credentials.

note: please click on each image to get full size





As work around I have used property (-Djps.app.credential.overwrite.allowed = true) in JAVA_PROPERTY section of setDomainEnv.sh script file in $WLS_HOME/user_projects/domain/<domain_name>/bin directory.






After modifying Weblogic server needs to be restarted.



And I get my desire output


1 comment:

  1. If you make specified changes according to this blog in setDomainEnv.sh script file of $WLS_HOME/user_projects/domain//bin directory before Extending your domain then you need to do the same thing once again after extending your domain as the extending domain procedure remove this entry from your setDomainEnv.sh file and you may get same error.

    ReplyDelete