Recent EntriesOCSP Java Bug (Part II)
Saturday, May 18 2013 Debian 7.0 released! Sunday, May 5 2013 Glassfish HA using EJB Sunday, April 7 2013 BUG in Java OCSP Implementation (PKIX)? Friday, March 15 2013 SPNEGO/Kerberos in JavaEE (spnego.java.net) Sunday, March 3 2013 Testing WebRTC Saturday, February 16 2013 SPNEGO/Kerberos in JavaEE (PAC) Saturday, February 2 2013 SPNEGO/Kerberos in JavaEE Friday, January 18 2013 Samba 4.0.0 Thursday, December 27 2012 Limbo Sunday, December 2 2012 QuicksearchSyndicate This BlogAuthorBlog Administration |
Saturday, May 18. 2013OCSP Java Bug (Part II)As you have already seen in the previous entry, Debian 7.0 is now public and therefore I am using Jessie in testing. Openjdk 7 package is now update 21 (icedtea 2.3.9) and, as I promised, I finally upgraded from openjdk-6 to 7. Taking advantage of the situation I tested the previous OCSP issue I commented in this blog but with the new version. In 7u21 the issue is exactly the same but presenting different error messages. In the error cases the message presented is the following Signature length not correct: got 256 but was expecting 128. Much more cryptic I have to say than the previous messages (Error verifying OCSP Responder's signature or Responder's certificate not valid for signing OCSP responses). Checking again the code the problem is still the same. Just the issuer certificate or the configured certificate is passed to the OCSPResponse, so the cases 1 and 3 cannot be mixed with the case 2. But there is a good new, since the following commit the OCSP and OCSPResponse classes accept a list of responder certificates (previously it was only one) and therefore now the fix is even easier. It just consists in adding both certs (issuer cert and configured responder if it is the case) to the list. so now the fix is a simpler patch that only changes the OCSPChecker class. Talking about the bug I received an answer from Oracle telling me that the BUG has been accepted (it was around two months ago) but I have no more news since then. There is not a public link in the java database either. I am going to try to contact with icedtea guys to see what they think about that. Keep on trying! Sunday, May 5. 2013Debian 7.0 released!The Debian community has released today the next version of their famous Linux distribution. Following a two-year cycle and after ten months frozen the new version 7.0 (codename wheezy) can be downloaded now from their website. As always it comes to light once all the critical bugs were fixed (something that never stops to amaze me): Good job guys and time to meet Jessie! Sunday, April 7. 2013Glassfish HA using EJBI have received some comments about the old entry that installed a full glassfish HA solution using debian, people complain that the post did not deal with Stateful EJBs. A Stateful EJB is a enterprise bean that acts as a server-side extension of the client maintaining its state during calls (the bean object maintains its properties). Obviously this type of EJB has to also be replicated between the application server instances in case of an HA architecture. The reason for that oversight is clear, I am not a fan of remote EJBs, I always recommend to use local ones (which are deployed and called inside the same JVM and their performance is much better) or Web Services. Stateful EJBs should work smoothly in glassfish and today I am going to present a little example (and, as you will see later, I faced a very nasty issue). The first thing I did was installing the solution with glassfish 3.1.2.2, I repeated the same steps explained in the previous entry one by one. When the (in)famous clusterjsp was running I started to develop and deploy a simple stateful EJB following Markus Eisele's blog entry.
Today's entry complements a previous one of the blog (simple but full glassfish HA using debian), that entry tested only the web part but some people have commented to me what happened with a Stateful EJB. Usually that type of EJB should work in the HA scenario smoothly but a weird problem happened to me, using localhost instead of the real hostname for node creation complicated my solution. Once that issue was fixed the solution worked smoothly and EJB HA was assured by the glassfish cluster. Here I upload the clusterejb project I used in the entry. The moral is glassfish replication also works with stateful EJBs. Replicated regards!
(Page 1 of 25, totaling 75 entries)
» next page
|

Comments
Thu, 04.04.2013 10:13
Hi Rulet, Usually this is a bug in the distribution packages, I suppose you're using ubuntu [...]
Wed, 03.04.2013 18:05
Whem trying to install libasound2:i386 it gives an error that /usr/share/alsa/alsa.conf cannot [...]
Sat, 16.02.2013 14:07
I have a set of events saved in my database (a very special database, so I can't use some popu [...]
Sat, 22.12.2012 15:26
Thanks Ricky, You are the guy! This is the way.. I can see it now! Thanks again!!!
Sat, 22.12.2012 15:17
No Bruno, a login is never done using a Java applet. The web server is configured to request u [...]
Thu, 20.12.2012 21:29
Thanks for the answer Ricky! Please, look the link above: https://cav.receita.fazenda.gov. [...]
Thu, 20.12.2012 14:43
Hi Semko, That error means the apt-get doesn't find the libasound2:i386 package. Are you u [...]
Thu, 20.12.2012 14:31
Hi Bruno, In order to authenticate a user using a certificate you need to read another of [...]