Sure Ray, I will have this option too in my mind.

Currently, We are trying to put the properties file and config files under
<CATALINA_HOME>/shared/conf folder (added to common.loader).
i.e. place the etc/cas/* inside the above mentioned structure.

So will it be able to read the properties file from there?

Thanks,
Jay

On Mon, Apr 30, 2018 at 9:37 PM, Ray Bon <r...@uvic.ca> wrote:

> Jay,
>
> We use the CAS config server (spring cloud) and store all our config in
> git in separate branches for dev preprod and prod (and developer branches
> too). We use tomcat and place lines like these in setenv.sh:
>
> CATALINA_OPTS="$CATALINA_OPTS -Dspring.cloud.config.uri=http
> ://casserver:passw...@menhaden.comp.uvic.ca/casconfigserver
> <http://cp.mcafee.com/d/5fHCN8q6h8Sy-C-ztxxZUTsSztxxVVxZx4SztxxVVxZVMSztxxVVxZxcSnhdQ4tbr2pfHlxeeSDm8afAXYWJS9YKrfAXYWJS9YKrRxRAt-LZvATQSjhOZu_nKnjpod7fc8II8KfzKEyCJtdmX37axVZicHs3jq9JMTsTsS03JJ6Wv59x2aoB5I28wFnU4Zg-7bHsSpBrHrBJFqI7p4qv4PYjtJEnrFYg0A8m8mlGPkOObdyci52rAVDyNkybvFBprOoI2Jm-fRU02rhpsKMr1vF6y0QJSSxtKDNdbFEw3LmfGmB0yq818g67-jU1zh1eFEw1dlrrcQgk-9DUQdLECTVd7PDZg>
> "
> CATALINA_OPTS="$CATALINA_OPTS -Dspring.cloud.config.enabled=true
> -Dspring.cloud.config.label=rbon"
>
> Ray
>
> On Fri, 2018-04-27 at 22:09 -0700, Jay wrote:
>
> Hello everyone,
> We are facing some issues deploying the CAS war file to the server in Unix.
>
> We have to keep separate properties file and config files for different
> environment and server deploy script will take of copying the files to the
> desired location and from where CAS application can read.
>
> Is there a guide or something we can follow to achieve this?
>
> Thanks in advance,
> Jay
>
> --
> Ray Bon
> Programmer analyst
> Development Services, University Systems
> 2507218831 | CLE 019 | r...@uvic.ca
>
> --
> - Website: https://apereo.github.io/cas
> <http://cp.mcafee.com/d/k-Kr6hEgdELFLEToovudTdEToouuovohdEToouuovusdEToouuovojdBQjt17iSMCjWRojzJFRy2zVe_eHtyvbCPVe_eHtyvbCZotp7vH_nVdZdAQsLnLRXBQSm3hPP2bb2bzUXG8FHnjlKMNOEuvkzaT0QSCrsdTdTdAVPmEBCqJYvHN6kOrp3FlOSQdSSxtKDN02gxoxpmHdjb8IS8N8k9KjCub5i8J-ClBL9yMaRrU_nw09J5BOX1I5-Aq83iTrq5SWv4QKCy0eZo-Fqk29Ew4x0ovVfw6d44WCy04RlJIPh1jUCvzgS-yr1vewFFyb>
> - Gitter Chatroom: https://gitter.im/apereo/cas
> <http://cp.mcafee.com/d/1jWVIi43qbWrWdS67TztPqdS67DC7S4jqdS67DC7TD3qdS67DC7S4Ppt4TghQJI9A-Jm4UXqtowE-jLPGToDOVI-jLPGToDOVLm7mhTW_R-jvjpd7bRXZuVtdBwQsYMyOMyU-eWyaqRQRrIcsG7DR8OJMddICT3tPtPpesRG9px6kV_7FaVGTN-KmSxKSQbJQ-80i4b4baRpGpp5CN692xdOsPNoGh5LQOIJVcm1mHv7WY01dEIKnodwLQzh0qmXrgKTjUCBQQg1TH7Rbiwhd40A833_9Y0NEwDkQg0CGJJCq8av4PYq6TQjrUVMEMX9HART>
> - List Guidelines: https://goo.gl/1VRrw7
> <http://cp.mcafee.com/d/avndzgA81MQrhvjvhKMM-YrKrhKMMYYM-MyrhKMMYYM-YUrhKMMYYM-MCrbECW2eBJxcDRGMD7rjH457Ot-tmX4-ndDOt-tmX4-ndWMWOe_n-LOrWr9EVuLvHTbFII6zDC4mm4n7NTkhjmKCHtxzBgY-F6lK1FJwSUrKrKr9PCJhbc8RHN4_4gO2UC1NKSQbJQ-80i4b4baRpGpp5CN692xdOsPNoGh5LQOIJVcm1mHv7WY01dEIKnodwLQzh0qmXrgKTjUCBQQg1TH7Rbiwhd40A833_9Y0NEwDkQg0CGJJCq8av4PYq6TQjuoXSYizcP5mO>
> - Contributions: https://goo.gl/mh7qDG
> <http://cp.mcafee.com/d/5fHCN8edELFLEToovudTdEToouuovohdEToouuovusdEToouuovojdBQjt17iSMCjWRojzJFRy2zVe_eHtyvbCPVe_eHtyvbCZotp7vH_nVdZdAQsLnLRXBQSm3hPP2bb2bzUXG8FHnjlKMNOEuvkzaT0QS-rsdTdTdAVPmEBC4qRUyvyFcsb1MidSSxtKDN02gxoxpmHdjb8IS8N8k9KjCub5i8J-ClBL9yMaRrU_nw09J5BOX1I5-Aq83iTrq5SWv4QKCy0eZo-Fqk29Ew4x0ovVfw6d44WCy04RlJIPh1jUCvzgS-yraJJy>
> ---
> 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+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/1525104446.1799.4.camel%40uvic.ca
> <http://cp.mcafee.com/d/5fHCNEi43qbWrWdS67TztPqdS67DC7S4jqdS67DC7TD3qdS67DC7S4Ppt4TghQJI9A-Jm4UXqtowE-jLPGToDOVI-jLPGToDOVLm7mhTW_R-jvjpd7bRXZuVtdBwQsYMyOMyU-eWyaqRQRrIcsG7DR8OJMddK6T3tPtPpesRG9px6dmRGshHkyv_bVKqJYvHM074clEhAxBJEnrFYshvjvhKMMMVO8UQsCzDCeJGLDzSbJCpmWSACVGyGLEirleYjqrCGaQGT6TDeRHfUCXrgKTjUw18gIgIHlCFBAmr4oAa4T9Pf5yF4m_jaOTANo5qJYvHM04SyOVtwS2_id41FrJJ2Xtfyqnjh07uIvkJa14Qg2gwcfYDM36y2tjh02qGSSpEwFYjfNErvhdyoLf>
> .
>
>
> Confidentiality Note:
> This e-mail and any attachment to it contains confidential and trade secret
> information intended only for the use of the individual(s) or entity named on 
> the
> e-mail.  Do not forward it without authorization from the sender.  If the 
> reader
> of this e-mail is not the intended recipient, or the employee or agent
> responsible for delivering it to the intended recipient, you are notified that
> reading, copying, forwarding or printing it is strictly prohibited.  If you 
> have
> received this e-mail in error, please immediately return it to the sender and
> delete it from your system.
>
>

-- 
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAECaZMgHag3oFWa%2BaeKw3fkxdsRECJKEbROp%3Dszjf0SuKK-Jpw%40mail.gmail.com.

Reply via email to