Description: TIBCO Host instance does not start-up from the command line. From the tibcohost.log the following log entries were reported: <<<<<<<<<<<<<<<< 20 Nov 2014 08:33:00,807 [TIBCOHostHPACLI] [INFO ] com.tibco.amx.hpa.Host - Starting TIBCO Host. 20 Nov 2014 08:33:01,055 [TibcoHostInstance-AIP_AMX_SERVER2] [INFO ] com.tibco.security.impl.np.SecurityVendor - Initializing JSSE's crypto provider class com.sun.net.ssl.internal.ssl.Provider in default mode >>>>>>>>>>>>>>>> Symptoms: Symptoms: ======== Checked thread dump, tibcohost blocked by the the J2SE SecureRandom:
<<<<<<<<<<<<<<<<<<<<<< "TibcoHostInstance-Admin-AIP_ENTERPRISE-AIP_AMXADMIN_SERVER" prio=3 tid=0x0000000100143000 nid=0x1 runnable [0xffffffff7fffa000] java.lang.Thread.State: RUNNABLE at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:220) at sun.security.provider.SeedGenerator$URLSeedGenerator.getSeedBytes(SeedGenerator.java:493) at sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:117) at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:114) at java.security.SecureRandom.generateSeed(SecureRandom.java:495) at com.tibco.security.providers.SecurityVendor_j2se.<init>(SecurityVendor_j2se.java:125) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.tibco.security.impl.B.C.init(SecurityVendor.java:131) - locked <0xffffffff6f53cb28> (a java.lang.Class for com.tibco.security.impl.B.C) at com.tibco.security.impl.B.C.init(SecurityVendor.java:85) - locked <0xffffffff6f53cb28> (a java.lang.Class for com.tibco.security.impl.B.C) at com.tibco.security.impl.B.OOoO.init(CryptoVendor.java:46) >>>>>>>>>>>>>>>>>>>>>>
Cause: On Linux, SecureRandom reads "/dev/random" which can block.
Resolution
Edit the tibcohost.tra from CONFIG_HOME/tibcohost/Admin-enterpriseName-adminServerName/host/bin/, adding the following argument to java.extended.properties: -Djava.security.egd=file:/dev/./urandom
Issue/Introduction
TIBCO Host instance does not start-up on Linux.
Additional Information
Oracle has filed a defect for this issue: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6521844