SWARM not working with seedlink servers

266 views
Skip to first unread message

Mark H

unread,
Feb 24, 2016, 4:32:55 PM2/24/16
to Earthworm Community Forum
I hope this is an acceptable forum for my question.  It was the only place I could find SWARM-related discussion.

I installed SWARM so I could display heliplots from my amateur seismometer which is feeding data into a ringserver instance configured as a seedlink server.  Unexpectedly, I have found that I cannot get a live heliplot from any seedlink server---not just my own, but e.g. IRIS at rtserve.washington.edu.

With the latest SWARM and Java (version 2.5.5 and version 8 update 74 [build 1.8.0_74-b02], respectively) I cannot even open the IRIS station list.  While the display says "opening..." I see the following at the console:

2016-02-24 01:12:12  INFO - Swarm version/date: Version: 2.5.5 Built: 2016-02-08T23:38:18Z
2016-02-24 01:12:12  INFO - current directory: C:\temp\swarm-2.5.5-bin\swarm-2.5.5
2016-02-24 01:12:12  INFO - user.home: C:\Users\mhaun
2016-02-24 01:12:12  INFO - Using configuration file: Swarm.config
2016-02-24 01:12:12  INFO - java.version: 1.8.0_74
2016-02-24 01:12:12  INFO - maximum heap size: 844.500 MB
2016-02-24 13:14:18: (FINE) SeedLink: SLClient v1.2.1X00 (29Jan2013)
Copyright ⌐ 2013 Anthony Lomax (www.alomax.net)
SLClient comes with ABSOLUTELY NO WARRANTY
Exception in thread "Thread-4" java.lang.NoClassDefFoundError: com/opensymphony/oscache/base/NeedsRefreshException
        at nl.knmi.orfeus.seedlink.SLPacket.getBlockette(SLPacket.java:182)
        at nl.knmi.orfeus.seedlink.client.SeedLinkConnection.appendInfoString(SeedLinkConnection.java:1343)
        at nl.knmi.orfeus.seedlink.client.SeedLinkConnection.collect(SeedLinkConnection.java:1190)
        at gov.usgs.volcanoes.swarm.data.seedLink.orfeus.BaseSLClient.oldrun(BaseSLClient.java:284)
        at gov.usgs.volcanoes.swarm.data.seedLink.orfeus.BaseSLClient.run(BaseSLClient.java:259)
        at gov.usgs.volcanoes.swarm.data.seedLink.SeedLinkClient.run(SeedLinkClient.java:542)
        at gov.usgs.volcanoes.swarm.data.seedLink.SeedLinkClient.runAndWait(SeedLinkClient.java:574)
        at gov.usgs.volcanoes.swarm.data.seedLink.SeedLinkClient.getInfoString(SeedLinkClient.java:253)
        at gov.usgs.volcanoes.swarm.data.seedLink.SeedLinkSource.getInfoString(SeedLinkSource.java:286)
        at gov.usgs.volcanoes.swarm.data.seedLink.SeedLinkSource.getChannels(SeedLinkSource.java:192)
        at gov.usgs.volcanoes.swarm.chooser.DataChooser.openSource(DataChooser.java:660)
        at gov.usgs.volcanoes.swarm.chooser.DataChooser.access$1700(DataChooser.java:101)
        at gov.usgs.volcanoes.swarm.chooser.DataChooser$DataSourceOpener.construct(DataChooser.java:708)
        at gov.usgs.volcanoes.swarm.SwingWorker$2.run(SwingWorker.java:108)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.opensymphony.oscache.base.NeedsRefreshException
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 15 more

With SWARM 2.4.3 I have been successful in opening the station list, but when I double-click a stream all I get is 30 seconds or one minute of data indicated in the window, then nothing but an endless spinner animation in the upper-right-hand corner.  Other combinations of SWARM and Java have been similarly unsuccessful.

SLClient often complains "could create wave."  I am uncertain whether to interpret this as a typo (does it actually mean could not?), a harmless warning unrelated to my problem, a fatal error, or ???

I have also tried SWARM on my Linux machine at home, with Debian's default "OpenJDK" Java, with similar results and error messages.

The "Augustine" demo works just fine.

Any ideas what the problem could be?  Is the seedlink support in SWARM just really brittle?

Thanks,

Mark

Kevin Frechette

unread,
Feb 24, 2016, 4:52:27 PM2/24/16
to earthwo...@googlegroups.com
Hi Mark,

I added SeedLink support to SWARM over 3 years ago but I have not done anything further with it recently.

The "java.lang.NoClassDefFoundError" exception seems to indicate the OpenSymphony library JAR file ("oscache-2.1-mod2.jar") cannot be found for some reason.

The "could create wave" warning indeed should be "could not create wave" and should not normally happen. I am guessing it is related to the other problems. What is the exception message for that warning?

Cheers,
Kevin
--
--
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.
 
To post to this group, send an email to earthwo...@googlegroups.com
 
To unsubscribe from this group, send an email to
earthworm_for...@googlegroups.com
 
For more options, visit this group at
http://groups.google.com/group/earthworm_forum?hl=en

---
You received this message because you are subscribed to the Google Groups "Earthworm Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to earthworm_for...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark H

unread,
Feb 24, 2016, 5:06:01 PM2/24/16
to Earthworm Community Forum, k.fre...@isti.com
Hi Kevin,

This might not be the only place, but I see "could create wave" when connecting to my own seedlink server in version 2.4.3:

2016-02-24 13:57:11: (INFO) gov.usgs.swarm.data.SeedLinkClient(2,Thread-7): kolonia.hau.nz:18000 -S AM_BRIER:01BHZ.D -t 2016,02,23,21,27,11
2016-02-24 13:57:11: (FINER) gulper started for BRIER$BHZ$AM$01
2016-02-24 13:57:13: (WARNING) gov.usgs.swarm.data.SeedLinkClient(2,Thread-7): packetHandler: could create wave
 ^------- Exception: java.lang.ArrayIndexOutOfBoundsException/51
  ^---- Stack Trace: cern.colt.matrix.impl.DenseDoubleMatrix2D.setQuick/null:???

  ^---- Stack Trace: gov.usgs.swarm.data.AbstractCachingDataSource.cacheWaveAsHelicorder/AbstractCachingDataSource.java:268
  ^---- Stack Trace: gov.usgs.swarm.data.seedLink.SeedLinkClient.cacheWave/SeedLinkClient.java:223
  ^---- Stack Trace: gov.usgs.swarm.data.seedLink.SeedLinkClient.packetHandler/SeedLinkClient.java:482
  ^---- Stack Trace: gov.usgs.swarm.data.seedLink.orfeus.BaseSLClient.oldrun/BaseSLClient.java:296
  ^---- Stack Trace: gov.usgs.swarm.data.seedLink.orfeus.BaseSLClient.run/BaseSLClient.java:259
  ^---- Stack Trace: gov.usgs.swarm.data.seedLink.SeedLinkClient.run/SeedLinkClient.java:537
  ^---- Stack Trace: java.lang.Thread.run/null:???

Maybe an issue with my data stream?  slinktool does not report any problems and I have a Python script called "seedlink_plotter" running with no problems.

Re: the missing OpenSymphony library, shouldn't that be installed automatically when you install the JRE?  The SWARM download page only says to "install Java".

Thanks,
Mark

Parker, Thomas

unread,
Feb 24, 2016, 5:27:41 PM2/24/16
to earthwo...@googlegroups.com
Thanks for reporting this Mark! I believe the problem is fixed in Swarm 2.5.6. Please give it a shot and report back.

http://volcanoes.usgs.gov/software/swarm/download.php


--Tom

*************************************
Tom Parker
U.S. Geological Survey
Alaska Volcano Observatory
4200 University Drive
Anchorage, AK 99508
907-786-7030 (phone)


Mark H

unread,
Feb 25, 2016, 11:12:56 AM2/25/16
to Earthworm Community Forum
Wow, that was quick!  Thanks Tom.  It's working on both Windows and Linux now.

I don't suppose there is any way to filter the helicorder view (as opposed to the wave view)?  I only have a broadband channel, so most teleseismic events are buried under microseism and can't be seen on the helicorder.

Mark
Reply all
Reply to author
Forward
0 new messages