See ahead...

El sábado, 10 de febrero de 2018, Matthew Hannay <[email protected]>
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].
> 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/CAMY5mideOGm7%2B%3DreMRss_-EoVq6WDuyJbY0iKdabrbvggXkyLg%40mail.gmail.com.

Reply via email to