[GeoNetwork-users] File download management

Hi all,

I'm using GN 3.10.4.
I set 'file for download' on the metadata online resources, and I set 'true' on the setting 'Use GeoNetwork disclaimer and constraints service (file.disclaimer)'.
However, I don't get the neither the disclaimer nor the form to be filled (as it was in the GN2.10 versions) in order to trace who is downloading the files, where I'm wrong?
Are there any documentations/example on how to set download functionality?

Regards,
Eugenio

Hi Eugenio

If I'm not mistaken, the code was preserved as some developers were
interested in updating it to work on version 3.X, but this update never
happened.

Regards,
Jose García

On Wed, Sep 1, 2021 at 6:28 PM Eugenio Trumpy via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net> wrote:

Hi all,

I'm using GN 3.10.4.
I set 'file for download' on the metadata online resources, and I set
'true' on the setting 'Use GeoNetwork disclaimer and constraints service
(file.disclaimer)'.
However, I don't get the neither the disclaimer nor the form to be filled
(as it was in the GN2.10 versions) in order to trace who is downloading the
files, where I'm wrong?
Are there any documentations/example on how to set download functionality?

Regards,
Eugenio

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*

Dear Josè,

thank you for your feedback.
However, I tried to set the metadata as I had in the GN version 2.10.x (where the file download worked),
without any results. I mean, after to have set 'Download service' in the GN 3.10.x with 'Use GN simple file download service (resources.get)' as 'true' I did not get the desclaimer window. Where am I wrong?

Any hint or help are more than welcome.

Regards,
Eugenio
________________________________
Da: Jose Garcia <jose.garcia@anonymised.com>
Inviato: giovedì 2 settembre 2021 08:22
A: Eugenio Trumpy <frippe12573@anonymised.com>
Cc: Lista Geonetwork <geonetwork-users@lists.sourceforge.net>
Oggetto: Re: [GeoNetwork-users] File download management

Hi Eugenio

If I'm not mistaken, the code was preserved as some developers were interested in updating it to work on version 3.X, but this update never happened.

Regards,
Jose García

On Wed, Sep 1, 2021 at 6:28 PM Eugenio Trumpy via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@anonymised.comet>> wrote:
Hi all,

I'm using GN 3.10.4.
I set 'file for download' on the metadata online resources, and I set 'true' on the setting 'Use GeoNetwork disclaimer and constraints service (file.disclaimer)'.
However, I don't get the neither the disclaimer nor the form to be filled (as it was in the GN2.10 versions) in order to trace who is downloading the files, where I'm wrong?
Are there any documentations/example on how to set download functionality?

Regards,
Eugenio

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@anonymised.comforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
Vriendelijke groeten / Kind regards,

Jose García

[https://www.geocat.net/wp-content/uploads/2015/07/GeoCat_small1.png\]<http://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>

Please consider the environment before printing this email.

Hi Eugenio

Apologies as it seems I was not clear in my previous email. The disclaimer
functionality doesn't work in GeoNetwork 3/4 versions. Only works in
GeoNetwork 2 versions.

The code is kept in the repository, as there was some interest in upgrading
it to work in GeoNetwork 3/4 versions some years ago, but this never
happened.

I think the confusion is due to some settings related to that
functionality that are still available in GeoNetwork 3? If that's the case,
I understand that it is confusing as that functionality doesn't currently
work in GeoNetwork 3/4 versions. Please open an issue in GitHub to report
the issue to remove these non-used settings.

Regards,
Jose García

On Fri, Sep 10, 2021 at 3:19 PM Eugenio Trumpy <frippe12573@anonymised.com>
wrote:

Dear Josè,

thank you for your feedback.
However, I tried to set the metadata as I had in the GN version 2.10.x
(where the file download worked),
without any results. I mean, after to have set 'Download service' in the
GN 3.10.x with 'Use GN simple file download service (resources.get)' as
'true' I did not get the desclaimer window. Where am I wrong?

Any hint or help are more than welcome.

Regards,
Eugenio
------------------------------
*Da:* Jose Garcia <jose.garcia@anonymised.com>
*Inviato:* giovedì 2 settembre 2021 08:22
*A:* Eugenio Trumpy <frippe12573@anonymised.com>
*Cc:* Lista Geonetwork <geonetwork-users@lists.sourceforge.net>
*Oggetto:* Re: [GeoNetwork-users] File download management

Hi Eugenio

If I'm not mistaken, the code was preserved as some developers were
interested in updating it to work on version 3.X, but this update never
happened.

Regards,
Jose García

On Wed, Sep 1, 2021 at 6:28 PM Eugenio Trumpy via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net> wrote:

Hi all,

I'm using GN 3.10.4.
I set 'file for download' on the metadata online resources, and I set
'true' on the setting 'Use GeoNetwork disclaimer and constraints service
(file.disclaimer)'.
However, I don't get the neither the disclaimer nor the form to be filled
(as it was in the GN2.10 versions) in order to trace who is downloading the
files, where I'm wrong?
Are there any documentations/example on how to set download functionality?

Regards,
Eugenio

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

* Vriendelijke groeten / Kind regards, Jose García
<http://www.geocat.net/&gt; Veenderweg 13 6721 WD Bennekom The Netherlands
T: +31 (0)318 416664 <+31318416664> Please consider the environment before
printing this email. *

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*

Hi Josè,

thank you for your quick answer.
I understand that for the GN version 3.X is not possible to set any kind of download procedure,
at least a developer use the code still available in the repository.
However, the answer is yes, there is a specific part (see the screenshot here appended) in the GN 3.X setting where to set different way to download files (mainly for 'file for download').
I can open a ticket.
Do you have any idea or hint & tip to help me to organize something for the download the resources through GN?
I would like that users using the 'online resources' links first confirm and accept a disclaimer as well as leave some information
about them and the use of the data they are downloading/use (by OGC services).

Thanks in advance,
cheers,

Eugenio

________________________________
Da: Jose Garcia <jose.garcia@anonymised.com>
Inviato: venerdì 10 settembre 2021 15:33
A: Eugenio Trumpy <frippe12573@anonymised.com>
Cc: Lista Geonetwork <geonetwork-users@lists.sourceforge.net>
Oggetto: Re: [GeoNetwork-users] File download management

Hi Eugenio

Apologies as it seems I was not clear in my previous email. The disclaimer functionality doesn't work in GeoNetwork 3/4 versions. Only works in GeoNetwork 2 versions.

The code is kept in the repository, as there was some interest in upgrading it to work in GeoNetwork 3/4 versions some years ago, but this never happened.

I think the confusion is due to some settings related to that functionality that are still available in GeoNetwork 3? If that's the case, I understand that it is confusing as that functionality doesn't currently work in GeoNetwork 3/4 versions. Please open an issue in GitHub to report the issue to remove these non-used settings.

Regards,
Jose García

On Fri, Sep 10, 2021 at 3:19 PM Eugenio Trumpy <frippe12573@anonymised.com<mailto:frippe12573@anonymised.com>> wrote:
Dear Josè,

thank you for your feedback.
However, I tried to set the metadata as I had in the GN version 2.10.x (where the file download worked),
without any results. I mean, after to have set 'Download service' in the GN 3.10.x with 'Use GN simple file download service (resources.get)' as 'true' I did not get the desclaimer window. Where am I wrong?

Any hint or help are more than welcome.

Regards,
Eugenio
________________________________
Da: Jose Garcia <jose.garcia@anonymised.com<mailto:jose.garcia@anonymised.com>>
Inviato: giovedì 2 settembre 2021 08:22
A: Eugenio Trumpy <frippe12573@anonymised.com<mailto:frippe12573@anonymised.com>>
Cc: Lista Geonetwork <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Oggetto: Re: [GeoNetwork-users] File download management

Hi Eugenio

If I'm not mistaken, the code was preserved as some developers were interested in updating it to work on version 3.X, but this update never happened.

Regards,
Jose García

On Wed, Sep 1, 2021 at 6:28 PM Eugenio Trumpy via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@anonymised.comet>> wrote:
Hi all,

I'm using GN 3.10.4.
I set 'file for download' on the metadata online resources, and I set 'true' on the setting 'Use GeoNetwork disclaimer and constraints service (file.disclaimer)'.
However, I don't get the neither the disclaimer nor the form to be filled (as it was in the GN2.10 versions) in order to trace who is downloading the files, where I'm wrong?
Are there any documentations/example on how to set download functionality?

Regards,
Eugenio

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@anonymised.comforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
Vriendelijke groeten / Kind regards,

Jose García

[https://www.geocat.net/wp-content/uploads/2015/07/GeoCat_small1.png\]<http://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>

Please consider the environment before printing this email.

--
Vriendelijke groeten / Kind regards,

Jose García

[https://www.geocat.net/wp-content/uploads/2015/07/GeoCat_small1.png\]<http://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>

Please consider the environment before printing this email.

(attachments)

Schermata 2021-09-10 alle 15.44.29.png

Hi Eugenio

I'm not very familiar with that code, but I guess requires:

- Migrate the UI to display the disclaimer to Angularjs.
- Review / update the backend code to manage the disclaimer. This will
probably require migrating the old MVC services to Spring MVC and updating
the code to use the domain model, etc. from the latest GeoNetwork.

If you're going to create a ticket, it would be good to add some
screenshots of the 2.10 version, to show how this feature worked, or point
to the 2.10 manual, in case this feature was documented.

Regards,
Jose García

On Fri, Sep 10, 2021 at 3:44 PM Eugenio Trumpy <frippe12573@anonymised.com>
wrote:

Hi Josè,

thank you for your quick answer.
I understand that for the GN version 3.X is not possible to set any kind
of download procedure,
at least a developer use the code still available in the repository.
However, the answer is yes, there is a specific part (see the screenshot
here appended) in the GN 3.X setting where to set different way to download
files (mainly for 'file for download').
I can open a ticket.
Do you have any idea or hint & tip to help me to organize something for
the download the resources through GN?
I would like that users using the 'online resources' links first confirm
and accept a disclaimer as well as leave some information
about them and the use of the data they are downloading/use (by OGC
services).

Thanks in advance,
cheers,

Eugenio

------------------------------
*Da:* Jose Garcia <jose.garcia@anonymised.com>
*Inviato:* venerdì 10 settembre 2021 15:33
*A:* Eugenio Trumpy <frippe12573@anonymised.com>
*Cc:* Lista Geonetwork <geonetwork-users@lists.sourceforge.net>
*Oggetto:* Re: [GeoNetwork-users] File download management

Hi Eugenio

Apologies as it seems I was not clear in my previous email. The disclaimer
functionality doesn't work in GeoNetwork 3/4 versions. Only works in
GeoNetwork 2 versions.

The code is kept in the repository, as there was some interest in
upgrading it to work in GeoNetwork 3/4 versions some years ago, but this
never happened.

I think the confusion is due to some settings related to that
functionality that are still available in GeoNetwork 3? If that's the case,
I understand that it is confusing as that functionality doesn't currently
work in GeoNetwork 3/4 versions. Please open an issue in GitHub to report
the issue to remove these non-used settings.

Regards,
Jose García

On Fri, Sep 10, 2021 at 3:19 PM Eugenio Trumpy <frippe12573@anonymised.com>
wrote:

Dear Josè,

thank you for your feedback.
However, I tried to set the metadata as I had in the GN version 2.10.x
(where the file download worked),
without any results. I mean, after to have set 'Download service' in the
GN 3.10.x with 'Use GN simple file download service (resources.get)' as
'true' I did not get the desclaimer window. Where am I wrong?

Any hint or help are more than welcome.

Regards,
Eugenio
------------------------------
*Da:* Jose Garcia <jose.garcia@anonymised.com>
*Inviato:* giovedì 2 settembre 2021 08:22
*A:* Eugenio Trumpy <frippe12573@anonymised.com>
*Cc:* Lista Geonetwork <geonetwork-users@lists.sourceforge.net>
*Oggetto:* Re: [GeoNetwork-users] File download management

Hi Eugenio

If I'm not mistaken, the code was preserved as some developers were
interested in updating it to work on version 3.X, but this update never
happened.

Regards,
Jose García

On Wed, Sep 1, 2021 at 6:28 PM Eugenio Trumpy via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net> wrote:

Hi all,

I'm using GN 3.10.4.
I set 'file for download' on the metadata online resources, and I set
'true' on the setting 'Use GeoNetwork disclaimer and constraints service
(file.disclaimer)'.
However, I don't get the neither the disclaimer nor the form to be filled
(as it was in the GN2.10 versions) in order to trace who is downloading the
files, where I'm wrong?
Are there any documentations/example on how to set download functionality?

Regards,
Eugenio

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

* Vriendelijke groeten / Kind regards, Jose García
<http://www.geocat.net/&gt; Veenderweg 13 6721 WD Bennekom The Netherlands
T: +31 (0)318 416664 <+31318416664> Please consider the environment before
printing this email. *

--

* Vriendelijke groeten / Kind regards, Jose García
<http://www.geocat.net/&gt; Veenderweg 13 6721 WD Bennekom The Netherlands
T: +31 (0)318 416664 <+31318416664> Please consider the environment before
printing this email. *

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*

Hello,

I am again struggling with a problem when uploading large files. When uploading 50 GB file on a geonetwork system running tomcat 8 and behind nginx server, I get an error message after about 40 min: JpaSystemException: rollback failed. During the upload I can see on the system that the upload is first cached in nginx and then in tomcat cache folder. The subsequent abort of the upload is apparently caused by Geonetwork App.

Could it be that either in Geonetwork configuration or PostgreSQL DB configuration some parameter is causing transaction to timeout and abort?

Viktor

Here is the full excerpt from catalina.out:

2021-09-21 11:17:37,486 ERROR [org.springframework.orm.jpa.JpaTransactionManager] - Commit exception overridden by rollback exception
org.springframework.orm.jpa.JpaSystemException: rollback failed; nested exception is org.hibernate.TransactionException: rollback failed
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:333)
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:241)
at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:530)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730)
at jeeves.transaction.TransactionManager.doCommit(TransactionManager.java:120)
at jeeves.transaction.TransactionManager.runInTransaction(TransactionManager.java:87)
at jeeves.config.springutil.JeevesDispatcherServlet.doDispatch(JeevesDispatcherServlet.java:49)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.web.CORSResponseFilter.doFilter(CORSResponseFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.web.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.geonetwork.http.SessionTimeoutCookieFilter.doFilter(SessionTimeoutCookieFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at jeeves.config.springutil.PassthroughFilter.doFilter(PassthroughFilter.java:50)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:105)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.hibernate.TransactionException: rollback failed
at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.rollback(AbstractTransactionImpl.java:217)
at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:73)
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:517)
... 90 more
Caused by: org.hibernate.TransactionException: unable to rollback against JDBC connection
at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doRollback(JdbcTransaction.java:167)
at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.rollback(AbstractTransactionImpl.java:211)
... 92 more
Caused by: java.sql.SQLException: Connection PoolingConnection: null is closed.
at org.apache.commons.dbcp2.DelegatingConnection.checkOpen(DelegatingConnection.java:594)
at org.apache.commons.dbcp2.DelegatingConnection.rollback(DelegatingConnection.java:471)
at org.apache.commons.dbcp2.DelegatingConnection.rollback(DelegatingConnection.java:473)
at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doRollback(JdbcTransaction.java:163)
... 93 more
2021-09-21 11:17:37,488 ERROR [jeeves] - ERROR committing transaction, will try to rollback
org.springframework.transaction.TransactionSystemException: Could not roll back JPA transaction; nested exception is javax.persistence.PersistenceException: unexpected error when rollbacking
at org.springframework.orm.jpa.JpaTransactionManager.doRollback(JpaTransactionManager.java:548)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.doRollbackOnCommitException(AbstractPlatformTransactionManager.java:900)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:789)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730)
at jeeves.transaction.TransactionManager.doCommit(TransactionManager.java:120)
at jeeves.transaction.TransactionManager.runInTransaction(TransactionManager.java:87)
at jeeves.config.springutil.JeevesDispatcherServlet.doDispatch(JeevesDispatcherServlet.java:49)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.web.CORSResponseFilter.doFilter(CORSResponseFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.web.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.geonetwork.http.SessionTimeoutCookieFilter.doFilter(SessionTimeoutCookieFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at jeeves.config.springutil.PassthroughFilter.doFilter(PassthroughFilter.java:50)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:105)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.persistence.PersistenceException: unexpected error when rollbacking
at org.hibernate.jpa.internal.TransactionImpl.rollback(TransactionImpl.java:111)
at org.springframework.orm.jpa.JpaTransactionManager.doRollback(JpaTransactionManager.java:544)
... 91 more
Caused by: org.hibernate.TransactionException: rollback failed
at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.rollback(AbstractTransactionImpl.java:217)
at org.hibernate.jpa.internal.TransactionImpl.rollback(TransactionImpl.java:108)
... 92 more
Caused by: java.lang.NullPointerException
at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doRollback(JdbcTransaction.java:163)
at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.rollback(AbstractTransactionImpl.java:211)
... 93 more