Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

IO Error: Got minus one from a read call

Mehman October 22, 2018

Is there anyone that can help me to solve the problem??

 

java.sql.SQLRecoverableException: IO Error: Got minus one from a read call
2018-10-22 14:06:33,431 commons-pool-EvictionTimer WARN      [o.a.commons.dbcp2.BasicDataSource] An internal object pool swallowed an Exception.
	... 177 more
	at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.create(EntityManagedActiveObjects.java:92)
	at net.java.ao.EntityManager.create(EntityManager.java:366)
	at net.java.ao.DatabaseProvider.insertReturningKey(DatabaseProvider.java:1869)
	at net.java.ao.db.OracleDatabaseProvider.executeInsertReturningKey(OracleDatabaseProvider.java:305)
	at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
	at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
	at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)
	at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3694)
	at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3613)
	at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
	at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)
	at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
	at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
	at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:513)
	at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:951)
	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)

Cannot solve the error.

 

1 answer

0 votes
Petr Vaníček
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 22, 2018

Hi,

can you add longer part of log? Ideally part of log from start application till error. You can paste it for example on Pastebin.

Mehman October 22, 2018

Sure, here is the Link when Jira frozes - https://pastebin.com/W0zhF69e,

And here is the link when this error appears - https://pastebin.com/tdsnPk3R

Sometime connections to database takes too long time and noone can do anything in Jira nearly 1 hour. We restart Jira service and after that is it working well.

Can you please check it.

Petr Vaníček
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2018

It looks like more than one problem.

But as first - Are you using self-signed certificate or from any non-trusted CA? 

Because of a lot of error with "unable to find valid certification path to requested target"

 

First resolve this problem by using certificate from trusted CA (Lets Encrypt is for free).

Mehman October 23, 2018

We are using self signed certificate.

We'll handle with the certificate error and come back with new logs.

...

I'll reply soon.

Thank you

Suggest an answer

Log in or Sign up to answer