Return-Path: X-Original-To: apmail-ace-commits-archive@www.apache.org Delivered-To: apmail-ace-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5922FDBC4 for ; Thu, 22 Nov 2012 13:38:59 +0000 (UTC) Received: (qmail 87550 invoked by uid 500); 22 Nov 2012 13:38:59 -0000 Delivered-To: apmail-ace-commits-archive@ace.apache.org Received: (qmail 87529 invoked by uid 500); 22 Nov 2012 13:38:58 -0000 Mailing-List: contact commits-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ace.apache.org Delivered-To: mailing list commits@ace.apache.org Received: (qmail 87512 invoked by uid 99); 22 Nov 2012 13:38:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2012 13:38:58 +0000 Date: Thu, 22 Nov 2012 13:38:58 +0000 (UTC) From: "Marcel Offermans (JIRA)" To: commits@ace.apache.org Message-ID: <1811469199.16890.1353591538549.JavaMail.jiratomcat@arcas> In-Reply-To: <1123602760.16801.1353589621105.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (ACE-305) Start level problems with devserver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACE-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502774#comment-13502774 ] Marcel Offermans commented on ACE-305: -------------------------------------- Start levels seldom fix problems, they just work around them for some cases. Could you please explain in a bit more detail what you were doing and how to reproduce this exception? That would help me pinpoint in what bundle this issue occurred (it seems to be involving Felix and the HTTP service). > Start level problems with devserver > ----------------------------------- > > Key: ACE-305 > URL: https://issues.apache.org/jira/browse/ACE-305 > Project: ACE > Issue Type: Bug > Reporter: Tuomas Kiviaho > > Pax runner script gives followind exception in certain cases. This is easily avoided by lowering start level for required bundles. > java.lang.IllegalStateException: Can only register services while bundle is active or activating. > at org.apache.felix.framework.Felix.registerService(Felix.java:3209) > at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346) > at org.apache.felix.http.base.internal.HttpServiceController.register(HttpServiceController.java:135) > at org.apache.felix.http.base.internal.DispatcherServlet.init(DispatcherServlet.java:48) > at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440) > 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:662) > [INFO] Started jetty 6.1.x at port(s) HTTP:8082 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira