Yes, yet again, that thread implies that the “skeleton_in_ID.properties” 
belongs in the “src/main/resources/*.properties” directory.  
Which implies that it needs to be compiled into the war before it is found.  
Why would “dynamic themes” need to be included in the source?
That is not dynamic in nature :-/

> On May 16, 2020, at 12:24 PM, Root <[email protected]> wrote:
> 
> 
> The new error is similar to this  
> https://groups.google.com/a/apereo.org/forum/#!topic/cas-user/dPf36An-qyU 
> <https://groups.google.com/a/apereo.org/forum/#!topic/cas-user/dPf36An-qyU>
> 
> Check that full thread, CAS is expecting theme.properties file.
> 
> if you are editing heavily then this is obvious in CAS, and Yes CAS 
> documentation needs a reincarnation! indeed :-).
> 
> 
> 
> 
> On Saturday, May 16, 2020 at 9:33:17 PM UTC+5:30, CanaryJudge wrote:
> This can’t be this difficult.  I am actually very surprised that it has taken 
> this long to configure such an important project. If I ever get this working 
> I am going to have to put together some instructions for a newbie as the 
> current ones leave a lot to be desired in the form of examples :-) 
> 
> Anyway, my current configuration for /etc/cas/config/cas.properties
> …
> spring.thymeleaf.prefix[0]=file:/etc/cas/templates
> cas.view.templatePrefixes[0]=file:/etc/cas/templates
> ...
> 
> Error in debug:
> 
> 2020-05-16 15:58:29,329 DEBUG 
> [org.apereo.cas.services.web.RegisteredServiceThemeResolver] - <Can't find 
> bundle for base name foo, locale en_US>
> java.util.MissingResourceException: Can't find bundle for base name epc, 
> locale en_US
>         at 
> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
>  ~[?:?]
>         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689) 
> ~[?:?]
>         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593) 
> ~[?:?]
>         at java.util.ResourceBundle.getBundle(ResourceBundle.java:1284) ~[?:?]
>         at 
> org.apereo.cas.services.web.RegisteredServiceThemeResolver$CasThemeResourceBundleMessageSource.doGetBundle(RegisteredServiceThemeResolver.java:190)
>  ~[cas-server-support-themes-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
>         at 
> org.apereo.cas.services.web.RegisteredServiceThemeResolver.determineThemeNameToChoose(RegisteredServiceThemeResolver.java:145)
>  ~[cas-server-support-themes-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
>         at 
> org.apereo.cas.services.web.RegisteredServiceThemeResolver.resolveThemeName(RegisteredServiceThemeResolver.java:103)
>  ~[cas-server-support-themes-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
>         at 
> org.apereo.cas.services.web.ChainingThemeResolver.resolveThemeName(ChainingThemeResolver.java:42)
>  ~[cas-server-support-themes-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
>         at 
> org.springframework.web.servlet.support.RequestContextUtils.getTheme(RequestContextUtils.java:217)
>  ~[spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>         at 
> org.springframework.web.servlet.support.RequestContext.getTheme(RequestContext.java:398)
>  ~[spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>         at 
> org.thymeleaf.spring5.context.webmvc.SpringWebMvcThymeleafRequestContext.getTheme(SpringWebMvcThymeleafRequestContext.java:211)
>  ~[thymeleaf-spring5-3.0.11.RELEASE.jar:3.0.11.RELEASE]
> 
> No better clues there :-/
> 
> 
>> On May 16, 2020, at 11:06 AM, Root <indian...@ <>gmail.com 
>> <http://gmail.com/>> wrote:
>> 
>> 
>> Ok, at the end of the error it says "cannot be located" so might be 
>> path/permission issue?, make sure 
>> /etc/cas/templates/ is accessible  <>by tomcat, also instead of " <> 
>> <>file:///etc/cas/templates <file:///etc/cas/templates>"  try 
>> "file:/etc/cas/templates"
>> 
>> IF you are still getting errors, enable DEBUG mode in  <> <>log4j2.xml, you 
>> may get more info. <>
>> 

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/1D4F86A3-2C9F-4142-BC54-8B69DCBA8CD6%40yahoo.com.

Reply via email to