I'm not able to connect ivy with an oracle database. Ivy is installed on CentOS.

Caused by: ch.ivyteam.ivy.persistence.PersistencyException: java.sql.SQLRecoverableException: IO Error: Connection reset by peer, Authentication lapse 295094 ms.

asked 19.12.2018 at 09:17

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.2k6892109
accept rate: 76%

edited 19.12.2018 at 09:19


The oracle jdbc driver needs some random numbers. For this it uses java to access /dev/random. /dev/random is run by the system and requires hardware interactions like mouse clicks. On highly virtualized systems this can be difficult. There are two possibilities:

1) Use /dev/urandom

Add the following line in AxonIvyEngine.conf

JAVA_OPTS="$JAVA_OPTS -Djava.security.egd=file:///dev/urandom"

2) Install entropy daemon

Install an entropy daemon like haveged which feeds /dev/random.

Further ressources:

https://stackoverflow.com/questions/6110395/sqlrecoverableexception-i-o-exception-connection-reset

link

answered 19.12.2018 at 09:31

Alex%20Suter's gravatar image

Alex Suter ♦♦
2.0k81936
accept rate: 83%

edited 19.12.2018 at 09:32

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2
×1
×1

Asked: 19.12.2018 at 09:17

Seen: 227 times

Last updated: 19.12.2018 at 09:32