RE : [cas-user] 6.2.x Gradle Compilation

2022-07-01 Thread Déreck
Hi. Thanks for you answer, i’ve success to build the war ; It’s a new deploy. Envoyé à partir de Courrier pour Windows De : Ray BonEnvoyé le :lundi 20 juin 2022 17:00À : cas-user@apereo.orgCc : jerem.pile...@gmail.com; dkopyle...@unicon.netObjet :Re: [cas-user] 6.2.x Gradle Compilation

Re: [cas-user] 6.2.x Gradle Compilation

2022-06-19 Thread Gmail
Date: January 2, 2020 at 2:47:55 PM To: CAS Community Cc: dkopy...@unicon.net Subject: Re: [cas-user] 6.2.x Gradle Compilation Hi Dmitriy, thank you. Now I have another ailed : > Task :run FAILED FAILURE: Build fai

Re: [cas-user] 6.2.x Gradle Compilation

2022-06-19 Thread Gilles-Dereck GNANCADJA
w clean build >> java -jar build/libs/cas.war >> >> D. >> >> From: Jérémie Pilette >> Reply: Jérémie Pilette >> > Date: January 2, 2020 at 2:47:55 PM >> To: CAS Community >> Cc: dkopy...@unicon.net >> Subject: Re: [cas-user] 6.2.

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Pavlos Drandakis
By default, systemd, allows tomcat to write only under the following directories: /etc/tomcat9/Catalina/ /var/lib/tomcat9/webapps/ /var/log/tomcat9/ So, you should override systemd - tomcat settings, to allow writing to any other directory (/var/log/ in your case). Add the following in

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Jérémie Pilette
Oh! many thanks, it seems to be good. Just about this line! I have the authentification page and a connection test with a usename and password in LDAP run... Many thanks, Jérémie Le mardi 11 février 2020 20:06:29 UTC+1, rbon a écrit : > > Try searchFilter (I do not see userFilter, it may be

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Jérémie Pilette
I have some difficulties to solve this for the moment... about rights... Waiting, I have selected the main log which could be interesting (attached file) My cas.properties too. Thank you, Jérémie -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas -

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Ray Bon
tomcat user will need write access to those files. If the files do not exist, create them: # touch /var/log/cas.log # chgrp tomcat /var/log/cas.log My /var/log has these permissions drwxrwxr-x 18 root syslog 4096 Feb 11 00:00 log so tomcat user can not create those files, it must be done

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Ray Bon
How are you starting tomcat? Is catalina.out being written to /var/log or is it in TOMCAT_HOME/logs? To see process owner: $ ps aux | grep tomcat Ray On Tue, 2020-02-11 at 09:06 -0800, Jérémie Pilette wrote: Sorry, it is * cas.log * cas_audit.log of course... -- Ray Bon Programmer

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Jérémie Pilette
Sorry, it is - cas.log - cas_audit.log of course... -- - 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

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Jérémie Pilette
I have some difficulties to know the user who can write in this files : - cas.out - cas_audit.out It is not tomcat. Unless using chmod 777 ... Jérémie -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 -

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Ray Bon
Jérémie, Check your log and make sure that 'permission denied' errors are gone. I did not see anything related to CAS failures in the previous log you posted. There were spring boot issues (maybe related to tomcat version mismatch). Get most recent version of tomcat, then post the logs. Ray

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Jérémie Pilette
Yes Bob, I have change the right from root to tomcat in /var/log (*.cas..) For information this is my dependancies to compile : dependencies { // Other CAS dependencies/modules may be listed here... // implementation

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Jérémie Pilette
Sorry, my log in the attached file. Thank you Jérémie -- - 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

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Bob
>>> [...] >>>> > Task :run FAILED >>>> :run (Thread[Execution worker for ':' Thread 7,5,main]) completed. Took >>>> 13.924 secs. >>>> >>>> FAILURE: Build failed with an exception. >>>> >>>> * Where: &

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Dmitriy Kopylenko
; > > > > > BUILD FAILED in 15s > > > > > > > 5 actionable tasks: 3 executed, 2 up-to-date > > > > > > > > > > > > > > > > > > > > > > > > > > > > Le dimanche 9 février 2020

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Jérémie Pilette
le with Gradle 7.0. >>> Use '--warning-mode all' to show the individual deprecation warnings. >>> See https:// >>> docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings >>> >>> BUILD FAILED in 15s >>> 5 actiona

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Dmitriy Kopylenko
e stack trace. Run with --debug > > > > > option to get more log output. Run with --scan to get full insights. > > > > > > > > > > * Get more help at https://help.gradle.org > > > > > > > > > > Deprecated Gradle fe

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Jérémie Pilette
owing that in >> gradle.properties it is written *tomcatVersion=9.0.30* (On debian >> package)? >> >> Secondly, this is what I have with *./gradlew run —info* >> >> ./gradlew run —info >> >> FAILURE: Build failed with an exception. >> >> * Wh

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-11 Thread Jérémie Pilette
2 janvier 2020 20:59:28 UTC+1, Dmitriy Kopylenko a écrit : > > You might want to run it with —info or —debug flag to see what might be > failing, like so: > > ./gradlew run —info > > or build and run as two separate steps: > > ./gradlew clean build > java -jar build/li

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-10 Thread Ray Bon
ly: Jérémie Pilette Date: January 2, 2020 at 2:47:55 PM To: CAS Community Cc: dkopy...@unicon.net Subject: Re: [cas-user] 6.2.x Gradle Compilation Hi Dmitriy, thank you. Now I have another ailed : > Task :run FAILED FAILURE: Build failed with an exception. * Where: Script '/home/USER/bin/

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-09 Thread Jérémie Pilette
e steps: >> >> ./gradlew clean build >> java -jar build/libs/cas.war >> >> D. >> >> >> From: Jérémie Pilette >> Reply: Jérémie Pilette >> Date: January 2, 2020 at 2:47:55 PM >> To: CAS Community >> Cc: dkopy...@unicon.net

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-09 Thread Jérémie Pilette
>> From: Jérémie Pilette >> Reply: Jérémie Pilette >> Date: January 2, 2020 at 2:47:55 PM >> To: CAS Community >> Cc: dkopy...@unicon.net >> Subject: Re: [cas-user] 6.2.x Gradle Compilation >> >> Hi Dmitriy, >> thank you. >> Now I have an

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-09 Thread Jérémie Pilette
020 at 2:47:55 PM > To: CAS Community > Cc: dkopy...@unicon.net > Subject: Re: [cas-user] 6.2.x Gradle Compilation > > Hi Dmitriy, > thank you. > Now I have another ailed : > > > Task :run FAILED > > FAILURE: Build failed with an exception. > > * Where

Re: [cas-user] 6.2.x Gradle Compilation

2020-02-01 Thread Tom Healey
do that with gradlew. >> I looked through the docker build to see if I could reverse engineer it >> to get the right things in place so it can find what it needs to run from >> the command line with ./gradlew only. >> >> Thanks, >> Tom >> >> On Thursday

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-31 Thread Tom Healey
gt; Thanks, > Tom > > On Thursday, January 2, 2020 at 2:59:28 PM UTC-5, Dmitriy Kopylenko wrote: > > You might want to run it with —info or —debug flag to see what might be > failing, like so: > > ./gradlew run —info > > or build and run as two separate steps: > > ./

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-31 Thread Ray Bon
érémie Pilette Date: January 2, 2020 at 2:47:55 PM To: CAS Community Cc: dkopy...@unicon.net Subject: Re: [cas-user] 6.2.x Gradle Compilation Hi Dmitriy, thank you. Now I have another ailed : > Task :run FAILED FAILURE: Build failed with an exception. * Where: Script '/home/USER/bin/ca

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-31 Thread Dmitriy Kopylenko
I can't use > > > > > that all the time. I want to configure the CAS war to suit my needs > > > > > and I think I need to do that with gradlew. > > > > > I looked through the docker build to see if I could reverse engineer > > > > &g

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-31 Thread Tom Healey
You might want to run it with —info or —debug flag to see what might be > failing, like so: > > ./gradlew run —info > > or build and run as two separate steps: > > ./gradlew clean build > java -jar build/libs/cas.war > > D. > > > From: Jérémie Pilette &g

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-31 Thread Ray Bon
ty Cc: dkopy...@unicon.net Subject: Re: [cas-user] 6.2.x Gradle Compilation Hi Dmitriy, thank you. Now I have another ailed : > Task :run FAILED FAILURE: Build failed with an exception. * Where: Script '/home/USER/bin/cas-overlay-template/gradle/tasks.gradle' line: 57 * What went wrong: Executi

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-31 Thread Tom Healey
it with —info or —debug flag to see what might be > failing, like so: > > ./gradlew run —info > > or build and run as two separate steps: > > ./gradlew clean build > java -jar build/libs/cas.war > > D. > > > From: Jérémie Pilette > Reply: Jérémie Pilette

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-29 Thread Ray Bon
: ./gradlew clean build java -jar build/libs/cas.war D. From: Jérémie Pilette Reply: Jérémie Pilette Date: January 2, 2020 at 2:47:55 PM To: CAS Community Cc: dkopy...@unicon.net Subject: Re: [cas-user] 6.2.x Gradle Compilation Hi Dmitriy, thank you. Now I have another ailed : > Task :

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-29 Thread Tom Healey
PM > To: CAS Community > Cc: dkopy...@unicon.net > Subject: Re: [cas-user] 6.2.x Gradle Compilation > > Hi Dmitriy, > thank you. > Now I have another ailed : > > > Task :run FAILED > > FAILURE: Build failed with an exception. > > * Where: >

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-02 Thread Dmitriy Kopylenko
To: CAS Community Cc: dkopyle...@unicon.net Subject:  Re: [cas-user] 6.2.x Gradle Compilation Hi Dmitriy, thank you. Now I have another ailed : > Task :run FAILED FAILURE: Build failed with an exception. * Where: Script '/home/USER/bin/cas-overlay-template/gradle/tasks.gradle' line: 57 * W

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-02 Thread Jérémie Pilette
ylenko a écrit : > > Hi there. > > Change version of CAS to 6.2 RC2 in gradle.properties like so: > > *cas.version=6.2.0-RC2* > > Best, > D. > > > From: Jérémie Pilette > Reply: cas-...@apereo.org > Date: January 2, 2020 at 7:57:00 AM > To:

Re: [cas-user] 6.2.x Gradle Compilation

2020-01-02 Thread Dmitriy Kopylenko
Hi there. Change version of CAS to 6.2 RC2 in gradle.properties like so: cas.version=6.2.0-RC2 Best, D. From: Jérémie Pilette Reply: cas-user@apereo.org Date: January 2, 2020 at 7:57:00 AM To: CAS Community Subject:  [cas-user] 6.2.x Gradle Compilation Hi everybody, I have a problem

[cas-user] 6.2.x Gradle Compilation

2020-01-02 Thread Jérémie Pilette
Hi everybody, I have a problem with my first compilation of cas-overlay-template (6.2.x) Here this is my messages : FAILURE: Build failed with an exception. A problem occurred evaluating root project 'cas'. > Could not resolve all artifacts for configuration 'classpath'. > Could not find