Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle ADF Glassfish MySQL - Data Source Error

917570Mar 19 2013 — edited Aug 7 2013
I have set up ADF essentials library on my glassfish server as specified here . I am able to successfully deploy applications to the glassfish server from jDeveloper and the application runs fine until there is a database operation involved and it is when it throws up the following error
No object bound to name java:comp/env/jdbc/myDataSource
The application works fine on IntegratedWeblogicServer, so am guessing I have not set up the mysql datasource in my glassfish properly. I have setup connection as shown here and the connection name is "myDataSource" (which is same as provided in the jDeveloper's DB connection name).
jdbc/myDataSource is the JNDI name for the JDBC resource in my glassfish server.
Help!!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 4 2013
Added on Mar 19 2013
4 comments
625 views