When starting sonarQube seeing issue in web.log

Following trace seen in web.log when starting sonarQube:

2021.05.04 09:14:16 INFO  web[][o.s.s.r.RegisterRules] Register rules
2021.05.04 09:24:11 WARN  web[][o.a.c.d.BasicDataSource] An internal object pool swallowed an Exception.
java.sql.SQLRecoverableException: IO Error: Connection reset by peer
        at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:1006)
        at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:2268)
        at org.apache.commons.dbcp2.DelegatingConnection.closeInternal(DelegatingConnection.java:238)
        at org.apache.commons.dbcp2.PoolableConnection.reallyClose(PoolableConnection.java:232)
        at org.apache.commons.dbcp2.PoolableConnectionFactory.destroyObject(PoolableConnectionFactory.java:137)
        at org.apache.commons.pool2.impl.GenericObjectPool.destroy(GenericObjectPool.java:928)
        at org.apache.commons.pool2.impl.GenericObjectPool.evict(GenericObjectPool.java:768)
        at org.apache.commons.pool2.impl.BaseGenericObjectPool$Evictor.run(BaseGenericObjectPool.java:1138)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: Connection reset by peer
        at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
        at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
        at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
        at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
        at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
        at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:463)
        at oracle.net.nt.TimeoutSocketChannel.write(TimeoutSocketChannel.java:203)
        at oracle.net.nt.SSLSocketChannel.writeToSocket(SSLSocketChannel.java:584)
        at oracle.net.nt.SSLSocketChannel.flushWriteBuffer(SSLSocketChannel.java:215)
        at oracle.net.nt.SSLSocketChannel.wrapAndWriteToSocket(SSLSocketChannel.java:210)
        at oracle.net.nt.SSLSocketChannel.write(SSLSocketChannel.java:136)
        at oracle.net.ns.NIOPacket.writeToSocketChannel(NIOPacket.java:350)
        at oracle.net.ns.NIONSDataChannel.writeDataToSocketChannel(NIONSDataChannel.java:199)
        at oracle.net.ns.NIONSDataChannel.writeDataToSocketChannel(NIONSDataChannel.java:144)
        at oracle.jdbc.driver.T4CMAREngineNIO.flush(T4CMAREngineNIO.java:743)
        at oracle.jdbc.driver.T4CMAREngineNIO.prepareForUnmarshall(T4CMAREngineNIO.java:756)
        at oracle.jdbc.driver.T4CMAREngineNIO.unmarshalUB1(T4CMAREngineNIO.java:429)
        at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:407)
        at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:268)
        at oracle.jdbc.driver.T4C7Ocommoncall.doOLOGOFF(T4C7Ocommoncall.java:64)
        at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:995)
        ... 13 common frames omitted

I googled a bit and tried adding the following arguments

-Djava.security.egd=file:/dev/./urandom
-Dsecurerandom.source=file:/dev/./urandom

but no luck.
Appreciate any help.

Here using SonarQube 8.7

Hi,

Anything interesting in your other server logs?

Also, this SO answer may be of interest.

 
Ann

I do not see any issue in server logs. Yes I did as mentioned in link but no luck

Unfortunately, I think this problem is going to be on your database side and outside the scope of SonarQube.

 
:woman_shrugging:
Ann