uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lou DeGenaro <lou.degen...@gmail.com>
Subject Re: Service with Pinger "NoClassDefFoundError"
Date Thu, 17 Jan 2019 10:33:06 GMT
Yes!  What ever classes/jars you need to run your pinger should be included
in the service_ping_classpath.

Lou.

On Wed, Jan 16, 2019 at 12:13 PM Florian <f.allgoewer@web.de> wrote:

> Hello,
>
> thank you for your previous answer regarding the pinger, which I could
> resolve.
>
> I have another question regarding referencing classes for the pinger.
> As in the documention stated I can include these via the "classpath"
> argument, when registering the service.
> Should I consider additional references? Because momentarily I have a
> customized Pinger, which gives me a NoClassDefFoundError.
>
> java.lang.NoClassDefFoundError:
> org/apache/activemq/broker/jmx/QueueViewMBean
>  at
> org.apache.uima.ducc.sm
> .UimaAsServiceMonitor.init(UimaAsServiceMonitor.java:166)
>  at
> org.apache.uima.ducc.sm
> .UimaAsServiceMonitor.collect(UimaAsServiceMonitor.java:292)
>  at
>
> org.hucompute.textimager.ducc.pinger.TextImagerPinger.getStatistics(TextImagerPinger.java:71)
>  at
>
> org.hucompute.textimager.ducc.pinger.TextImagerPinger.getStatistics(TextImagerPinger.java:1)
>  at
> org.apache.uima.ducc.sm.ServicePingMain.start(ServicePingMain.java:410)
>  at
> org.apache.uima.ducc.sm.ServicePingMain.main(ServicePingMain.java:451)
>
> The QueueViewMBean is referenced in the Pinger jar, which i included
> with "service_ping_classpath". Additional QueueViewMBean is also
> reference in the "classpath" argument. Shouldn't that be sufficient?
>
> Thanks in advance!
>
> Best regards
>
> Florian
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message