2 Replies Latest reply on Mar 27, 2012 10:20 AM by Anil Saldanha

    Error on login: java.util.zip.ZipException: oversubscribed dynamic bit lengths tree

    Rodrigo Oliveira Newbie

      Hello everyone.

      I had been using picketlink with success with a simple jsp page containing only the login form. Once I needed to put other things in this login page, like a simple functionality to inform the user login and recover password I can’t make it work.

      After the simple functionality is called and goes back to the login form, if I try to log a receive this error:

      ERROR [IDPWebBrowserSSOValve] Exception in processing request:

      org.picketlink.identity.federation.core.exceptions.ProcessingExceptionjava.util.zip.ZipException: oversubscribed dynamic bit lengths tree

          at org.picketlink.identity.federation.core.saml.v2.util.DocumentUtil.getDocument(DocumentUtil.java:240)

          at org.picketlink.identity.federation.api.saml.v2.request.SAML2Request.getSAML2ObjectFromStream(SAML2Request.java:163)

          at org.picketlink.identity.federation.web.util.IDPWebRequestUtil.getSAMLDocumentHolder(IDPWebRequestUtil.java:139)

          at org.picketlink.identity.federation.bindings.tomcat.idp.IDPWebBrowserSSOValve.processSAMLRequestMessage(IDPWebBrowserSSOValve.java:532)

          at org.picketlink.identity.federation.bindings.tomcat.idp.IDPWebBrowserSSOValve.invoke(IDPWebBrowserSSOValve.java:405)

              at org.picketlink.identity.federation.bindings.tomcat.idp.IDPSAMLDebugValve.invoke(IDPSAMLDebugValve.java:59)


      To be certain that it is not a problem of the functionality, I created a simple HttpServlet with a doPost() that do only a System.out.println() and then redirect to a secured page, so it can go back to the login. The Servlet really does nothing, only receive a doPost().

      Is it because the idp does not accept post? Can’t the idp be a simple web application with few functionalities like those?

      Any workaround please? I am stuck.


      I am using Picketlink 2.0.2 Final and a JBoss 5.1.0. (The sps are older applications and need to run in JBoss 5, but if the problem is in JBoss 5, I could possibly run the Idp only in a newer JBoss)

      Thank you.

      Rodrigo Oliveira