Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-700

Container freezes on "Refreshing bundles org.apache.servicemix.bundles.cglib" when install a custom feature

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.1, jboss-fuse-6.0, M1
    • fuse-esb-7.1.0
    • None
    • None
    • % %

      I created a custom feature as below. When install this custom feature, Fuse ESB container freezes on 'Refreshing bundles org.apache.servicemix.bundles.cglib'.

      <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
        <feature name="test-feature" version="1.0.0">
          <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib</bundle>
          <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_3</bundle>
        </feature>
      </features>
      

      Note, I have a workaround applied on Fuse ESB container to workaround the problem described by this JIRA: http://fusesource.com/issues/browse/ENTESB-647.

      Here is the workaround:
      Open "etc/startup.properties" file and replace asm bundle to asm-all 4.0. So you need to comment out this line

      #org/apache/servicemix/bundles/org.apache.servicemix.bundles.asm/3.3.1_1/org.apache.servicemix.bundles.asm-3.3.1_1.jar=20
      

      and replace it with this line:

      org/ow2/asm/asm-all/4.0/asm-all-4.0.jar=20
      

      Then download the asm-all-4.0.jar from http://repo1.maven.org/maven2/org/ow2/asm/asm-all/4.0/asm-all-4.0.jar and copy it to your Fuse ESB 7.1 installation directory under "system/" folder with directory structure of "org/ow2/asm/asm-all/4.0/asm-all-4.0.jar". Then delete "data/" directory to start Fuse ESB 7.1 container fresh.

      It looks like when the problem occurs, CPU also starts spinning.

        1. threaddump5_09-51-52.txt
          97 kB
        2. threaddump5_09_52_13.txt
          37 kB
        3. threaddump4.txt
          72 kB
        4. threaddump3.txt
          37 kB
        5. threaddump2.txt
          75 kB
        6. threaddump1.txt
          252 kB

              yfang@redhat.com Freeman(Yue) Fang
              rhn-support-qluo Joe Luo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: