Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.15.0
-
None
Description
Stopping the AggregatorApplication and then restarting this application gives me this error-mail that indicates that the application doesn't remove the
temporary Aggregator dir during shutdown:
Host: KB-TEST-WAY-001.KB.DK Date: Fri Feb 04 14:44:58 CET 2011 dk.netarkivet.common.utils.ApplicationUtils.logExceptionAndPrint(ApplicationUtils.java:88) Could not start class dk.netarkivet.wayback.aggregator.AggregationWorker java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at dk.netarkivet.common.utils.ApplicationUtils.startApp(ApplicationUtils.java:170) at dk.netarkivet.wayback.aggregator.AggregatorApplication.main(AggregatorApplication.java:39) Caused by: java.lang.IllegalStateException: An temporary Aggregator dir (/home/test/COLLECTIONQA/aggregator_tempdir) already exists. This indicates that an instance of the aggregator is already running. Please ensure this is not the case remove the temp directory and restart the Aggregator at dk.netarkivet.wayback.aggregator.AggregationWorker.initialize(AggregationWorker.java:319) at dk.netarkivet.wayback.aggregator.AggregationWorker.<init>(AggregationWorker.java:122) at dk.netarkivet.wayback.aggregator.AggregationWorker.getInstance(AggregationWorker.java:112) ... 6 more