KeyStore installation error

2008-10-07
2013-05-02
  • jay abraham

    jay abraham - 2008-10-07

    Hello,

    I am using jdk1.6.0_07 and when i Test installation parameter, i get stuck at KeyStore password stage.

    It gives me this error:

    Server setup error (13)

    Starting Setup Dialog ...

    *** 2008-10-07 22:54:02.521 Compiere Log (CLogConsole) ***
    22:54:02.521   CLogMgt.setLevel: CONFIG
    22:54:12.545 Language.getLanguage: Adding Language=hi, Country=IN, Locale=hi_IN
    22:54:12.546   CompierePLAF.setPLAF: Compiere - null
    22:54:12.939   SecureEngine.<init>: com.compiere.client.Secure initialized - Sec
    ure[DES,Length=8,DES/ECB/PKCS5Padding,SunJCE version 1.6]
    22:54:12.944   CompierePLAF.setPLAF: Compiere - Compiere Theme
    22:54:13.168 Setup.<init>: Compiere(r) Release 3.1.0_2008-07-31 - Smart ERP & CR
    M - (c) 1999-2008 Compiere (r); Implementation: 3.1.0 20080801-0111 - ComPiere I
    nc. (C) 1999-2008
    22:54:13.248 ConfigurationData.load: Defaults
    22:54:24.705 ConfigVMSun.test: OK: JavaHome=C:\Program Files\Java\jdk1.6.0_07 [1
    1]
    22:54:24.707 ConfigVMSun.test: OK: Version=1.6.0_07 [11]
    22:54:24.714 ConfigurationData.testCompiere: OK: CompiereHome = C:\Compiere2 [11
    ]
    22:54:24.720 KeyStoreMgt.<init>: C:\Compiere2\keystore\myKeystore [11]
    ===========> KeyStoreMgt.verify: get KeyStore [11]
    java.lang.ArrayIndexOutOfBoundsException: 13
            at sun.util.calendar.BaseCalendar.getDayOfYear(BaseCalendar.java:329)
            at sun.util.calendar.BaseCalendar.getFixedDate(BaseCalendar.java:364)
            at sun.util.calendar.BaseCalendar.getFixedDate(BaseCalendar.java:339)
            at sun.util.calendar.AbstractCalendar.getTime(AbstractCalendar.java:157)

            at sun.security.util.DerInputBuffer.getTime(DerInputBuffer.java:373)
            at sun.security.util.DerInputBuffer.getUTCTime(DerInputBuffer.java:234)
            at sun.security.util.DerInputStream.getUTCTime(DerInputStream.java:481)
            at sun.security.x509.CertificateValidity.construct(CertificateValidity.j
    ava:69)
            at sun.security.x509.CertificateValidity.<init>(CertificateValidity.java
    :111)
            at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:676)
            at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:152)
            at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1729)
            at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:179)
            at sun.security.provider.X509Factory.engineGenerateCertificate(X509Facto
    ry.java:90)
            at java.security.cert.CertificateFactory.generateCertificate(Certificate
    Factory.java:305)
            at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:705)
            at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:3
    8)
            at java.security.KeyStore.load(KeyStore.java:1185)
            at org.compiere.install.KeyStoreMgt.getKeyStore(KeyStoreMgt.java:150)
            at org.compiere.install.KeyStoreMgt.verify(KeyStoreMgt.java:78)
            at org.compiere.install.ConfigurationData.testCompiere(ConfigurationData
    .java:338)
            at org.compiere.install.ConfigurationData.test(ConfigurationData.java:26
    3)
            at org.compiere.install.ConfigurationPanel.test(ConfigurationPanel.java:
    578)
            at org.compiere.install.ConfigurationPanel$1.construct(ConfigurationPane
    l.java:535)
            at org.compiere.apps.SwingWorker$2.run(SwingWorker.java:69)

    -----------> ConfigurationData.test: 13 [11]
    ===========> ConfigurationPanel.finished: KeyStore Password
    (13) [12]

    **************************************************

    Could anyone please guide me how to proceed and rectify this problem.

    Thank you.

     
    • Kathy Pink

      Kathy Pink - 2008-10-07

      is java home set correctly?

       
    • jay abraham

      jay abraham - 2008-10-09

      hi kathy,

      YEs Java_Home is set as per the instructions specified in installation  guide. Though, i just noticed that Java SDK is standard one. I will try enterprise edition in case this has something to do with it.

      Thanks

       
    • jay abraham

      jay abraham - 2008-10-09

      Same problem: KeyStore Password (13) Dialog pops out.

       

Log in to post a comment.