brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BROOKLYN-532) UI / rest api not available after a very long rebind
Date Mon, 11 Sep 2017 17:02:00 GMT

    [ https://issues.apache.org/jira/browse/BROOKLYN-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161577#comment-16161577
] 

ASF GitHub Bot commented on BROOKLYN-532:
-----------------------------------------

Github user m4rkmckenna commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/815#discussion_r138130529
  
    --- Diff: karaf/start/src/main/resources/OSGI-INF/blueprint/blueprint.xml ---
    @@ -0,0 +1,36 @@
    +<?xml version="1.0" encoding="UTF-8"?>
    +<!--
    +Copyright 2015 The Apache Software Foundation.
    +
    +Licensed under the Apache License, Version 2.0 (the "License");
    +you may not use this file except in compliance with the License.
    +You may obtain a copy of the License at
    +
    +     http://www.apache.org/licenses/LICENSE-2.0
    +
    +Unless required by applicable law or agreed to in writing, software
    +distributed under the License is distributed on an "AS IS" BASIS,
    +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +See the License for the specific language governing permissions and
    +limitations under the License.
    +-->
    +
    +<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
    +           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    +           xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.2.0"
    +           xsi:schemaLocation="
    +             http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
    +             http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.2.0 http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.2.0.xsd
    +             ">
    +
    +    <!-- From brooklyn-karaf-init -->
    +    <reference id="localLauncher"
    --- End diff --
    
    @aledsage Nice ... Took me a bit to figure out how we made sure this didnt get started
before part one


> UI / rest api not available after a very long rebind
> ----------------------------------------------------
>
>                 Key: BROOKLYN-532
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-532
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.11.0
>            Reporter: Aled Sage
>
> I restarted Brooklyn (in karaf-mode) when it had a huge number of entities (approx 50,000).
It eventually finished rebinding, but the REST api and web-console didn't come up properly.
> The log showed the exception below:
> {noformat}
> 2017-08-31T18:15:49,691 ERROR  15 o.a.a.b.c.BlueprintContainerImpl [rint Extender: 1]
Unable to start blueprint container for bundle org.apache.brooklyn.rest-resources/0.12.0.SNAPSHOT
due to unresolved dependencies [(objectClass=org.apache.brooklyn.core.mgmt.ShutdownHandler),
(objectClass=org.apache.brooklyn.core.mgmt.internal.ManagementContextInternal)]
> java.util.concurrent.TimeoutException: null
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:370)
[15:org.apache.aries.blueprint.core:1.8.2]
>         at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
[15:org.apache.aries.blueprint.core:1.8.2]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
[?:?]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[?:?]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[?:?]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[?:?]
>         at java.lang.Thread.run(Thread.java:748) [?:?]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message