sorry wrong post ......... about the -tomcat I will repost on the correct thread
as to properties on windows its c:\etc\........ On Thursday, 15 February 2018 16:18:44 UTC+10, Matthew Hannay wrote: > > In the POM it says > > <!-- app.server could be -jetty, -undertow, -tomcat, or blank if you plan to > provide appserver --> > > > Does the blank mean my provided app server could be weblogic or websphere and > I would provide extra classes/jars into the build > > or does it meanyou provide the installed app server say tomcat 7 and the > build will give you the war to deploy? > > > > On Wednesday, 14 February 2018 03:10:32 UTC+10, rbon wrote: >> >> Matthew, >> >> Is cas.properties being copied into the target directory and does it have >> the values you expect? >> On Linux /etc is not writable by a 'regular' user. You could manually >> create /etc/cas/config and change ownership or permissions (while in >> development). I do not know how this works on Windows. >> >> Ray >> >> On Fri, 2018-02-09 at 22:01 -0800, Matthew Hannay wrote: >> >> 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 >> 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 >> >> the application picks up the properties?? >> This then feeds me into my next series of problems >> >> >> --Matt >> >> >> -- >> Ray Bon >> Programmer analyst >> Development Services, University Systems >> 2507218831 | CLE 019 | [email protected] >> >> -- - 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/8061e1ed-7e2e-4790-9da0-e511507ee65b%40apereo.org.
