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] CAS5.3.x: Error getting flow information for URL

2020-02-11 Thread 'Maksim Kopeyka' via CAS Community
Hi Jay, Did you solve problem with Null input buffer? I have the same exception. On Friday, May 18, 2018 at 7:19:07 PM UTC+3, Jay wrote: > > Ray, > To answer your question. > Yes there are two tomcat servers running the application and load balancer > switches between the servers. I will check

Re: [cas-user] Hazelcast-Ticket Registry config

2020-02-11 Thread 'Maksim Kopeyka' via CAS Community
Hi M.Pedis, Did you solve problem with Null input buffer? I have the same exception. On Thursday, November 7, 2019 at 1:40:54 PM UTC+2, M.Pedis wrote: > > Hi Dave , > > 2019-11-07 06:02:21,471 ERROR > [org.apereo.cas.web.flow.executor.EncryptedTranscoder] - >

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
To get a lot less errors in your log I would start with making sure that you have this directory (and writable for the user that is used to start CAS) : /var/log/ On Tuesday, February 11, 2020 at 4:04:20 PM UTC+1, Dmitriy Kopylenko wrote: > > A full log would be useful > On Feb 11, 2020,

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

2020-02-11 Thread Dmitriy Kopylenko
A full log would be useful On Feb 11, 2020, 10:02 -0500, Jérémie Pilette , wrote: > Hi Dmitry, > > add this > spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration > in the /etc/cas/config/cas.properties file. > > I

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

2020-02-11 Thread Jérémie Pilette
Hi Dmitry, add this *spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration* in the /etc/cas/config/cas.properties file. I have made it No changes. (http 404) Please note I do not have a json file in the

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

2020-02-11 Thread Dmitriy Kopylenko
Hi there. Keep cas.serviceRegistry.json.location=file:/etc/cas/services And add the following property:  spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration And restart Tomcat. Best, D. On Feb 11, 2020, 09:32

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

2020-02-11 Thread Jérémie Pilette
The same by changing *cas.serviceRegistry.config.location=file:/etc/cas/services* by *cas.serviceRegistry.json.location=file:/etc/cas/services* Jérémie Le mar. 11 févr. 2020 à 14:49, Jérémie Pilette a écrit : > Hi Ray, > thank you for your response. > I have uncommented the line

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

2020-02-11 Thread Jérémie Pilette
Hi Ray, thank you for your response. I have uncommented the line *cas.serviceRegistry.config.location: file:/etc/cas/services*.(/ets/cas/config) But it doen't make anaything. I have change the owner too > chown -R tomcat:tomcat /etc/cas/services. No changes... Here this my *catalina.log* :

Re: [cas-user] Re: Delegated CAS SAML IDP

2020-02-11 Thread Raheem Shaik
This is working fine in Cas 6.x version Can some one help me, how to get jwt token for SAML? Regards, Raheem On Friday, November 29, 2019 at 12:40:16 PM UTC+5:30, Raheem Shaik wrote: > > Thanks Andy. > > Let me go through once config setup and check the idp and sp > metadata imported. > >