Java.io.IOException: Length is too big: takes 56 bytes

Oracle Community | 3004 | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    "Length is too big" IOException when using OpenSSL key/certs

    Oracle Community | 2 decades ago | 3004
    Java.io.IOException: Length is too big: takes 56 bytes

    Root Cause Analysis

    1. Java.io.IOException

      Length is too big: takes 56 bytes

      at weblogic.security.ASN1.ASN1Header.inputLength()
    2. weblogic.security.ASN1
      ASN1Header.input
      1. weblogic.security.ASN1.ASN1Header.inputLength(ASN1Header.java:133)
      2. weblogic.security.ASN1.ASN1Header.input(ASN1Header.java:105)
      2 frames
    3. weblogic.security
      RSAPrivateKey.<init>
      1. weblogic.security.RSAPrivateKey.input(RSAPrivateKey.java:107)
      2. weblogic.security.RSAPrivateKey.<init>(RSAPrivateKey.java:85)
      2 frames
    4. weblogic.t3.srvr
      T3Srvr.main
      1. weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:285)
      2. weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:214)
      3. weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1180)
      4. weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
      4 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. weblogic
      NmsIpServer.main
      1. weblogic.Server.startServerDynamically(Server.java:99)
      2. weblogic.Server.main(Server.java:65)
      3. weblogic.NmsIpServer.main(NmsIpServer.java:13)
      3 frames