Hi Jann,
Pretty sure by default, configuration path is not relative, instead is
absolute path.
So "'/opt/tomcat/webapps/etc/cas/config" is not right, instead is
"/etc/cas/config".
But either way, you can try both on your own, and see which one is correct.
Cheers!
- Andy
On Saturday, 12 Ma
Jann,
Are you running on Windows?
On a unix like system, /etc is in the root of the file system, not relative to
tomcat.
The build script attempts to copy some files to this folder. It is not writable
by a 'normal' user. You can create the folder (sudo mkdir -p /etc/cas/config)
and change its o
Thanks Andy!
It took me some time to wrap my head around this - your post sparked the
direction --- I think I userstand now :)
./build.sh package --- generates the war (configuration is picked up from
'/etc/cas/config' --- relative to the cas-overlay)
When cas.war is expanded in tomcat: '/opt/
Hi Jann,
build.sh is what you are looking for, as documented in the overlay
github https://github.com/apereo/cas-overlay-template (which I think is
where you get the command from anyway).
I am also deploying using WAR in Tomcat for my setup. And based on my
experience, WAR to Tomcat using buil
You can probably use build.sh; I don't use it myself, so I'm not sure of
its usage or what else it does for you (I believe it copies the config
files into place, etc.). Personally I just use "./mvnw clean package" and
then my own scripts, since I'm using the external Tomcat and deploying on
multipl
Thanks David --- for all your work on the documentation and reply below --
very much appreciated.
For historical reasons, we plan to go with a WAR and place it in
/opt/tomcat/webapps
Our sys admin prefers an Apache HTTPD front-end and standalone tomcat as is
(this is the only part we are diver
In my configuration (which is essentially what this guide is describing), I
use an external Tomcat, not the embedded one. So, my setup follows the
Tomcat hardening guidelines, which recommend deploying exploded directories
rather than WAR files. See the section on installing Tomcat (under Setting
u
I've been following the excellent CAS installation examples at
https://dacurry-tns.github.io/deploying-apereo-cas/building_server_install-and-test-the-cas-application.html
I have added our local setting for 'cas.properties' & 'log4j2.xml' in
'/opt/workspace/cas-overlay-template/etc/cas/config'