Skip to main content

Long Task Detector warning

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
dmallen
Offline
Joined: 2011-01-18

Anybody have any idea what this means, or how to fix it? This is happening under JXSE 2.6.

Jan 20, 2011 10:48:16 AM net.jxta.impl.util.threads.LongTaskDetector run
WARNING: task of type [net.jxta.impl.rendezvous.edge.EdgePeerRdvService$MonitorTask] still running after 1,000ms in thread JxtaScheduledWorker-2, current stack:
net.jxta.impl.cm.XIndiceAdvertisementCache.search(XIndiceAdvertisementCache.java:1061)
net.jxta.impl.cm.CacheManager.search(CacheManager.java:283)
net.jxta.impl.discovery.DiscoveryServiceImpl.rawSearch(DiscoveryServiceImpl.java:1207)
net.jxta.impl.discovery.DiscoveryServiceImpl.search(DiscoveryServiceImpl.java:1237)
net.jxta.impl.discovery.DiscoveryServiceImpl.getLocalAdvertisements(DiscoveryServiceImpl.java:414)
net.jxta.impl.util.RdvAdvSeedingManager.refreshActiveSeeds(RdvAdvSeedingManager.java:139)
net.jxta.impl.util.RdvAdvSeedingManager.getActiveSeedRoutes(RdvAdvSeedingManager.java:219)
net.jxta.impl.util.URISeedingManager.getActiveSeedRoutes(URISeedingManager.java:289)
net.jxta.impl.endpoint.relay.RelayReferralSeedingManager.getActiveSeedRoutes(RelayReferralSeedingManager.java:146)
net.jxta.impl.rendezvous.edge.EdgePeerRdvService$MonitorTask.execute(EdgePeerRdvService.java:816)
net.jxta.impl.util.threads.SelfCancellingTask.run(SelfCancellingTask.java:27)
net.jxta.impl.util.threads.RunnableAsCallableWrapper.call(RunnableAsCallableWrapper.java:17)
net.jxta.impl.util.threads.RunMetricsWrapper.call(RunMetricsWrapper.java:50)
net.jxta.impl.util.threads.RunMetricsWrapper.run(RunMetricsWrapper.java:93)
java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
java.util.concurrent.FutureTask.runAndReset(Unknown Source)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Jan 20, 2011 10:48:16 AM net.jxta.impl.util.threads.RunMetricsWrapper call
WARNING: task of type [net.jxta.impl.rendezvous.edge.EdgePeerRdvService$MonitorTask] took 1,187ms to complete in the shared executor

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
adamman71
Offline
Joined: 2007-01-31

It is only logging information implemented in 2.6 to find out about performance issues. No need to fix.
Jérôme