Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2323

ServiceMix freezes if bundled is refreshed after feature install

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 5.0.1
    • 5.6.3
    • None
    • None
    • Linux MacOs

    Description

      If you install a feature from a feature descriptor that causes a refresh at first startup ServiceMix freezes (after second startup install works). e.g. console prints:

      Refreshing bundles org.springframework.jms (76)
      

      Log contains someting like:

      15:12:51,639 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org
      .apache.cxf.cxf-rt-features-clustering
      15:12:51,642 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org
      .apache.cxf.cxf-api
      15:12:51,646 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-transports-http
      15:12:51,651 | INFO  | xFrameworkWiring | ContextHandler                   | 101 - org.eclipse.jetty.util - 7.6.9.v20130131 | stopped HttpServiceContext{httpContext=DefaultHttpContext{org.apache.cxf.cxf-rt-transports-http - 125}}
      15:12:51,653 | INFO  | xFrameworkWiring | HttpServiceFactoryImpl           | 123 - org.ops4j.pax.web.pax-web-runtime - 1.1.17 | Unbinding bundle: [org.apache.cxf.cxf-rt-transports-http [125]]
      15:12:51,654 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-bindings-coloc
      15:12:51,657 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.camel.camel-cxf-transport
      15:12:51,659 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-frontend-jaxws
      15:12:51,660 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-transports-http-jetty
      15:12:51,663 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.camel.camel-cxf
      15:12:51,665 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.activemq.activemq-osgi
      15:12:51,668 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-ws-addr
      15:12:51,669 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.cxf.karaf.cxf-karaf-commands
      15:12:51,672 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-ws-policy
      15:12:51,676 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-core
      15:12:51,678 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 139
      15:12:51,678 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 125
      15:12:51,678 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 119
      15:12:51,678 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 137
      15:12:51,678 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 127
      15:12:51,678 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 151
      15:12:51,678 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 145
      15:12:51,678 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 162
      15:12:51,678 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 118
      15:12:51,679 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 154
      15:12:51,679 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 140
      15:12:51,679 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 153
      15:12:51,679 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 135
      15:12:51,679 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 138
      15:12:51,679 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 141
      15:12:51,679 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 156
      15:12:51,679 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 115
      15:12:51,679 | INFO  | xFrameworkWiring | CXFActivator                     | 116 - org.apache.cxf.cxf-api - 2.7.10 | Removing the extensions for bundle 155
      15:12:51,682 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-ws-rm
      15:12:51,684 | INFO  | xFrameworkWiring | BlueprintExtender                | 7 - org.apache.aries.blueprint.core - 1.4.0 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-frontend-jaxrs
      15:12:52,460 | WARN  | Thread-39        | BndUtils                         | 2 - org.ops4j.pax.url.wrap - 1.3.7 | Bundle cannot be generated
      java.io.IOException: Pipe closed
              at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)[:1.7.0_51]
              at java.io.PipedInputStream.receive(PipedInputStream.java:227)[:1.7.0_51]
              at java.io.PipedOutputStream.write(PipedOutputStream.java:149)[:1.7.0_51]
              at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)[:1.7.0_51]
              at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:238)[:1.7.0_51]
              at aQute.lib.osgi.Jar.writeResource(Jar.java:305)[2:org.ops4j.pax.url.wrap:1.3.7]
              at aQute.lib.osgi.Jar.write(Jar.java:211)[2:org.ops4j.pax.url.wrap:1.3.7]
              at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:174)[2:org.ops4j.pax.url.wrap:1.3.7]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            falkmarcus Marcus Abels
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: