Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!-- 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
You can’t perform that action at this time.