Can not connect to oracle database "Connection reset by peer"
I'm not able to connect ivy with an oracle database. Ivy is installed on CentOS.
The exception is:
Caused by: ch.ivyteam.ivy.persistence.PersistencyException: java.sql.SQLRecoverableException: IO Error: Connection reset by peer, Authentication lapse 295094 ms.
at ch.ivyteam.ivy.persistence.internal.db.IvyConnectionPool.getDatabaseConnection(IvyConnectionPool.java:133)
at ch.ivyteam.ivy.persistence.db.DatabasePersistencyService.getDatabaseConnection(DatabasePersistencyService.java:271)
at ch.ivyteam.ivy.persistence.db.DatabaseTransaction.getDbConnection(DatabaseTransaction.java:107)
at ch.ivyteam.ivy.persistence.db.DatabaseTransaction.getPreparedStatement(DatabaseTransaction.java:141)
at ch.ivyteam.ivy.persistence.db.DatabaseClassPersistencyService.getPreparedStatement(DatabaseClassPersistencyService.java:55)
at ch.ivyteam.ivy.persistence.db.DbVersion.read(DbVersion.java:48)
at ch.ivyteam.ivy.persistence.db.DbVersion.read(DbVersion.java:1)
at ch.ivyteam.ivy.persistence.base.ClassPersistencyService.read(ClassPersistencyService.java:145)
at ch.ivyteam.ivy.persistence.db.DatabasePersistencyService.getSysDbVersion(DatabasePersistencyService.java:585)
at ch.ivyteam.ivy.persistence.db.DatabasePersistencyService.open(DatabasePersistencyService.java:555)
at ch.ivyteam.ivy.persistence.db.DatabasePersistencyService.lambda$0(DatabasePersistencyService.java:531)
at ch.ivyteam.ivy.persistence.ITransactionExecutableWithoutResult.execute(ITransactionExecutableWithoutResult.java:9)
at ch.ivyteam.ivy.persistence.ITransactionExecutableWithoutResult.execute(ITransactionExecutableWithoutResult.java:1)
at ch.ivyteam.ivy.persistence.base.AbstractPersistencyService.execute(AbstractPersistencyService.java:177)
at ch.ivyteam.ivy.persistence.base.AbstractPersistencyService.executeWithoutResult(AbstractPersistencyService.java:201)
at ch.ivyteam.ivy.persistence.db.DatabasePersistencyService.open(DatabasePersistencyService.java:531)
at ch.ivyteam.ivy.persistence.db.DatabasePersistencyService.openAndAutoConvert(DatabasePersistencyService.java:345)
at ch.ivyteam.ivy.persistence.db.DatabasePersistencyService.start(DatabasePersistencyService.java:323)
at ch.ivyteam.ivy.persistence.base.PersistencyManager.doStart(PersistencyManager.java:79)
at ch.ivyteam.ivy.manager.restricted.AbstractManager.start(AbstractManager.java:57)
... 24 more
Caused by: java.sql.SQLRecoverableException: IO Error: Connection reset by peer, Authentication lapse 295094 ms.
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:794)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:688)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:39)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:691)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at ch.ivyteam.db.jdbc.DatabaseUtil.openConnection(DatabaseUtil.java:193)
at ch.ivyteam.ivy.persistence.internal.db.IvyDatabaseConnection.createConnection(IvyDatabaseConnection.java:112)
at ch.ivyteam.ivy.persistence.internal.db.IvyDatabaseConnection.open(IvyDatabaseConnection.java:67)
at ch.ivyteam.ivy.persistence.internal.db.IvyConnectionPool$ConnectionPoolStrategy.createConnection(IvyConnectionPool.java:49)
at ch.ivyteam.ivy.persistence.internal.db.IvyConnectionPool$ConnectionPoolStrategy.createConnection(IvyConnectionPool.java:1)
at ch.ivyteam.db.jdbc.connectionpool.InternalConnectionPoolFactory.create(InternalConnectionPoolFactory.java:34)
at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60)
at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:868)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)
at ch.ivyteam.db.jdbc.connectionpool.ConnectionPool.getConnection(ConnectionPool.java:68)
at ch.ivyteam.ivy.persistence.internal.db.IvyConnectionPool.getDatabaseConnection(IvyConnectionPool.java:127)
... 43 more
Caused by: java.io.IOException: Connection reset by peer, Authentication lapse 295094 ms.
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:790)
... 60 more
Caused by: java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at oracle.net.nt.TimeoutSocketChannel.write(TimeoutSocketChannel.java:215)
at oracle.net.ns.NIOPacket.writeToSocketChannel(NIOPacket.java:211)
at oracle.net.ns.NIONSDataChannel.writeDataToSocketChannel(NIONSDataChannel.java:181)
at oracle.net.ns.NIONSDataChannel.writeDataToSocketChannel(NIONSDataChannel.java:132)
at oracle.jdbc.driver.T4CMAREngineNIO.prepareForReading(T4CMAREngineNIO.java:96)
at oracle.jdbc.driver.T4CMAREngineNIO.unmarshalUB1(T4CMAREngineNIO.java:534)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:485)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:252)
at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:499)
at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:1279)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:663)
... 60 more