You will need to target it later As usual to confirm the changes in the Change

You will need to target it later as usual to confirm

This preview shows page 37 - 40 out of 48 pages.

You will need to target it later. As usual, to confirm the changes, in the Change Center, Copyright © 2016, Oracle and/or its affiliates. All rights reserved. click Activate Changes . Oracle WebLogic Server 12 c : Administration I 7 - 37 Innocent Matinya ([email protected]ฺcom) has a non-transferable license to use this Student Guideฺ Unauthorized reproduction or distribution prohibitedฺ Copyright© 2019, Oracle and/or its affiliatesฺ
Image of page 37
Common Data Source Problems Data source configuration errors: Invalid JDBC URL When the data source is created or deployed it will fail. The underlying exception is java.net.ConnectException . Invalid credentials When the data source is created or deployed, it will also fail. Not because a network connection could not be established, but because the database rejects the connection attempt. Wrong driver version in the CLASSPATH Errors can be subtle and hard to catch if the version of the driver is t th t d E th t th d i t t not the one expected. Ensure that the drivers you want to use are in the CLASSPATH before the standards. For example, add this line in setStartupEnv.sh after the CLASSPATH has been set: POST_CLASSPATH="/ path / customdriver.jar " Note that the first two errors can be caught when the data source is created in the administration console by using the Test Configuration button. Drivers are installed in the <WEBLOGIC HOME>/server/lib directory by using Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Drivers are installed in the <WEBLOGIC_HOME>/server/lib directory by using weblogic.jar . The manifest file found in weblogic.jar lists driver JARs to be loaded when the JAR is loaded (when the server starts). Therefore, you do not need to add these JDBC drivers to your CLASSPATH . If you plan to use a third-party JDBC driver that is not installed with WebLogic Server, you must install the drivers, which includes updating your CLASSPATH with the path to the driver files. If you plan to use a different version of any of the drivers installed with WebLogic Server, you can replace the driver file in <WEBLOGIC HOME>/server/lib with an updated version of the file or add the new file to <WEBLOGIC_HOME>/server/lib with an updated version of the file or add the new file to the front of your CLASSPATH using the PRE_CLASSPATH or at the end using POST_CLASSPATH within the setUserOverrides.sh script. Oracle WebLogic Server 12 c : Administration I 7 - 38 Innocent Matinya ([email protected]ฺcom) has a non-transferable license to use this Student Guideฺ Unauthorized reproduction or distribution prohibitedฺ Copyright© 2019, Oracle and/or its affiliatesฺ
Image of page 38
Common Data Source Problems Insufficient connections When the maximum capacity is reached, the next application to request a connection will wait Connection Reserve Timeout seconds for a free one.
Image of page 39
Image of page 40

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture