Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5022

Server sometimes crashes during reload operation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Duplicate Issue
    • 7.1.2.Final (EAP)
    • None
    • OSGi
    • None

    Description

      After some number of server reloads, next reload fails.. the number seems random, for me it is between 6 and 150.

      this error message pops up during boot:

      15:21:05,036 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 53) JBAS014612: Operation ("add") failed - address: ([("subsystem" => "osgi")]): org.jboss.msc.service.DuplicateServiceException: Service jbosgi.integration.PersistentBundlesHandler is already registered
      

      This shell script can be used for reproduction:

      #!/bin/sh
      $JBOSS_HOME/bin/standalone.sh >  /dev/null &
      sleep 10
      for i in `seq 1 150`; do
              echo $i
              $JBOSS_HOME/bin/jboss-cli.sh -c --command=:reload
              sleep 4
              tail --lines=50 $JBOSS_HOME/standalone/log/server.log | grep ERROR
      done
      

      Testing environment> RHEL 5 or 6. This happens both when reloading using jboss-cli.sh and jboss-as-controller-client. It seems it has never happened to me when EAP was running in IPv6 mode (java.net.preferIPv4Stack=false), only IPv4. Affects all standalone profiles. It randomly breaks my admin console testsuite, which uses server reloads quite a lot.

      Attachments

        Issue Links

          Activity

            People

              tdiesler@redhat.com Thomas Diesler
              jmartisk@redhat.com Jan Martiska
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: