An application fails. The exception indicates that the JDBC data source, jdbc-hr.HRDS, cannot be
found. Identify two possible steps that you can perform to verify the data source’s availability.
A.
Launch the JDBCDiagnostics utility.
B.
Verify the Targets attribute of the application.
C.
Verify the Dependencies attribute of the data source.
D.
Verify the target server’s JNDI tree in the console.
E.
Verify the Target attribute of the data source.
Explanation:
D: In WebLogic Server, you configure database connectivity by adding data sources
to your WebLogic domain. WebLogic JDBC data sources provide database access and database
connection management. Each data source contains a pool of database connections that are
created when the data source is created and at server startup. Applications reserve a database
connection from the data source by looking up the data source on the JNDI tree or in the local
application context and then calling getConnection().
E: Each data source that you configure contains a pool of database connections that are created
when the data source instance is created—when it is deployed or targeted, or at server startup.
Applications lookup a data source on the JNDI tree or in the local application context
(java:comp/env), depending on how you configure and deploy the object, and then request a
database connection. When finished with the connection, the application calls connection.close(),
which returns the connection to the connection pool in the data source.