java.sql.SQLException: ORA-01005: null password given; logon denied

To ensure that the credentials that you supply in the database connections for your ADF Application are deployed and include the password, add -Djps.app.credential.overwrite.allowed=true to the JAVA_PROPERTIES entry in theFMW_HOME/user_projects/domains/yourdomain/bin/setDomainEnv.sh file (or setDomainEnv.cmd if you are on Windows), and restart the server usingFMW_HOME/user_projects/domains/yourdomain/bin/startWebLogic.sh. This is what you need to do if you have deployed an ADF application to your server but are seeing the following errors when the application is accessed:

oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:253)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:168)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:546)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:327)
at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:104)
Truncated. see log file for complete stacktrace
java.sql.SQLException: ORA-01005: null password given; logon denied

Comments

Chris Muir said…
Hi Tarek

Good post. Small comment to say just be aware that option is not supported for WLS servers in production mode:

http://docs.oracle.com/cd/E12839_01/core.1111/e10043/devmancfg.htm#BCGJIJHH

Regards,

CM.
Tarek Fathy said…
Thank you Chris for your nice comment

Popular posts from this blog

setDomainEnv file in weblogic

Another user has changed the row with primary key oracle.jbo.Key[12 ].

Detail entity with row key null cannot find or invalidate its owning entity.