Applications Systems
Error or unsuccessful when trying to register a Microsoft SQL Server for monitoring in DPA
DPA is affected by a Microsoft bug that prevents applications with later versions of Java 1.6 from monitoring SQL Server instances. You cannot register a Microsoft SQL Server to monitor it. You can't register a Microsoft SQL Server to monitor it. The registering process either hangs, or the monitor appears down. You may get the error message "Could not get JDBC Connection; nested exception is java.sql.SQLException: I/O Error: DB server closed connection."
First published date
Last published date
Overview
Product section
Cause
Resolution
There are two workarounds:
- Disable SSL record splitting at the JRE Level
- Use an earlier version of the Oracle JRE (Linux/Unix only)
Disable SSL record splitting at the JRE Level
On Windows:
- Edit the file: {install directory}\iwc\tomcat\bin\service.bat
The default {install directory} is: "C:\Program Files\SolarWinds\DPA" - Find the line:
"%EXECUTABLE%" //US//%SERVICE_NAME% --JvmOptions "-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\endorsed" --StartMode jvm --StopMode jvm - Modify the line to:
"%EXECUTABLE%" //US//%SERVICE_NAME% --JvmOptions "-Djsse.enableCBCProtection=false;-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\endorsed" --StartMode jvm --StopMode jvm
Note: There are no spaces between the semicolons(;) and the hyphens(-).
- Edit repo.propertes file and add: repo.additionalProperties=ssl\=request then save.
- Remove the Ignite PI Server service:
- Open a Command Prompt with Run as Administrator.
- Change directory (cd) to the DPA home directory. The default location is C:\Program Files\SolarWinds\DPA. The location can be identified by going into Services, right clicking on the 'Ignite PI Server' service and view Properties.
- Run removeWindowsService.bat.
- Check the Windows Services list to make sure the Ignite PI Server service has been removed.
- Create a new Ignite PI Server service:
- Open a Command Prompt with Run as Administrator.
- Run createWindowsService.bat.
On Linux/Unix:
- Edit the file: {install directory}/iwc/tomcat/bin/catalina.sh
- Search for the section containing:
JAVA_OPTS="$JAVA_OPTS -XX:MaxPermSize=128m"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote"
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
JAVA_OPTS="$JAVA_OPTS -Dnet.sf.ehcache.skipUpdateCheck=true" - Add the following JAVA_OPTS line:
JAVA_OPTS="$JAVA_OPTS -Djsse.enableCBCProtection=false"
Use an earlier version of the Oracle JRE (Linux/Unix only)
SolarWinds DPA ships with JRE version 6 update 45. To resolve this Microsoft SQL Server issue, we recommend downgrading to JRE version 6 update 20, a version we have successfully used with DPA in the past.
- Download and install JRE version 6 update 20.
- Locate the path to the java executable file for this version.
- Open the file:
{install directory}/iwc/tomcat/ignite_config/java_loc.txt - Find the line containing the path to the java executable. For example:
/home/java/jdk160_03/bin/java - Update the path to point to the new java executable, and save the file.
- Restart Ignite PI by running:
{install directory}\shutdown.sh
{install directory}\startup.sh