Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-206

Apache ServiceMix 4 binary assembly zip file is not valid

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows Vista 64bit
      JDK 1.5_17

      Description

      When trying to unzip the apache-servicemix zip archive (binary) there are several errors and warnings.
      (tried with a self built trunk of smx4 built under linux and also downloaded a version from the dev snapshots)

      Following are the problems:

      geronimo-annotation_1.0_spec-1.1.1.jar seems to be inside the zip twice
      org.apache.servicemix.bundles.oro-2.0.8_1.jar seems to be inside the zip twice

      about 41 jar files seem to have invalid file names (windows complains about a too long source path)

      So finally when starting the unzipped result it fails poorly:

      c:\apache-servicemix-4.0-m2-trunk\bin>servicemix.bat
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/jaas/org.apache.servicemix.kernel.jaas.modules/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.jaas.modules-1.1.0-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/gshell/org.apache.servicemix.kernel.gshell.features/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.gshell.features-1.1.0-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/gshell/org.apache.servicemix.kernel.gshell.admin/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.gshell.admin-1.1.0-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/org.apache.servicemix.kernel.filemonitor/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.filemonitor-1.1.0-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/gshell/org.apache.servicemix.kernel.gshell.packages/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.gshell.packages-1.1.0-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/gshell/org.apache.servicemix.kernel.gshell.config/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.gshell.config-1.1.0-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/gshell/org.apache.servicemix.kernel.gshell.osgi/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.gshell.osgi-1.1.0-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/gshell/org.apache.servicemix.kernel.gshell.core/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.gshell.core-1.1.0-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/jaas/org.apache.servicemix.kernel.jaas.config/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.jaas.config-1.1.0-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/bundles/org.apache.servicemix.bundles.commons-httpclient/3.1_1/org.apache.servicemix.bundles.commons-httpclient-3.1_1.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/bundles/org.apache.servicemix.bundles.jaxp-ri/1.4.2_1-SNAPSHOT/org.apache.servicemix.bundles.jaxp-ri-1.4.2_1-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/gshell/org.apache.servicemix.kernel.gshell.log/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.gshell.log-1.1.0-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/bundles/org.apache.servicemix.bundles.jline/0.9.94_1-SNAPSHOT/org.apache.servicemix.bundles.jline-0.9.94_1-SNAPSHOT.jar
      Bundle listed in startup.properties configuration not found: org/apache/servicemix/kernel/org.apache.servicemix.kernel.management/1.1.0-SNAPSHOT/org.apache.servicemix.kernel.management-1.1.0-SNAPSHOT.jar
      ERROR: Error starting mvn:org.apache.servicemix.kernel/org.apache.servicemix.kernel.spring/1.1.0-SNAPSHOT (org.osgi.framework.BundleException: Unresolved package in bundle 26: package; (package=org.apache.servicemix.kernel.filemonitor))
      org.osgi.framework.BundleException: Unresolved package in bundle 26: package; (package=org.apache.servicemix.kernel.filemonitor)
              at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
              at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
              at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
              at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
              at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
              at java.lang.Thread.run(Thread.java:595)
      
      1. pic1.jpg
        53 kB
        Lars Heinemann
      2. pic2.jpg
        30 kB
        Lars Heinemann
      3. pic3.jpg
        54 kB
        Lars Heinemann

        Activity

        Hide
        lhein Lars Heinemann added a comment -

        Sorry, the screenshots are from a german windows vista version. If something needs to be translated, just ask me.

        Show
        lhein Lars Heinemann added a comment - Sorry, the screenshots are from a german windows vista version. If something needs to be translated, just ask me.
        Hide
        lhein Lars Heinemann added a comment -

        Well...finally I found the solution to this problem.
        The built-in unzip mechanism of Windows Vista Home Premium 64 bit German can't handle the archive correctly. I did try with WinZip and this actually extracts everything correctly.
        Maybe we should try extracting on as many different platforms as possible to get a grasp where problems may occur.

        Also a FAQ entry would make sense like "Common Installation Issues".

        Show
        lhein Lars Heinemann added a comment - Well...finally I found the solution to this problem. The built-in unzip mechanism of Windows Vista Home Premium 64 bit German can't handle the archive correctly. I did try with WinZip and this actually extracts everything correctly. Maybe we should try extracting on as many different platforms as possible to get a grasp where problems may occur. Also a FAQ entry would make sense like "Common Installation Issues".
        Hide
        jgoodyear Jamie goodyear added a comment -

        I've seen this on Windows Vista Business 32 bit English as well.

        This may be a generic issue to all Vista editions using the built-in unzip mechanism.

        Show
        jgoodyear Jamie goodyear added a comment - I've seen this on Windows Vista Business 32 bit English as well. This may be a generic issue to all Vista editions using the built-in unzip mechanism.
        Hide
        gertvanthienen Gert Vanthienen added a comment -

        Just fixed a few more inconsistencies in the kit in http://svn.apache.org/viewvc?view=revision&revision=1207842 but now the result looks OK - just tried with a few versions of Windows and there are no more duplicate files in the ZIP archives now.

        Show
        gertvanthienen Gert Vanthienen added a comment - Just fixed a few more inconsistencies in the kit in http://svn.apache.org/viewvc?view=revision&revision=1207842 but now the result looks OK - just tried with a few versions of Windows and there are no more duplicate files in the ZIP archives now.

          People

          • Assignee:
            gertvanthienen Gert Vanthienen
            Reporter:
            lhein Lars Heinemann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development