Error during Install CAS 6.1

26 views
Skip to first unread message

alain ubfc

unread,
Mar 9, 2019, 9:00:34 AM3/9/19
to CAS Community
Hello everyone

I am a brand new case user 6.

look at the documentation of https://dacurry-tns.github.io/deploying-apereo-cas/building_server_ldap_overview.html but it does not correspond to CAS 6.1
Here is what I did
I installed a debian 9.8.
I installed Tomcat 8 by doing apt install tomcat8. Should I install Tomcat 9?
Once installed, I installed another repository: deb http://deb.debian.org/debian/ stretch-backports main contrib non-free
I made a:
apt update
apt upgrade



I installed JAVA and GIT which are necessary packages
apt install openjdk-11-jr openjdk-11-jdk maven build-essential git



Then I set the JAVA environment variable
echo "JAVA_HOME = / usr / lib / jvm / java-11-openjdk-amd64 /" >> / etc / environment



source /etc/environment



I checked the environment variable
echo $ JAVA_HOME



I put myself in the directory / opt to recover the project apereo / case-overlay-template


I'm going to the folder-overlay-template

cd case-overlay-template



I installed Gragle 5.2.1
./gradlew clean



I still have to compile the project

It recovers the file case-server-webapp-tomcat-6.1.0-RC3-20190308.192536-14.war

./gradlew clean copyCasConfiguration build



I create the key
./gradlew createKeystore



I execute with the following command
./gradlew run



I realize that I have warnings and error ? Should it be corrected?
      ____            ____
/ /  / ___|    / \    / ___|     \ \
 | |  | |       / _ \   \___ \ \    | |
 | |  | |___   / ___ \   __)  |  | |
 | |   \____| /_/   \_\ |____/   | |
  \_\                                /_/

CAS Version: 6.1.0-RC3-SNAPSHOT
CAS
Commit Id: da9592cd02572d7225cfd428d66c3513eedf27c8
CAS
Build Date/Time: 2019-03-09T12:26:01.251Z
Spring Boot Version: 2.1.3.RELEASE
Spring Version: 5.1.5.RELEASE
Java Home: /usr/lib/jvm/java-11-openjdk-amd64
Java Vendor: Oracle Corporation
Java Version: 11.0.2
JVM
Free Memory: 14 MB
JVM
Maximum Memory: 1 GB
JVM
Total Memory: 93 MB
JCE
Installed: Yes
Node Version: N/A
NPM
Version: N/A
OS
Architecture: amd64
OS
Name: Linux



 ____    _____    ___    ____    _
 / ___|  |_   _|  / _ \  |  _ \  | |
 \___ \    | |   | | | | | |_) | | |
  ___) |   | |   | |_| | |  __/  |_|
 |____/    |_|    \___/  |_|     (_)


CAS is configured to accept a static list of credentials for authentication. While this is generally useful for demo purposes, it $
^[[33m2019-03-09 14:34:19,342 WARN [org.apereo.cas.config.support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfig$
^[[32m2019-03-09 14:34:33,921 INFO [org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration] -$

Using generated security password:
^[[33m2019-03-09 14:34:38,397 WARN [org.apereo.cas.config.CasCoreServicesConfiguration] - <Runtime memory is used as the persisten$
^[[33m2019-03-09 14:34:40,104 WARN [org.apereo.cas.util.cipher.BaseStringCipherExecutor] - <Secret key for encryption is not defin$
^[[33m2019-03-09 14:34:40,889 WARN [org.apereo.cas.util.cipher.BaseStringCipherExecutor] - <Generated encryption key [RP6xqbmSULCT$
^[[33m2019-03-09 14:34:41,124 WARN [org.apereo.cas.util.cipher.BaseStringCipherExecutor] - <Secret key for signing is not defined $
^[[33m2019-03-09 14:34:41,127 WARN [org.apereo.cas.util.cipher.BaseStringCipherExecutor] - <Generated signing key [vpQsz_an4i2YTc5$
^[[33m2019-03-09 14:34:41,760 WARN [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - <Secret key for signing is not defined $
^[[33m2019-03-09 14:34:41,762 WARN [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - <Generated signing key [H1NkxVNDyQQlPHn$
^[[33m2019-03-09 14:34:41,780 WARN [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - <Secret key for encryption is not defin$
^[[33m2019-03-09 14:34:42,134 WARN [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - <Generated encryption key [cPW9hfAGbrHY$


2019-03-09 14:38:54,310 ERROR [org.apache.catalina.core.AprLifecycleListener] - <An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]>
2019-03-09 14:38:55,723 ERROR [org.apache.catalina.core.AprLifecycleListener] - <An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]>
2019-03-09 14:38:55,891 ERROR [org.apache.catalina.core.AprLifecycleListener] - <An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]>


At the end it is executed only at 92%
<============-> 92% EXECUTING [4m 26s]

Why ?

Then when I open the browser I have an error message

errror.jpg


Can you help me ? I turn around

Thank you
Reply all
Reply to author
Forward
0 new messages