Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam C9510-418 All Questions

View all questions & answers for the C9510-418 exam

Exam C9510-418 topic 1 question 61 discussion

Actual exam question from IBM's C9510-418
Question #: 61
Topic #: 1
[All C9510-418 Questions]

An administrator configures an IBM DB2data source at cell scope. The environment variable DB2UNIVERSAL_JDBC_DRIVER_PATH is configured at cluster scope. The data source test connection on one node succeeds, but fails on the other node with java.lang.ClassNotFoundException:com.ibm.db2.jcc.DB2ConnectionPoolDataSource.
Which of the below is the likely cause for the exception?

  • A. The data source is configured at cell scope.
  • B. Multiple driver JARs are installed on the second node.
  • C. DB2UNIVERSAL_JDBC_DRIVER_PATH is configured at cluster scope.
  • D. A different version of the JDBC driver JAR does not exist on the second node.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Check that the variable is correctly defined at the scope where the JDBCProvider/DataSource is defined.
Note: At runtime, WebSphere Application Server invokes a physical data source by resolving the appropriate variable at a level where one of the following criteria exists:
The scope of the variable can contain the data source configuration; that is, the variable has the larger scope.
The variable and the data source have identical scopes.
Application Server meets these conditions by attempting to resolve the variable at each level of the scope spectrum. That is, the product tries to resolve the variable in the server scope, then the cluster scope, then the node scope, and lastly the cell scope.
Reference:
https://www.ibm.com/support/knowledgecenter/SSAW57_8.0.0/com.ibm.websphere.nd.doc/info/ae/ae/cdat_testcon.html

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Kiiki
3 years, 11 months ago
C is correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...