Uploaded image for project: 'ACE'
  1. ACE
  2. ACE-348

Ace server unavailable after (re)start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.1
    • None
    • None
    • ace trunk / linux x64 / java version "1.7.0_17"
      Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
      Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

    Description

      Every now and then the server is unavailable over http throwing a 503. It's a timing issue and seems to be reported at https://issues.apache.org/jira/browse/FELIX-3846

      HTTP ERROR 503
      
      Problem accessing /ace. Reason:
      
          java.lang.IllegalStateException: Can only register services while bundle is active or activating.
      Caused by:
      
      javax.servlet.UnavailableException: java.lang.IllegalStateException: Can only register services while bundle is active or activating.
      	at org.mortbay.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:415)
      	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:458)
      	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
      	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
      	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
      	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      	at org.mortbay.jetty.Server.doStart(Server.java:224)
      	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      	at org.apache.felix.http.jetty.internal.JettyService.initializeJetty(JettyService.java:164)
      	at org.apache.felix.http.jetty.internal.JettyService.startJetty(JettyService.java:115)
      	at org.apache.felix.http.jetty.internal.JettyService.run(JettyService.java:290)
      	at java.lang.Thread.run(Thread.java:722)
      

      Same problem reported in the log.

      Attachments

        Issue Links

          Activity

            People

              marrs Marcel Offermans
              bramk Bram de Kruijff
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: