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

intermittent ServerModel LinkageError when connecting to ssh container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • jboss-fuse-6.3
    • jboss-fuse-6.3
    • Fabric8 v1
    • None
    • % %
    • Sprint 7 - towards CR2

    Description

      There is some class loading issue - when from Fabric -> Containers user tries to connect to ssh container.

      Unfortunatelly we don't have exact reproducer.
      It happens often when we have 3 member ensemble and connecting to ssh container.
      The issue usually disappears when ssh container is restarted.

      Hawtio shows Cannot Connect: org/ops4j/pax/web/service/spi/model/ServerModel

      There is following error in ssh container log:tail

      2016-08-02 06:44:22,393 | WARN  | qtp628170494-125 | HttpChannel                      | 107 - org.eclipse.jetty.util - 9.2.17.v20160517 | /auth/login/
      java.lang.LinkageError: org/ops4j/pax/web/service/spi/model/ServerModel
      	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:65)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[104:org.eclipse.jetty.server:9.2.17.v20160517]
      	at org.eclipse.jetty.server.Server.handle(Server.java:499)[104:org.eclipse.jetty.server:9.2.17.v20160517]
      	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[104:org.eclipse.jetty.server:9.2.17.v20160517]
      	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[104:org.eclipse.jetty.server:9.2.17.v20160517]
      	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[97:org.eclipse.jetty.io:9.2.17.v20160517]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[107:org.eclipse.jetty.util:9.2.17.v20160517]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[107:org.eclipse.jetty.util:9.2.17.v20160517]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
      

      Here's output of find-class command

      Fabric8:fafram@ssh-container-name > find-class ServerModel
      
      OPS4J Pax Web - Service SPI (126)
      org/ops4j/pax/web/service/spi/model/ServerModel$UrlPattern.class
      org/ops4j/pax/web/service/spi/model/ServerModel.class
      
      OPS4J Pax Web - Runtime (127)
      org/ops4j/pax/web/service/spi/model/ServerModel$UrlPattern.class
      org/ops4j/pax/web/service/spi/model/ServerModel.class
      
      OPS4J Pax Web - Jetty (128)
      org/ops4j/pax/web/service/spi/model/ServerModel$UrlPattern.class
      org/ops4j/pax/web/service/spi/model/ServerModel.class
      
      Fabric8:fafram@okw-outbound2> osgi:list -t 0 -l | grep "(126|127|128)"
      [ 126] [Active     ] [            ] [       ] [   30] mvn:org.ops4j.pax.web/pax-web-spi/4.2.7
      [ 127] [Active     ] [            ] [       ] [   30] mvn:org.ops4j.pax.web/pax-web-runtime/4.2.7
      [ 128] [Active     ] [            ] [       ] [   30] mvn:org.ops4j.pax.web/pax-web-jetty/4.2.7
      

      LinkageError keeps popping up in log while hawtio tab with
      Cannot Connect: org/ops4j/pax/web/service/spi/model/ServerModel
      remains open. See log-tail.txt

      Attachments

        1. log-tail.txt
          125 kB
        2. jmx-leak.png
          jmx-leak.png
          49 kB
        3. jmx1.png
          jmx1.png
          29 kB
        4. jmx2.png
          jmx2.png
          22 kB
        5. fuse630175-ensemble-member.log
          428 kB

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              jludvice Josef Ludvicek (Inactive)
              Josef Ludvicek Josef Ludvicek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: