<html><body>
<p><font size="2" face="sans-serif">Hi,</font><br>
<br>
<font size="2" face="sans-serif">I have two questions about DROID, the DROID and Preservation Toolkit Bazaar plugins.</font><br>
<br>
<font size="2" face="sans-serif">1) Has anyone been able to update the DROID plugin to work with DROID 6.1 ? DROID 4 is quite outdated (from 2009), but DROID 6.1 has changed the command line options and doesn't export anymore XML format directly.</font><br>
<br>
<font size="2" face="sans-serif">2) Although DROID 4 works on our test server (tables file and pronom are being updated), it fills our indexer.log with many error messages (probably due to the fact that we use it with JRE 1.8). Any thoughts why these errors occur and what can be done to eliminate them?</font><br>
<br>
<font size="2" face="sans-serif">Excerpts from indexer.log:</font><br>
<br>
<font size="2" face="sans-serif">With piping to /dev/null: </font><br>
<br>
<font size="1" face="sans-serif">log4j:ERROR Ignoring configuration file [log4j.properties].</font><br>
<font size="1" face="sans-serif">log4j:WARN No appenders could be found for logger (uk.gov.nationalarchives.droid.MessageDisplay).</font><br>
<font size="1" face="sans-serif">log4j:WARN Please initialize the log4j system properly.</font><br>
<font size="1" face="sans-serif">log4j:ERROR Could not read configuration file [log4j.properties].</font><br>
<font size="1" face="sans-serif">java.io.FileNotFoundException: log4j.properties (No such file or directory)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at java.io.FileInputStream.open0(Native Method)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at java.io.FileInputStream.open(FileInputStream.java:195)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:138)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:93)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:316)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:342)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at uk.gov.nationalarchives.droid.AnalysisController.&lt;init&gt;(Unknown Source)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at uk.gov.nationalarchives.droid.AnalysisController.main(Unknown Source)</font><br>
<br>
<br>
<font size="2" face="sans-serif">Without piping to /dev/null:</font><br>
<br>
<font size="1" face="sans-serif">Setting Signature File to: /usr/local/eprints/lib/bin/DROID/DROID_SignatureFile_V82.xml</font><br>
<font size="1" face="sans-serif">Signature file V82 has been checked</font><br>
<font size="1" face="sans-serif">WARNING: Unable to save configuration updates</font><br>
<font size="1" face="sans-serif">The XML file /tmp/JXj_CtwebA.xml was successfully loaded</font><br>
<font size="1" face="sans-serif">1 file was read in</font><br>
<br>
<br>
<font size="1" face="sans-serif">WARNING: The expected configuration file DROID_config.xml was not found.</font><br>
<font size="1" face="sans-serif">A new one will be created using the configuration defaults.</font><br>
<font size="1" face="sans-serif">WARNING: Unable to save configuration updates</font><br>
<font size="1" face="sans-serif">Signature file V82 has been checked</font><br>
<font size="1" face="sans-serif">==================================</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp;/usr/local/eprints/archives/zora/documents/disk0/00/01/38/54/01/Schmidlin_OperDent_2008.pdf</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Positive (Specific Format) specific hit for Acrobat PDF 1.6 - Portable Document Format &nbsp;[PUID: fmt/20] &nbsp;[MIME: application/pdf]</font><br>
<font size="1" face="sans-serif">log4j:ERROR Could not read configuration file [log4j.properties].</font><br>
<font size="1" face="sans-serif">java.io.FileNotFoundException: log4j.properties (No such file or directory)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at java.io.FileInputStream.open0(Native Method)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at java.io.FileInputStream.open(FileInputStream.java:195)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:138)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:93)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:316)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:342)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at uk.gov.nationalarchives.droid.AnalysisController.&lt;init&gt;(Unknown Source)</font><br>
<font size="1" face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at uk.gov.nationalarchives.droid.AnalysisController.main(Unknown Source)</font><br>
<font size="1" face="sans-serif">log4j:ERROR Ignoring configuration file [log4j.properties].</font><br>
<font size="1" face="sans-serif">WARNING: The expected configuration file DROID_config.xml was not found.</font><br>
<font size="1" face="sans-serif">A new one will be created using the configuration defaults.</font><br>
<font size="1" face="sans-serif">log4j:WARN No appenders could be found for logger (uk.gov.nationalarchives.droid.MessageDisplay).</font><br>
<font size="1" face="sans-serif">log4j:WARN Please initialize the log4j system properly.</font><br>
<font size="1" face="sans-serif">WARNING: Unable to save configuration updates</font><br>
<font size="1" face="sans-serif">WARNING: The file DROID_SignatureFile.xml does not exist</font><br>
<font size="1" face="sans-serif">WARNING: The expected configuration file DROID_config.xml was not found.</font><br>
<font size="1" face="sans-serif">A new one will be created using the configuration defaults.</font><br>
<font size="1" face="sans-serif">WARNING: Unable to save configuration updates</font><br>
<font size="1" face="sans-serif">WARNING: The expected configuration file DROID_config.xml was not found.</font><br>
<font size="1" face="sans-serif">A new one will be created using the configuration defaults.</font><br>
<font size="1" face="sans-serif">WARNING: Unable to save configuration updates</font><br>
<font size="1" face="sans-serif">WARNING: The file DROID_SignatureFile.xml does not exist</font><br>
<font size="1" face="sans-serif">Could not set Jasper Reports temporary directory to :tempDir</font><br>
<font size="1" face="sans-serif">Either it is not a valid directory or the directory is not writable</font><br>
<br>
<br>
<font size="2" face="sans-serif">All directories and files were set to writable for user apache, the files </font><font size="2" face="sans-serif">&nbsp;DROID_config.xml</font><font size="2" face="sans-serif">, </font><font size="2" face="sans-serif">log4j.properties</font><font size="2" face="sans-serif">&nbsp;and </font><font size="2" face="sans-serif">DROID_SignatureFile.xml</font><font size="2" face="sans-serif">&nbsp;are at their place where they should be (lib/bin/DROID/ ), and I have also fiddled &nbsp;with Java CLASSPATH either in cfg.d/droid.pl &nbsp;or directly before the exec(&quot;droid&quot;) statement in </font><font size="2" face="sans-serif">lib/plugins/EPrints/Plugin/Event</font><font size="2" face="sans-serif">/</font><font size="2" face="sans-serif">DroidScan.pm</font><font size="2" face="sans-serif">&nbsp;</font><font size="2" face="sans-serif">by setting the Perl $ENV{'CLASSPATH'} &nbsp;hash.</font><br>
<br>
<br>
<font size="2" face="sans-serif">Best regards,</font><br>
<br>
<font size="2" face="sans-serif">Martin</font><br>
<br>
<font size="2" face="sans-serif">--</font><br>
<font size="2" face="sans-serif">Dr. Martin Brändle</font><br>
<font size="2" face="sans-serif">Zentrale Informatik</font><br>
<font size="2" face="sans-serif">Universität Zürich</font><br>
<font size="2" face="sans-serif">Stampfenbachstr. 73</font><br>
<font size="2" face="sans-serif">CH-8006 Zürich</font><br>
</body></html>