ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACE-305) Start level problems with devserver
Date Thu, 22 Nov 2012 13:38:58 GMT

    [ 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

Mime
View raw message