CAS 5.0.2 compilation and deployment

Skip to first unread message

Jean-Michel Zigna

unread,
Jan 26, 2017, 5:57:13 AM1/26/17
to CAS Community
Hello,

I was quite familiar with a very old verson of CAS and I'm trying to update it to the last version.

I downloaded cas-5.0.2.tar.gz, and compiled sucessfully CAS with the dev-build-no-tests.sh script (error during execution of a tets for the dev-build.sh).

The fact is that are a lot of builds and libs forlder including war and jar files, and I'm a bit lost to identify clearly what I have to deploy in the tomcat webapps.

I started with the cas-server-webapp/build/libs/cas-server-webapp-5.0.2.war, but it seems to be not sufficient because I can't find the cas.properties configuration file for instance.

Could you please tell me how to complete the instalaltion/configuration to connect to an LDAP?

Thanks.

Best regards.

Jean-Michel
 

dkopy...@unicon.net

unread,
Jan 26, 2017, 6:04:07 AM1/26/17
to cas-...@apereo.org
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/5c8364bc-44f3-48d8-97ce-06436524b001%40apereo.org.

Jean-Michel Zigna

unread,
Jan 26, 2017, 11:13:08 AM1/26/17
to CAS Community
Thanks for your quick reply.

Alberto Cabello Sánchez

unread,
Jan 30, 2017, 8:46:51 AM1/30/17
to cas-...@apereo.org
On Thu, 26 Jan 2017 06:03:46 -0500
dkopy...@unicon.net wrote:
>
> On Jan 26, 2017, 05:57 -0500, Jean-Michel Zigna <jm.z...@gmail.com>, wrote:
> >
> > I started with the
> > cas-server-webapp/build/libs/cas-server-webapp-5.0.2.war, but it seems
> > to be not sufficient because I can't find the cas.properties
> > configuration file for instance.
> >
> > Could you please tell me how to complete the instalation/configuration
> > to connect to an LDAP?
> >
> https://apereo.github.io/cas/5.0.x/installation/Maven-Overlay-Installation.html

Am I the only one who finds that page utterly confusing? I did a few CAS 4
deployments and suddenly I can't grasp anything about how to get CAS 5 up
and running.

--
Alberto Cabello Sánchez
Universidad de Extremadura

dkopy...@unicon.net

unread,
Jan 30, 2017, 9:13:43 AM1/30/17
to cas-...@apereo.org
Please share what areas are confusing and where you are finding the difficulties in getting CAS5 overlay to run.

Best,
D.
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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+u...@apereo.org.

Alberto Cabello Sánchez

unread,
Jan 30, 2017, 6:45:30 PM1/30/17
to cas-...@apereo.org
Thanks for your help.

Rather than some confusing areas, it is just I don't even know how to
begin. IIRC, CAS 4 had some explaining (step by step) page with a basic
configuration to build things upon it.

In the case of CAS 5 I couldn't find even a working, minimal pom.xml.
> To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/9233de26-df9e-42b8-9402-2233a7728a38%40Spark.


--
Alberto Cabello Sánchez
<alb...@unex.es>

wing-tung Leung

unread,
Feb 2, 2017, 11:21:14 AM2/2/17
to CAS Community
On Tuesday, January 31, 2017 at 12:45:30 AM UTC+1, alberto wrote:
Thanks for your help.

Rather than some confusing areas, it is just I don't even know how to
begin. IIRC, CAS 4 had some explaining (step by step) page with a basic
configuration to build things upon it.

In the case of CAS 5 I couldn't find even a working, minimal pom.xml.

Hello Alberto,

using the maven CAS overlay template helped me a lot to get started. Probably easiest to start using maven and spring-boot, which automatically includes a embedded Tomcat.

Just a few manual steps which helped me:
* create your own keystore using keygen
* override configuration directory if the system /etc is not writable (
* update the log4j2.xml references in the included cas.properties file


Fragment from my run script:
>>>
ETC=file:///repositories/cas/cas-overlay-template-master/etc

mvn -Pmixed \
  -Dspring.cloud.config.server.native.searchLocations=${ETC}/cas/config \
  -Dserver.ssl.key-store=${ETC}/cas/cas5.jks \
  spring-boot:run;
<<<

Alvaro S.

unread,
Feb 2, 2017, 11:48:27 AM2/2/17
to CAS Community
You not are the only one.

I'm very new to CAS and I can't even get to work the server any single time. The documentation needs more works. Can't mark any concrete article because it's eveything. Starting for the new users
Reply all
Reply to author
Forward
0 new messages