Error loading messages.properties
Miguel Salinas Vivancos
msalinas at bcn.sia.es
Thu Sep 12 04:56:51 EDT 2019
Hi,
We are facing a problem with a particular SP (OracleCloud) and it seems that began after the upgrade to IDP 3.4.4
The idp-process.log show this:
ERROR [org.apache.velocity:96] - Exception in macro #springMessage called at error.vm[line 56, column 68]
2019-09-12 10:47:47,459 - ERROR [java.lang.RuntimeException:76] -
java.lang.RuntimeException: java.lang.IllegalStateException: Exception occurred rendering view org.springframework.web.servlet.view.velocity.VelocityView: name 'error'; URL [error.vm]
at net.shibboleth.idp.profile.impl.RethrowingFlowExecutionExceptionHandler.handle(RethrowingFlowExecutionExceptionHandler.java:40)
Caused by: java.lang.IllegalStateException: Exception occurred rendering view org.springframework.web.servlet.view.velocity.VelocityView: name 'error'; URL [error.vm]
at org.springframework.webflow.mvc.view.AbstractMvcView.render(AbstractMvcView.java:208)
Caused by: org.springframework.web.util.NestedServletException: Method invocation failed during rendering of Velocity view with name 'error': Invocation of method 'getMessage' in class org.springframework.web.servlet.support.RequestContext threw exception org.springframework.context.NoSuchMessageException: No message found under code 'idp.logo' for locale 'es'. at org/springframework/web/servlet/view/velocity/spring.vm[line 27, column 57]; reference [springMacroRequestContext], method 'getMessage'; nested exception is org.springframework.context.NoSuchMessageException: No message found under code 'idp.logo' for locale 'es'.
at org.springframework.web.servlet.view.velocity.VelocityView.mergeTemplate(VelocityView.java:526)
Caused by: org.springframework.context.NoSuchMessageException: No message found under code 'idp.logo' for locale 'es'.
at org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:159)
It seems a problem with the messages properties but today we have upload the following files:
messages_es.properties
messages_es_ES.properties
messages_en.properties
into the directory /opt/shibboleth-idp/messages. We were following the steps in https://wiki.shibboleth.net/confluence/display/IDP30/MessagesTranslation.
We have not restart the service.
We have wait more than the 5 minutes established as default in https://wiki.shibboleth.net/confluence/display/IDP30/ReloadableServices to reload the cache of messages.
We are using Shibboleth IDP 3.4.4 over Java 1.8, deployed in a Tomcat 8.5.
Do you know if it's a different problem than the message.properties? Do we need to restart?
Thank you so much
Miguel Salinas Vivancos
Identity Management Integrator
Tel.: +34 639 198 154 - mail:msalinas at bcn.sia.es
[cid:image001.png at 01D52CD1.D29CDC20]
Grupo SIA
Citypark, Edificio Atenas, Ctra. Hospitalet 147. 08940 Cornellá de Llobregat - Barcelona
www.sia.es<http://www.sia.es/> - Twitter: @SIA_es - LinkedIn: Grupo SIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190912/17a5c368/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5341 bytes
Desc: image001.png
URL: <http://shibboleth.net/pipermail/users/attachments/20190912/17a5c368/attachment.png>
More information about the users
mailing list