search cancel

Oracle error: Fatal Exception while getting database connection - some probes starting slowly or not at all


Article ID: 34251


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


After upgrading or installing CAUIM 8.0, the following symptoms may be observed by customers using Oracle 11gR2 as their backend database platform with Red Hat Linux 6.x on the primary hub.

1. ?Probes ace, nis_server, maintenance_mode, and sla_engine may appear to take a very long time to start.
2. Other probes may not start at all (and eventually turn red), including ace, discovery_server, fault_correlation_engine, maintenance_mode, mpse, nis_server, relationship_services, sla_engine, and ugs.

In the logs for the probes which are having trouble, the following error will be seen:

Sep 12 15:39:39:899 FATAL [main, com.nimsoft.probe.service.ace.DatabaseProvider] Exception while getting database connection:
Sep 12 15:39:39:903 FATAL [main, com.nimsoft.probe.service.ace.DatabaseProvider] org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (IO Error: Connection reset)
??? at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(
??? at org.apache.commons.dbcp.BasicDataSource.createDataSource(
??? at org.apache.commons.dbcp.BasicDataSource.getConnection(
??? at com.nimsoft.probe.service.ace.DatabaseProvider.getConnection(
??? at com.nimsoft.probe.service.ace.DBAccess.instance(
??? at com.nimsoft.probe.service.ace.ArchiveSync.<init>(
??? at
??? at com.nimsoft.probe.service.ace.ACEProbe.main(
Caused by: java.sql.SQLRecoverableException: IO Error: Connection reset
??? at oracle.jdbc.driver.T4CConnection.logon(
??? at oracle.jdbc.driver.PhysicalConnection.<init>(
??? at oracle.jdbc.driver.T4CConnection.<init>(
??? at oracle.jdbc.driver.T4CDriverExtension.getConnection(
??? at oracle.jdbc.driver.OracleDriver.connect(
??? at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(
??? at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(
??? at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(
??? at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(
??? ... 7 more
Caused by: Connection reset
??? at Source)
??? at Source)
??? at
??? at
??? at
??? at
??? at
??? at
??? at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(
??? at
??? at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(
??? at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(
??? at oracle.jdbc.driver.T4CTTIfun.receive(
??? at oracle.jdbc.driver.T4CTTIfun.doRPC(
??? at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(
??? at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(
??? at oracle.jdbc.driver.T4CConnection.logon(
??? ... 15 more

The resolution to this issue is as follows:

1. Check the Raw Config of the affected probe. (discovery_server is shown below, but this could affect any of the java-based probes.)

the java_opts configuration option in the startup/opt section is "-server -XX:ErrorFile=./hs_err_pid.log".

<Please see attached file for image>

2. Change the java_opts configuration?option?to "?" in the startup/opt section.?

<Please see attached file for image>

3. Restart the entire Robot/hub and the issue should be resolved.

This will be fixed permanently in UIM 8.1.


Component: UIMACE