[ 
https://issues.apache.org/jira/browse/SM-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tom Van Wemmel updated SM-3461:
-------------------------------
    Description: 
I have the following dependencies:

{code:xml}
<dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.hystrix</artifactId>
        <version>1.5.12_1</version>
</dependency>
<dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        
<artifactId>org.apache.servicemix.bundles.hystrix-event-stream</artifactId>
        <version>1.5.12_1</version>
</dependency>
{code}

When I try to use the HystrixMetricsStreamServlet an exception is thrown which 
indicates the class _com.netflix.hystrix.serial.SerialHystrixDashboardData_ is 
missing (in fact the entire package is missing). 


{noformat}
Exception in thread "RxComputationScheduler-2" java.lang.IllegalStateException: 
Fatal Exception thrown on Scheduler.Worker thread.
        at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:59)
        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:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: 
com/netflix/hystrix/serial/SerialHystrixDashboardData
        at 
com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet$1.call(HystrixMetricsStreamServlet.java:66)
        at 
com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet$1.call(HystrixMetricsStreamServlet.java:63)
        at 
rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.drain(OnSubscribeConcatMap.java:259)
        at 
rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.onNext(OnSubscribeConcatMap.java:144)
        at 
rx.internal.operators.OperatorOnBackpressureDrop$2.onNext(OperatorOnBackpressureDrop.java:98)
        at 
rx.internal.operators.OnSubscribeRefCount$2.onNext(OnSubscribeRefCount.java:120)
        at 
rx.internal.operators.OperatorPublish$PublishSubscriber.dispatch(OperatorPublish.java:588)
        at 
rx.internal.operators.OperatorPublish$PublishSubscriber.onNext(OperatorPublish.java:286)
        at rx.observers.Subscribers$5.onNext(Subscribers.java:235)
        at rx.observers.Subscribers$5.onNext(Subscribers.java:235)
        at 
rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:77)
        at 
rx.internal.operators.OnSubscribeTimerPeriodically$1.call(OnSubscribeTimerPeriodically.java:52)
        at rx.Scheduler$Worker$1.call(Scheduler.java:137)
        at 
rx.internal.schedulers.EventLoopsScheduler$EventLoopWorker$2.call(EventLoopsScheduler.java:189)
        at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
        ... 7 more
Caused by: java.lang.ClassNotFoundException: 
com.netflix.hystrix.serial.SerialHystrixDashboardData not found by com.bundle 
[34]
        at 
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1558)
        at 
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
        at 
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 22 more
{noformat}

This package is available in com.netflix.hystrix:hystrix-serialization. 
Would it be possible to wrap this bundle too?

  was:
I have the following dependencies:

{code:xml}
<dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.hystrix</artifactId>
        <version>1.5.12_1</version>
</dependency>
<dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        
<artifactId>org.apache.servicemix.bundles.hystrix-event-stream</artifactId>
        <version>1.5.12_1</version>
</dependency>
{code}

When I try to use the HystrixMetricsStreamServlet an exception is thrown which 
indicates the class _com.netflix.hystrix.serial.SerialHystrixDashboardData_ is 
missing (in fact the entire package is missing). 


{noformat}
Exception in thread "RxComputationScheduler-2" java.lang.IllegalStateException: 
Fatal Exception thrown on Scheduler.Worker thread.
        at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:59)
        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:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: 
com/netflix/hystrix/serial/SerialHystrixDashboardData
        at 
com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet$1.call(HystrixMetricsStreamServlet.java:66)
        at 
com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet$1.call(HystrixMetricsStreamServlet.java:63)
        at 
rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.drain(OnSubscribeConcatMap.java:259)
        at 
rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.onNext(OnSubscribeConcatMap.java:144)
        at 
rx.internal.operators.OperatorOnBackpressureDrop$2.onNext(OperatorOnBackpressureDrop.java:98)
        at 
rx.internal.operators.OnSubscribeRefCount$2.onNext(OnSubscribeRefCount.java:120)
        at 
rx.internal.operators.OperatorPublish$PublishSubscriber.dispatch(OperatorPublish.java:588)
        at 
rx.internal.operators.OperatorPublish$PublishSubscriber.onNext(OperatorPublish.java:286)
        at rx.observers.Subscribers$5.onNext(Subscribers.java:235)
        at rx.observers.Subscribers$5.onNext(Subscribers.java:235)
        at 
rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:77)
        at 
rx.internal.operators.OnSubscribeTimerPeriodically$1.call(OnSubscribeTimerPeriodically.java:52)
        at rx.Scheduler$Worker$1.call(Scheduler.java:137)
        at 
rx.internal.schedulers.EventLoopsScheduler$EventLoopWorker$2.call(EventLoopsScheduler.java:189)
        at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
        ... 7 more
Caused by: java.lang.ClassNotFoundException: 
com.netflix.hystrix.serial.SerialHystrixDashboardData not found by 
be.isabel.ribbon-all [34]
        at 
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1558)
        at 
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
        at 
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 22 more
{noformat}

This package is available in com.netflix.hystrix:hystrix-serialization. 
Would it be possible to wrap this bundle too?


> Hystrix-serialization bundle is missing
> ---------------------------------------
>
>                 Key: SM-3461
>                 URL: https://issues.apache.org/jira/browse/SM-3461
>             Project: ServiceMix
>          Issue Type: Task
>          Components: bundles
>            Reporter: Tom Van Wemmel
>
> I have the following dependencies:
> {code:xml}
> <dependency>
>       <groupId>org.apache.servicemix.bundles</groupId>
>       <artifactId>org.apache.servicemix.bundles.hystrix</artifactId>
>       <version>1.5.12_1</version>
> </dependency>
> <dependency>
>       <groupId>org.apache.servicemix.bundles</groupId>
>       
> <artifactId>org.apache.servicemix.bundles.hystrix-event-stream</artifactId>
>       <version>1.5.12_1</version>
> </dependency>
> {code}
> When I try to use the HystrixMetricsStreamServlet an exception is thrown 
> which indicates the class 
> _com.netflix.hystrix.serial.SerialHystrixDashboardData_ is missing (in fact 
> the entire package is missing). 
> {noformat}
> Exception in thread "RxComputationScheduler-2" 
> java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker 
> thread.
>       at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:59)
>       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:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoClassDefFoundError: 
> com/netflix/hystrix/serial/SerialHystrixDashboardData
>       at 
> com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet$1.call(HystrixMetricsStreamServlet.java:66)
>       at 
> com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet$1.call(HystrixMetricsStreamServlet.java:63)
>       at 
> rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.drain(OnSubscribeConcatMap.java:259)
>       at 
> rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.onNext(OnSubscribeConcatMap.java:144)
>       at 
> rx.internal.operators.OperatorOnBackpressureDrop$2.onNext(OperatorOnBackpressureDrop.java:98)
>       at 
> rx.internal.operators.OnSubscribeRefCount$2.onNext(OnSubscribeRefCount.java:120)
>       at 
> rx.internal.operators.OperatorPublish$PublishSubscriber.dispatch(OperatorPublish.java:588)
>       at 
> rx.internal.operators.OperatorPublish$PublishSubscriber.onNext(OperatorPublish.java:286)
>       at rx.observers.Subscribers$5.onNext(Subscribers.java:235)
>       at rx.observers.Subscribers$5.onNext(Subscribers.java:235)
>       at 
> rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:77)
>       at 
> rx.internal.operators.OnSubscribeTimerPeriodically$1.call(OnSubscribeTimerPeriodically.java:52)
>       at rx.Scheduler$Worker$1.call(Scheduler.java:137)
>       at 
> rx.internal.schedulers.EventLoopsScheduler$EventLoopWorker$2.call(EventLoopsScheduler.java:189)
>       at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
>       ... 7 more
> Caused by: java.lang.ClassNotFoundException: 
> com.netflix.hystrix.serial.SerialHystrixDashboardData not found by com.bundle 
> [34]
>       at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1558)
>       at 
> org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
>       at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>       ... 22 more
> {noformat}
> This package is available in com.netflix.hystrix:hystrix-serialization. 
> Would it be possible to wrap this bundle too?



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

Reply via email to