From egor at technoparkcorp.com Tue Oct 9 22:49:20 2012 From: egor at technoparkcorp.com (Yegor Bugayenko) Date: Wed, 10 Oct 2012 07:49:20 +0200 Subject: Received fatal alert: bad_record_mac Message-ID: I'm seeing this exception time to time: "Received fatal alert: bad_record_mac" The problem explained with details here: http://stackoverflow.com/questions/12787657 Can anybody suggest a simple workaround? I suspect that it's some command line argument that I miss. Thanks. ? Yegor From vishal.bhoj at linaro.org Wed Oct 10 00:35:06 2012 From: vishal.bhoj at linaro.org (Vishal Bhoj) Date: Wed, 10 Oct 2012 13:05:06 +0530 Subject: Profiling startup time Message-ID: Hi, Is there anyway to profile the startup time of a JVM ? As in how much time the VM took to load all the classes and jump to execution. I am interested in profiling this performance against the Dalvik VM on ARM. Regards, Vishal From bradford.wetmore at oracle.com Wed Oct 10 13:11:31 2012 From: bradford.wetmore at oracle.com (Brad Wetmore) Date: Wed, 10 Oct 2012 13:11:31 -0700 Subject: Received fatal alert: bad_record_mac In-Reply-To: References: Message-ID: <5075D673.2050003@oracle.com> This is an underlying problem with the cipher decryption on the remote side. If you are using Solaris/PKCS11 for your crypto, make sure you are up to date with your patches. Brad On 10/9/2012 10:49 PM, Yegor Bugayenko wrote: > I'm seeing this exception time to time: "Received fatal alert: > bad_record_mac" > > The problem explained with details here: > http://stackoverflow.com/questions/12787657 > > Can anybody suggest a simple workaround? I suspect that it's some command > line argument that I miss. Thanks. > > ? > Yegor > From bradford.wetmore at oracle.com Wed Oct 10 13:26:49 2012 From: bradford.wetmore at oracle.com (Brad Wetmore) Date: Wed, 10 Oct 2012 13:26:49 -0700 Subject: Received fatal alert: bad_record_mac In-Reply-To: <5075D673.2050003@oracle.com> References: <5075D673.2050003@oracle.com> Message-ID: <5075DA09.8020304@oracle.com> I was probably too brief in my explanation. The remote side isn't able to decrypt the encrypted packets properly. It could be any number of things, but for some reason the keys exchanged between the peers likely was incorrect. We have seen situations where Solaris' PKCS11 provider had some bugs, but we're not aware of any issues with recent versions of the JDK. Brad P.S. jdk7-dev isn't a support channel. On 10/10/2012 1:11 PM, Brad Wetmore wrote: > This is an underlying problem with the cipher decryption on the remote > side. If you are using Solaris/PKCS11 for your crypto, make sure you > are up to date with your patches. > > Brad > > > > On 10/9/2012 10:49 PM, Yegor Bugayenko wrote: >> I'm seeing this exception time to time: "Received fatal alert: >> bad_record_mac" >> >> The problem explained with details here: >> http://stackoverflow.com/questions/12787657 >> >> Can anybody suggest a simple workaround? I suspect that it's some command >> line argument that I miss. Thanks. >> >> ? >> Yegor >>