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

Chris Odom commented on SM-2364:
--------------------------------

LOG OUTPUT:

14:06:50,507 | INFO  | FelixShutdown    | BlueprintExtender                | 9 
- org.apache.aries.blueprint.core - 1.0.1.redhat-610379 | Destroying 
BlueprintContainer for bundle org.apache.servicemix.nmr.osgi
14:06:50,521 | INFO  | FelixShutdown    | BlueprintExtender                | 9 
- org.apache.aries.blueprint.core - 1.0.1.redhat-610379 | Destroying 
BlueprintContainer for bundle fuse-com-order-bundle
14:06:50,526 | INFO  | FelixShutdown    | BlueprintCamelContext            | 
142 - org.apache.camel.camel-core - 2.12.0.redhat-610379 | Apache Camel 
2.12.0.redhat-610379 (CamelContext: comCamelContext) is shutting down
14:06:50,528 | INFO  | FelixShutdown    | DefaultShutdownStrategy          | 
142 - org.apache.camel.camel-core - 2.12.0.redhat-610379 | Starting to graceful 
shutdown 3 routes (timeout 300 seconds)
14:06:50,532 | INFO  | 5 - ShutdownTask | DefaultShutdownStrategy          | 
142 - org.apache.camel.camel-core - 2.12.0.redhat-610379 | Route: 
orderReleaseAggregatorRoute shutdown complete, was consuming from: 
Endpoint[direct://orderReleaseAggregator]
14:06:50,945 | WARN  | qtp205135738-140 | LogQuery                         | 59 
- org.fusesource.insight.insight-log - 1.0.0.redhat-379 | No VmLogAppender 
available!
14:06:55,945 | WARN  | qtp205135738-140 | LogQuery                         | 59 
- org.fusesource.insight.insight-log - 1.0.0.redhat-379 | No VmLogAppender 
available!
14:07:00,946 | WARN  | qtp205135738-138 | LogQuery                         | 59 
- org.fusesource.insight.insight-log - 1.0.0.redhat-379 | No VmLogAppender 
available!
14:07:05,947 | WARN  | qtp205135738-141 | LogQuery                         | 59 
- org.fusesource.insight.insight-log - 1.0.0.redhat-379 | No VmLogAppender 
available!
14:07:10,951 | WARN  | qtp205135738-141 | LogQuery                         | 59 
- org.fusesource.insight.insight-log - 1.0.0.redhat-379 | No VmLogAppender 
available!
14:07:16,042 | WARN  | qtp205135738-140 | LogQuery                         | 59 
- org.fusesource.insight.insight-log - 1.0.0.redhat-379 | No VmLogAppender 
available!
14:07:20,948 | WARN  | qtp205135738-138 | LogQuery                         | 59 
- org.fusesource.insight.insight-log - 1.0.0.redhat-379 | No VmLogAppender 
available!
14:07:25,950 | WARN  | qtp205135738-138 | LogQuery                         | 59 
- org.fusesource.insight.insight-log - 1.0.0.redhat-379 | No VmLogAppender 
available!

This repeats until the timeout occurs. And you can see the 
org.apache.servicemix.nmr.osgi bundle has already been removed.

> OSGI bundle not available during shutdown
> -----------------------------------------
>
>                 Key: SM-2364
>                 URL: https://issues.apache.org/jira/browse/SM-2364
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: servicemix-utils-1.6.0
>            Reporter: Chris Odom
>
> While shutting down Camel components that use NMR the 
> org.apache.servicemix.nmr.osgi bundle is removed causing the 
> NMR.unregisterEndpont to hang.  The Camel Route will eventually  shutdown 
> after the timeout period occurs. I think there should be some dependency 
> check so that if there are still registered endpoints that the underlying 
> bundle does not shutdown.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to