TIBCO ActiveMatrix Adapter for Database 7.1.0 takes a long time to startup on a Linux platform.

TIBCO ActiveMatrix Adapter for Database 7.1.0 takes a long time to startup on a Linux platform.

book

Article ID: KB0092843

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Database -
Not Applicable -

Description

Resolution:
Option 1). In the $JAVA_HOME/jre/lib/security/java.security configuration file,  add the following line.

=======================================

securerandom.source=file:/dev/./urandom.

Instead of: 

securerandom.source=file:/dev/urandom.

=======================================


Option 2). If you want to avoid doing the change globally in JRE  7, you can localized the change by adding the following property in the TIBCO ActiveMatrix Adapter for Database tra file .

=======================================
java.property.java.security.egd=file:/dev/./urandom.
=======================================

Or:


=======================================
java.extended.properties=-Djava.security.egd=file:/dev/./urandom
=======================================

Issue/Introduction

TIBCO ActiveMatrix Adapter for Database 7.1.0 takes a long time to startup on a Linux platform.

Environment

Product: TIBCO Adapter for ActiveDatabase Version: 7.0.0/7.1.0 OS: Linux Kernel 2.6, glibc 2.4 --------------------

Additional Information

Known bug in JRE. For your reference, you can refer to the defects on Oracle's website:

Latest bug for JRE 1.7,1.6.
JDK-6521844 : SecureRandom hangs on Linux Systems : http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6521844

The following is an old bug that gives a better explanation.
JDK-4705093 : Use /dev/urandom rather than /dev/random if it exists :  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4705093