Copy link to clipboard
Copied
Our staging and production servers installed with Secure+Production profile. Our dev server installed in Development profile.
Our dev server is able to startup within 30seconds. However staging and production stalls excessively. the Starting security step takes over 2 minutes. Any ideas?
Server Details | |
Server Product | ColdFusion 2016 |
Version | 2016.0.06.311392 |
Tomcat Version | 8.5.32.0 |
Edition | Enterprise |
Operating System | Windows Server 2016 |
OS Version | 10.0 |
Update Level | C:/ColdFusion2016/cfusion/lib/updates/chf20160007.jar |
Adobe Driver Version | 5.1.4 (Build 0001) |
JVM Details | |
Java Version | 1.8.0_191 |
Java Vendor | Oracle Corporation |
coldfusion-out.log
Nov 12, 2018 09:01:23 AM Information [localhost-startStop-1] - Starting logging...
Nov 12, 2018 09:01:23 AM Information [localhost-startStop-1] - Starting license...
Nov 12, 2018 09:01:24 AM Information [localhost-startStop-1] - Enterprise Edition enabled
Nov 12, 2018 09:01:24 AM Information [localhost-startStop-1] - Starting crypto...
Nov 12, 2018 09:01:24 AM Information [localhost-startStop-1] - Installed JSafe JCE provider: Version 6.21 Crypto-J 6.2.1, EMC Corporation. JsafeJCE Security Provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, HMACDRBG, HASHDRBG, CTRDRBG, FIPS186PRNG, SHA1PRNG, MD5PRNG; RFC 3394, RFC 5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, PKCS15 KeyStore; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, Collection CertStores)
Nov 12, 2018 09:01:24 AM Information [localhost-startStop-1] - Starting security...
Nov 12, 2018 09:03:32 AM Information [localhost-startStop-1] - Starting scheduler...
Nov 12, 2018 09:03:32 AM Information [localhost-startStop-1] - Starting WatchService...
Nov 12, 2018 09:03:32 AM Information [localhost-startStop-1] - Starting debugging...
Nov 12, 2018 09:03:32 AM Information [localhost-startStop-1] - Starting sql...
Nov 12, 2018 09:03:33 AM Information [localhost-startStop-1] - Pool Manager Started
Nov 12, 2018 09:03:33 AM Information [localhost-startStop-1] - Starting runtime...
Nov 12, 2018 09:03:39 AM Information [localhost-startStop-1] - CORBA Configuration not enabled
Nov 12, 2018 09:03:39 AM Information [localhost-startStop-1] - Starting mail...
Nov 12, 2018 09:03:39 AM Information [localhost-startStop-1] - Starting cron...
Nov 12, 2018 09:03:39 AM Information [localhost-startStop-1] - Created scheduler MyClusteredScheduler with thread pool size as 13
Nov 12, 2018 09:03:39 AM Information [localhost-startStop-1] - Created scheduler DefaultQuartzScheduler with thread pool size as 10
Nov 12, 2018 09:03:40 AM Information [DefaultQuartzScheduler_QuartzSchedulerThread] - Task CF_SERVER.CHECK FOR COLDFUSION UPDATES misfired.
Nov 12, 2018 09:03:40 AM Information [localhost-startStop-1] - Starting registry...
Nov 12, 2018 09:03:40 AM Information [localhost-startStop-1] - Starting client...
Nov 12, 2018 09:03:40 AM Information [localhost-startStop-1] - Starting xmlrpc...
Nov 12, 2018 09:03:40 AM Information [localhost-startStop-1] - Starting jaxrs...
Nov 12, 2018 09:03:40 AM Information [localhost-startStop-1] - Starting graphing...
Nov 12, 2018 09:03:41 AM Information [localhost-startStop-1] - Starting solr...
Nov 12, 2018 09:03:41 AM Information [localhost-startStop-1] - Starting archive...
Nov 12, 2018 09:03:41 AM Information [localhost-startStop-1] - Starting document...
Nov 12, 2018 09:03:41 AM Information [localhost-startStop-1] - Starting eventgateway...
Nov 12, 2018 09:03:41 AM Information [localhost-startStop-1] - Event Gateway Disabled.
Nov 12, 2018 09:03:41 AM Information [localhost-startStop-1] - Starting FlexAssembler...
Nov 12, 2018 09:03:41 AM Information [localhost-startStop-1] - Starting .NET...
Nov 12, 2018 09:03:41 AM Information [localhost-startStop-1] - Starting Monitoring...
Nov 12, 2018 09:03:41 AM Information [localhost-startStop-1] - Starting Monitoring Server on port 5500.
Nov 12, 2018 09:03:41 AM Information [localhost-startStop-1] - Starting WebSocket...
Nov 12, 2018 09:03:42 AM Information [localhost-startStop-1] - ColdFusion started
Nov 12, 2018 09:03:42 AM Information [localhost-startStop-1] - ColdFusion: application services are now available
11/12 09:03:42 INFO License Service: Flex 1.5 CF Edition enabled
11/12 09:03:42 INFO Starting Flex 1.5 CF Edition
11/12 09:03:42 INFO Macromedia Flex Build: 87315.134646
no log entry in coldfusion-error.log or any other within startup time range.
Copy link to clipboard
Copied
Usually this sort of thing would indicate that it is having trouble obtaining random entropy at startup. This tends to happen on virtualized operating systems a lot.
If you were on Linux I would say try using /dev/urandom instead of /dev/random but it looks like you are on Windows. You might do some googling to see if there is a similar solution for Windows.
Copy link to clipboard
Copied
it's a good thought. looked up the JVM windows equiv of /dev/urandom. apparently it's a URL file resource. i'll make attempts to try to use urandom
java - What is the /dev/urandom equivalent on Windows JVM level - Server Fault
Copy link to clipboard
Copied
attempt 1: add -Djava.security.egd=file:/dev/urandom to JVM Arguments
result: no change
attempt 2: add -Djava.security.egd=file:/dev/./urandom to JVM Arguments
result: no change
inspected JRE 1.8.0 u191's file \lib\security\java.security shows setting securerandom.source=file:/dev/random
yes i'm on virtualized server.