Example exception from log:
Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1009) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:801) at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622)
Several modules are no longer enabled by default in Java 9 and Java 10, and need to be re-enabled with an argument to the JRE. A patch is in-progress, and you can take the following steps with existing versions.
Steps to fix:
init.sh
or run.bat
java command
to include --add-modules java.se.ee
Example exception from log:
WARNING thread=13 [receiver_pdl] exception during receiver cleanup java.sql.SQLException: database locked at org.sqlite.DB.execute(DB.java:270) at org.sqlite.DB.executeUpdate(DB.java:281) at org.sqlite.PrepStmt.executeUpdate(PrepStmt.java:77) at gov.usgs.earthquake.distribution.JDBCNotificationIndex.removeNotification(JDBCNotificationIndex.java:513) at gov.usgs.earthquake.distribution.DefaultNotificationReceiver.removeExpiredNotifications(DefaultNotificationReceiver.java:301) at gov.usgs.earthquake.distribution.DefaultNotificationReceiver$2.run(DefaultNotificationReceiver.java:577) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
Steps to fix:
data/receiver_index.db
. Usually there will also be
a file with the suffix -journal
. DO NOT
DELETE THE JOURNAL.sqlite3
data/receiver_index.db
, as the user who owns the file. SQLite will
automatically apply the journaled updates and unlock the database..quit<ENTER>
.data/receiver_pdl_tracking.dat
.
This is because EIDS has already delivered notifications for products
that were still queued. This will force EIDS to reprocess these
notifications so any missed products are processed.Example log message:
FINE thread=1762 [client_receiver] listener (indexer) has 1341 queued notifications
NOTE: Have you recently restarted the client for the first time, after an outage, or after clearing the EIDS tracking file? Sometimes it is normal for notifications to queue, although you should also see evidence that they are being processed.
Steps to fix:
data/receiver_pdl_tracking.dat
.
This is because EIDS has already delivered notifications for products
that were still queued. This will force EIDS to reprocess these
notifications so any missed products are processed.Example exception from log:
java.io.FileNotFoundException: data/htdocs/us_general-link_nc71810601-0_1341367815000.xml (Too many open files) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at gov.usgs.util.StreamUtils.getInputStream(StreamUtils.java:60) at gov.usgs.earthquake.distribution.URLProductStorage.getProductSourceFormat(URLProductStorage.java:139) at gov.usgs.earthquake.distribution.FileProductStorage.getProductSource(FileProductStorage.java:470) at gov.usgs.earthquake.distribution.FileProductStorage.hasProduct(FileProductStorage.java:506) at gov.usgs.earthquake.distribution.EIDSNotificationSender.onBeforeProcessNotification(EIDSNotificationSender.java:79) ... or Exception: data/htdocs/us_general-link_nc71810601-0_1341367815000.xml (Too many open files) source=us, type=general-link, code=nc71810601-0, updateTime=Wed Jul 04 02:10:15 UTC 2012 at org.sqlite.DB.execute(DB.java:270) at org.sqlite.DB.executeUpdate(DB.java:281) at org.sqlite.PrepStmt.executeUpdate(PrepStmt.java:77) at gov.usgs.earthquake.distribution.JDBCNotificationIndex.removeNotification(JDBCNotificationIndex.java:513) at gov.usgs.earthquake.distribution.DefaultNotificationReceiver.removeExpiredNotifications(DefaultNotificationReceiver.java:301) at gov.usgs.earthquake.distribution.DefaultNotificationReceiver$2.run(DefaultNotificationReceiver.java:577) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
Steps to fix:
Example exception from log:
INFO thread=16 Exception executing task java.io.FileNotFoundException: data/indexer_storage/origin/ci10204610/ci/1415644284160/quakeml.xml (No space left on device) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:212) at gov.usgs.util.StreamUtils.getOutputStream(StreamUtils.java:163) at gov.usgs.util.StreamUtils.getOutputStream(StreamUtils.java:185) at gov.usgs.earthquake.product.FileContent. (FileContent.java:110) at gov.usgs.earthquake.product.io.DirectoryProductHandler.onContent(DirectoryProductHandler.java:54) at gov.usgs.earthquake.product.io.FilterProductHandler.onContent(FilterProductHandler.java:67) at gov.usgs.earthquake.product.io.ObjectProductSource.sendContents(ObjectProductSource.java:144) at gov.usgs.earthquake.product.io.ObjectProductSource.streamTo(ObjectProductSource.java:63) at gov.usgs.earthquake.distribution.FileProductStorage.storeProductSource(FileProductStorage.java:669) at gov.usgs.earthquake.distribution.FileProductStorage.storeProduct(FileProductStorage.java:651) at gov.usgs.earthquake.indexer.Indexer.onProduct(Indexer.java:489) at gov.usgs.earthquake.indexer.Indexer.onProduct(Indexer.java:461) at gov.usgs.earthquake.distribution.DefaultNotificationListener.onNotification(DefaultNotificationListener.java:115) at gov.usgs.earthquake.distribution.ExecutorListenerNotifier$1.call(ExecutorListenerNotifier.java:172) at gov.usgs.earthquake.distribution.ExecutorListenerNotifier$1.call(ExecutorListenerNotifier.java:169) at gov.usgs.util.ExecutorTask.run(ExecutorTask.java:181) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701)
Steps to fix: