ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuomas Kiviaho (JIRA)" <>
Subject [jira] [Commented] (ACE-305) Start level problems with devserver
Date Fri, 23 Nov 2012 06:42:58 GMT


Tuomas Kiviaho commented on ACE-305:

I started up the devserver with command and this is what I got in console. UI gave
me 503 and this error each time I tried to access it. By manually turning off webui, vaadin
and felix http and starting them in reverse order got e around this issue. Usage of startlevel
in ensured that the Felix Http got started before the others and I totally agree that
it's just a workaround and not an ideal solution. I have no idea how felix http internals
work but the problem seems to have risen elsewhere as well
(not a bug in jetty as mentioned but has something to do with how felix http hooks to it).
 I'm getting three time the message of vaadin starting up to console when I shutdown and start
the system again. Alternative - although a bit biased - workaround could be to switch over
to Pax Web where timing issues have been dealt with in the latest major version since both
implement what is referred as Web Experience <>
that ACE seems to be using. 
> Start level problems with devserver
> -----------------------------------
>                 Key: ACE-305
>                 URL:
>             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
>         at org.apache.felix.framework.Felix.registerService(
>         at org.apache.felix.framework.BundleContextImpl.registerService(
>         at org.apache.felix.http.base.internal.HttpServiceController.register(
>         at org.apache.felix.http.base.internal.DispatcherServlet.init(
>         at org.mortbay.jetty.servlet.ServletHolder.initServlet(
>         at org.mortbay.jetty.servlet.ServletHolder.doStart(
>         at org.mortbay.component.AbstractLifeCycle.start(
>         at org.mortbay.jetty.servlet.ServletHandler.initialize(
>         at org.mortbay.jetty.servlet.Context.startContext(
>         at org.mortbay.jetty.handler.ContextHandler.doStart(
>         at org.mortbay.component.AbstractLifeCycle.start(
>         at org.mortbay.jetty.handler.HandlerWrapper.doStart(
>         at org.mortbay.jetty.Server.doStart(
>         at org.mortbay.component.AbstractLifeCycle.start(
>         at org.apache.felix.http.jetty.internal.JettyService.initializeJetty(
>         at org.apache.felix.http.jetty.internal.JettyService.startJetty(
>         at
>         at
> [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:

View raw message