I did not! I suspected that was necessary, but could no figure it out what would be the structure of that file. I even looked at another IPT test installation I manage, but as it is deployed as rpm package, could not find the equivalent. Can you help with a sample of whar datadir.location should look like? Thanks for the support. ------------------ Rui Figueira Coordenador do Nó Português do GBIF Professor Associado ruifigueira@isa.ulisboa.pt Instituto Superior de Agronomia Herbário Tapada da Ajuda, 1349-017 Lisboa, Portugal Tel. +351 213653165 | Fax. +351 213653195 http://www.gbif.pt http://www.isa.ulisboa.pt On 2026-03-30 21:52, Julien Cigar wrote:
Do you have a populated datadir.location file under WEB-INF directory?
On Monday, March 30th, 2026 at 18:16, Rui Figueira via IPT <ipt@lists.gbif.org> wrote:
Dear all,
I am having troubles in upgrading my IPT 3.1.7 installation to 3.2.3. I am on a Debian 12, with tomcat9 and openJDK 17.
I am upgrading in the old way of replacing by the war with the new version. However, ver 3.2.3 fails to deploy with the following error in catalina.out:
ERROR ContextLoader Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarkerConfig' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: No data dir has been configured yet at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) ...
Caused by: java.lang.IllegalStateException: No data dir has been configured yet at org.gbif.ipt.config.DataDir.dataFile(DataDir.java:173) at org.gbif.ipt.config.IPTModule.provideFreemarker(IPTModule.java:112) ...
I had no problems in upgrading from 3.1.6 to 3.1.7, namely in defining the data dir, but any attempt with 3.2 fails.
Can you help?
Best,
Rui
-- ------------------
Rui Figueira Coordenador do Nó Português do GBIF Professor Associado ruifigueira@isa.ulisboa.pt Instituto Superior de Agronomia Herbário Tapada da Ajuda, 1349-017 Lisboa, Portugal Tel. +351 213653165 | Fax. +351 213653195 http://www.gbif.pt http://www.isa.ulisboa.pt
_______________________________________________ IPT mailing list -- ipt@lists.gbif.org To unsubscribe send an email to ipt-leave@lists.gbif.org