While migrating the ADF 11g application with model project on to various environments, the following error is encountered;
This error occurs because, JDeveloper generates an application-level data source with password indirection. JDeveloper creates a weblogic-jdbc.xml file for each database connection stored in the application resources. In order to get rid of the above error, we should ensure that the jdbc settings are not synchronized during ear generation.
Go to 'Application Properties' -> Deployment -> Uncheck the 'Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment' option.
After the above setting, generate the ear file for the ADF application which can now be deployed on different environments.
"java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user......"
This error occurs because, JDeveloper generates an application-level data source with password indirection. JDeveloper creates a weblogic-jdbc.xml file for each database connection stored in the application resources. In order to get rid of the above error, we should ensure that the jdbc settings are not synchronized during ear generation.
Go to 'Application Properties' -> Deployment -> Uncheck the 'Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment' option.
After the above setting, generate the ear file for the ADF application which can now be deployed on different environments.
tnx man
ReplyDeleteException after above step:
ReplyDeleteCaused by: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
you saved a lot of time. thanks.
ReplyDeleteI am still facing same problem
ReplyDelete