Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-628

command line setup fails to load jar file ._snmp-mib2605.jar

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: 2.4.5
    • Fix Version/s: Not applicable
    • Component/s: None
    • Labels:
      None
    • Environment:
      CentOS 6.3 2.6.32-279.el6.x86_64
      java version "1.6.0_35"

      Description

      When attempting to install OpenDJ, setup fails with message "...Directory Server jar file ._snmp-mib2605.jar in directory /opt/opendj/lib/extensions cannot be
      loaded because an unexpected error occurred while trying to open the file for
      reading: error in opening zip file (ZipFile.java:-2 ZipFile.java:127..."

      Steps:
      1. Download OpenDJ-2.4.5.zip to mac
      2. extract zip file by double-clicking on it
      3. compress the extracted folder using tar zcvf OpenDJ245.tar.gz ./OpenDJ-2.4.5
      4. copy .tar.gz file to CentOS machine via scp
      5. extract the compressed file using tar zxvf OpenDJ245.tar.gz .
      6. change OpenDJ-2.4.5/ to opendj/ via mv OpenDJ-2.4.5 to opendj
      7. change ownership to root vi chown -hR root:root opendj
      8. change directory to opendj
      9. run set via ./setup -v

      Expected Results:
      opendj installation process to walk me through installation with prompts

      Actual Results:
      [root@tst-amsfo1 opendj]# ./setup -v
      Launching graphical setup...

      The graphical Setup launch failed. Check file /tmp/opends-setup-8530167477708556683.log for more details.

      Launching command line setup...

      OpenDJ 2.4.5
      Please wait while the setup program initializes...
      An error occurred while attempting to process the Directory Server
      configuration file /opt/opendj/config/config.ldif: The Directory Server jar
      file ._snmp-mib2605.jar in directory /opt/opendj/lib/extensions cannot be
      loaded because an unexpected error occurred while trying to open the file for
      reading: error in opening zip file (ZipFile.java:-2 ZipFile.java:127
      JarFile.java:135 JarFile.java:99 ClassLoaderProvider.java:816
      ClassLoaderProvider.java:411 ClassLoaderProvider.java:601
      ClassLoaderProvider.java:336 ClassLoaderProvider.java:282
      DirectoryServer.java:1195 DirectoryServer.java:1172 InstallDS.java:682
      InstallDS.java:476 InstallDS.java:335 InstallDS.java:279
      SetupLauncher.java:158 SetupLauncher.java:75)

        Attachments

          Activity

            People

            • Assignee:
              matthew Matthew Swift
              Reporter:
              markg Mark Gibson
              Dev Assignee:
              Matthew Swift
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: