OK from the root ..... I have also made a small change to the documentation 
to make it clear
and submitted a pull request

I am just trying to work out the -Dcas.standalone.config.file=......
I am not sure if its a spring boot thing thats not picking it up?
I will try with a local install of tomcat and deploy the war...

Thanks
--Matt



On Saturday, 10 February 2018 20:43:32 UTC+10, Manfredo Hopp wrote:
>
> See ahead...
>
> El sábado, 10 de febrero de 2018, Matthew Hannay <[email protected] 
> <javascript:>> escribió:
>
>> Is the following structure correct
>>
>> cas-overlaytemplate/
>>  |
>>  |-------etc/cas/config/cas.properties
>>  |
>>  | ------overlays/org.ap.....tomcat-5.2.2
>>
>>
>> when I run from c:\cas-overlaytemplate/
>>
>> java -jar target\cas.war
>>
>> it is not picking up the cas.properties in the etc\ directory
>>
>> From what I have read the fall back is to that directory 
>>
>  
> Its /etc/cas/config in Linux
> C: /etc/cas/config in windows
>
> This path are not relative to template
>
>
>
> Even If I add
>>
>> C:\dev\git-3rdparty-repos\cas-overlay-template>java -jar target/cas.war 
>> -Dcas.standalone.config=./etc/cas/config/
>> C:\dev\git-3rdparty-repos\cas-overlay-template>java -jar target/cas.war 
>> -Dcas.standalone.config.file=./etc/cas/config/cas.properties
>>
>>
>> If I go into the target directory and add my configurations into the 
>> application.properties and run the 'maven package'
>>
>> I then Run
>>
>> cas-overlay-template>java -jar target/cas.war
>>
>
> This will be overridden with new builds don't use it
>
>>
>> the application picks up the properties??
>> This then feeds me into my next series of problems
>>
>>
>> --Matt 
>>
>>
>> -- 
>> - 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/7d4f8cdd-22f3-40e5-90ea-f84a55656674%40apereo.org
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/7d4f8cdd-22f3-40e5-90ea-f84a55656674%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
- 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/08ab5484-577c-45aa-bdca-50a167e3cfb2%40apereo.org.

Reply via email to