Skip to content

Instantly share code, notes, and snippets.

@CedricL46
Last active October 9, 2018 09:12
Show Gist options
  • Save CedricL46/d686bdb5895c8103b47e8bd651f8e90e to your computer and use it in GitHub Desktop.
Save CedricL46/d686bdb5895c8103b47e8bd651f8e90e to your computer and use it in GitHub Desktop.
<!-- 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