Last active
October 9, 2018 09:12
-
-
Save CedricL46/d686bdb5895c8103b47e8bd651f8e90e to your computer and use it in GitHub Desktop.
See full tutorial here : https://cedricleruth.com/how-to-fix-jbo-27200-jndi-failure-unable-to-lookup-data-source-in-oracle-adf/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- In Oracle ADF, To fix JBO-27200: JNDI failure. Unable to lookup Data Source | |
you need to ensure that your datasource name is the same in 3 places: | |
Note : This is case sensitive. | |
--> | |
<!-- In web.xml --> | |
<resource-ref> | |
<res-ref-name>jdbc/YOUR_DATASOURCE_NAME</res-ref-name> | |
<res-type>javax.sql.DataSource</res-type> | |
<res-auth>Container</res-auth> | |
</resource-ref> | |
<!-- In your Model project Application Module > Configurations > Configuration File : --> | |
<Custom JDBCDataSource="java:comp/env/jdbc/YOUR_DATASOURCE_NAME"/> | |
<!-- In your weblogic console > Services > DataSources > Configuration > General > JNDI Name : --> | |
jdbc/YOUR_DATASOURCE_NAME | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment