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

Apache ServiceMix 4 binary assembly zip file is not valid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.0.0
    • 4.4.0
    • None
    • None
    • 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)
      

      Attachments

        1. pic1.jpg
          53 kB
          Lars Heinemann
        2. pic2.jpg
          30 kB
          Lars Heinemann
        3. pic3.jpg
          54 kB
          Lars Heinemann

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: