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 diverting from your docs).

To build a WAR.....do we run './build.sh package' at 
'/opt/workspace/cas-overlay-template'?

I don't see the WAR having the configurations we added in 
'/opt/workspace/cas-overlay-template/etc'

Spending many hours in fron of the computer --- my apologies if I am less 
than coherent.


On Wednesday, May 9, 2018 at 5:59:59 PM UTC-7, David Curry wrote:
>
> 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 
> up the environment) for more info on this.
>
> The "tar" command bundles up the contents of the "target/cas" directory, 
> which is what would end up in the WAR file anyway, and also your 
> "etc/cas/config" files.The other options just set things up so when the 
> files are extracted they're owned by the right user and group and have the 
> right permissions.
>
> Read ahead to the next section on the page (the installation shell script) 
> and you'll see where the script extracts the application into 
> "/var/lib/tomcat" ("/opt/tomcat/latest/webapps") and your config files into 
> "/etc/cas/config".
>
> So there's no WAR file to deploy, because it's not needed in the external 
> Tomcat setup. If you really want one Maven builds it and leaves it in the 
> "target" directory, but it's still going to expect the config files to be 
> in "/etc/cas/config", not inside the WAR file. 
>
> --Dave
>
>
> David A. Curry,  CISSP
> Director of Information Security
> The New School - Information Technology
> 71 Fifth Ave., 9th Fl. ~ New York, NY 10003
> +1 212 229-5300 x4728 ~ [email protected] <javascript:>
> Sent from my phone; please excuse typos and inane auto-corrections.
>     
>
>
> On Wed, May 9, 2018, 20:29 Jann Malenkoff <[email protected] 
> <javascript:>> wrote:
>
>> 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'
>>
>> However I didn't quite understand the following:
>>
>> casdev-master# cd /opt/workspace/cas-overlay-templatecasdev-master# tar czf 
>> /tmp/cassrv-files.tgz --owner=root --group=tomcat --mode=g-w,o-rwx  etc/cas 
>> -C target cas --exclude cas/META-INF
>>
>>
>>
>>
>> Via above there is no build of the CAS war -- how will it pick up our 
>> locals settings in our local setting for 'cas.properties' & 'log4j2.xml' in 
>> '/opt/workspace/cas-overlay-template/etc/cas/config'?
>>
>> -- 
>> - 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/333a5108-6045-4249-826f-af1c49e78466%40apereo.org
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/333a5108-6045-4249-826f-af1c49e78466%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/0970a406-025e-45f8-a846-89af17e29e7d%40apereo.org.

Reply via email to