Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel3

All of the changes described on this page are included inside the JHoNas version of JHove2.

Modifications to existing config files

...

Code Block
titlejhove2-framework-config.xml
borderStylesolid
	<!-- BnF (Bibliothéque nationale de France) agent bean -->
	<bean id="BnFAgent" class="org.jhove2.core.Agent" scope="singleton">
		<constructor-arg value="Bibliothèque nationale de France"
		                 type="java.lang.String"/>
		<constructor-arg value="Corporate"
		                 type="org.jhove2.core.Agent$Type"/>
		<property name="URI" value="http://www.bnf.fr/"/>
	</bean>

/config/spring/persist/jhove2-persist-config.xml

Must be set to BerkeleyDB persistence because of several bugs in the InMemory persistence.

You must also change the envHome property in the BerkeleyDbPersistenceManager bean. This path must be valid and readable!

Code Block
titlejhove2-persist-config.xml
borderStylesolid

	<bean id="BerkeleyDbPersistenceManager" class="org.jhove2.persist.berkeleydpl.BerkeleyDbPersistenceManager"
	     scope="singleton">
	     <!--property name="envHome" value="C:\"/-->
	     <property name="envHome" value="C:\Java\BerkeleyDb\"/>
	     <!--property name="envHome" value="/tmp/BerkeleyDb/"/-->
 	     <property name="entityStoreName" value="JHOVE2_Entity_Store"/>
 	     <property name="storeConfig" ref="StoreConfig"/>
	     <property name="envConfig" ref="EnvironmentConfig"/>
	</bean>

/config/droid/DROID_SignatureFile_V20.xml

...