(workspace) /opt/cas/workspace/cas-overlay-template
etc/cas/config/skeleton_in_ID.properties -> Copy files from messages.properties but still error.
etc/cas/config/skeleton.properties -> cas.standard.css.file=/themes/skeleton/css/cas.css ... etc
directory structures:
etc/cas/templates/skeleton/casViewLogin.html ... etc
etc/cas/static/themes/skeleton/css
etc/cas/static/themes/skeleton/js
2018-09-26 20:33:29,502 WARN [org.springframework.context.support.ResourceBundleMessageSource] - <ResourceBundle [skeleton] not found for MessageSource: Can't find bundle for base name skeleton, locale in_ID>
2018-09-26 20:33:29,848 WARN [org.springframework.context.support.ResourceBundleMessageSource] - <ResourceBundle [skeleton] not found for MessageSource: Can't find bundle for base name skeleton, locale in_ID>
cas.theme.paramName: theme
cas.theme.defaultThemeName: skeleton
spring.thymeleaf.cache=false
cas.view.templatePrefixes[0]: file:///etc/cas/templates
cas.messageBundle.baseNames=classpath:/skeleton_in_ID.properties,classpath:messages
2018-09-26 20:33:29,502 WARN [org.springframework.context.support.ResourceBundleMessageSource] - <ResourceBundle [skeleton] not found forMessageSource: Can't find bundle for base name skeleton, locale in_ID>
2018-09-26 20:33:29,848 WARN [org.springframework.context.support.ResourceBundleMessageSource] - <ResourceBundle [skeleton] not found for MessageSource: Can'
t find bundle for base name skeleton, locale in_ID>
Fahmi,
My guess is that you have not put the skelton_in_ID.properties file in the correct location. I believe it should be in the src/main/resources folder. Also, the setting you have for cas.messageBundle.baseNames doesn’t look right to me.
The default setting is: classpath:custom_messages,classpath:messages
So, I would think you might want:
cas.messageBundle.baseNames=classpath:skelton,classpath:messages
Assuming you place the skelton_in_ID.properties file in src/main/resources/ and you change the setting for cas.messageBundle.baseNames I think it should work for you.
Doug
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/0270214f-2290-49a3-a203-d69cc9afbdbd%40apereo.org.
cas.server.name: https://login.domain.com:8443
cas.server.prefix: ${cas.server.name}/cas
cas.adminPagesSecurity.ip=127\.0\.0\.1
cas.tgc.secure: true
cas.tgc.crypto.signing.key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
cas.tgc.crypto.encryption.key: xxxxxxxxxxxxxxxxxxxx
cas.webflow.crypto.signing.key: xxxxxxxxxxxxxxxxxx
cas.webflow.crypto.encryption.key: xxxxxxxxxxxxxx==
cas.serviceRegistry.json.location: file:/etc/cas/services
cas.theme.paramName: theme
cas.theme.defaultThemeName: skeleton
spring.thymeleaf.cache: false
cas.view.templatePrefixes[0]: file:///etc/cas/templates
cas.messageBundle.baseNames: classpath:skeleton,classpath:messages
logging.config: file:/etc/cas/config/log4j2.xml
--
DAVID A. CURRY, CISSP
DIRECTOR OF INFORMATION SECURITY
INFORMATION TECHNOLOGY
71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728 • david...@newschool.edu
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/8aaf1c4f-932e-4fe8-b5ba-6e82fde99c5c%40apereo.org.