[Netarchivesuite-users] About WaybackIndexerApplication

Colin Samuel Rosenthal csr at kb.dk
Mon Oct 4 12:53:06 CEST 2021


Hi Miguel,


As the WaybackIndexer is part of NetarchiveSuite this is definitely the right place.


If you want to use the WaybackIndexerApplication it absolutely should work with postgres, but it sounds like you are missing the jarfile for the postgres driver from the classpath you use to start the application. It's included in NetarchiveSuite (lib/postgresql-42.2.10.jar) so just make sure you add it to the classpath when you start the application - or download a newer version to match your postgres installation if needed.


If you use <hbm2ddlAuto>update</hbm2ddlAuto> in the settings then the schema will be created for you automatically.


regards,

Colin


--
Colin Rosenthal PhD
Senior IT Consultant
Royal Danish Library (Aarhus)


________________________________
From: NetarchiveSuite-users <netarchivesuite-users-bounces at ml.sbforge.org> on behalf of Soleto Ruiz de Clavijo, Miguel <miguel.soleto at externos.bne.es>
Sent: Monday, October 4, 2021 10:58 AM
To: 'netarchivesuite-users at ml.sbforge.org'
Cc: García Arratia, Juan Carlos; Monzón, Fernando
Subject: [Netarchivesuite-users] About WaybackIndexerApplication


Hi everyone,

It’s Miguel, from BNE. I am migrating all our NAS infrastructure to the newest versions in the PRE environment and I have some questions about the WaybackIndexerApplication. I’m not sure if this e-mail list is for OpenWayback or there is another mail list for that issues. In that case, sorry for this.



Our actual installation doesn’t use the WaybackIndexerApplication. Instead, We use a Shell script with the cdx-indexer utility to create the OpenWayback indexes. Reading the documentation, I found the WaybackIndexerApplication, but the configuration files are made for work on a derby data base, and We have a Postgres DB instead. I tried to change some parameters, like the Driver, but It doesn’t work (got this: ERROR dk.netarkivet.wayback.indexer.HibernateUtil - Could not connect to hibernate object store - exiting org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:89)).



Is there any documentation about this tool to make it work in Postgres? Also, Is there any DDL script to create the wayback_indexer_db?



Thank you for your help.



Best regards,

Miguel.

________________________________
Este mensaje y cualquier fichero adjunto están dirigidos únicamente a sus destinatarios y contiene información confidencial. Si usted ha recibido este correo electrónico por error, le informamos que no puede realizar ninguna revisión, alteración, impresión, copia, transmisión, difusión ni utilización alguna de este mensaje ni de cualquier fichero adjunto que pudiese contener. La realización de cualquiera de los actos indicados está expresamente prohibida por las Normas que regulan estas materias. Por todo ello se solicita que, en caso de existir error en la recepción de este mensaje, se lo notifique al remitente respondiendo a este e-mail y elimine el mensaje y su contenido inmediatamente. La Biblioteca Nacional de España se reserva las acciones legales que le correspondan en el caso de que se infrinja lo indicado anteriormente.
________________________________
The information in this e-mail and any attachments is confidential and it is intended for the addressee only. If you have received this e-mail in error, you are notified that any revision, amendment, print, copy, disclosure, distribution or use of the contents is unauthorized. Carrying out any of the above actions, is expressly banned by rules governing this matter. Hence we request that if you are not the intended recipient, please notify the sender answering this e-mail, and delete the message and any attachments. The National Library of Spain reserves itself the right to take the appropriate legal actions in the event of the above mentioned matter is being infringed.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ml.sbforge.org/pipermail/netarchivesuite-users/attachments/20211004/8cf1b323/attachment.html>


More information about the NetarchiveSuite-users mailing list