6.1 CAS and Groovy Post Processor Shutdown Problem

57 views
Skip to first unread message

Maxwell, Gary

unread,
Dec 10, 2019, 12:17:36 PM12/10/19
to CAS Community

Hi all,

 

I was curious to find out if anyone has ran into the following problem. After Groovy Post Processor was implemented, CAS no longer will shut down all the way. Even if we don’t login , CAS will keep running after we initiate a shutdown.

We are using the following basic Groovy script that is documented with CAS.

 

cas.authn.engine.groovyPostProcessor.location=file:/opt/test/GroovyPostProcessor.groovy

 

import org.apereo.cas.*

import org.apereo.cas.authentication.*

import org.apereo.cas.authentication.credential.*

import java.net.*

 

def run(Object[] args) {

    def builder = args[0]

    def transaction = args[1]

    def logger = args[2]

true

}

 

def supports(Object[] args) {

    def credential = args[0]

    def logger = args[1]

    true

}

 

Any thoughts or ideas would be great!

 

-Gary

Ray Bon

unread,
Dec 10, 2019, 1:17:58 PM12/10/19
to cas-...@apereo.org
Gary,

What command are you using to perform the shutdown?

Ray
-- 
Ray Bon
Programmer Analyst
Development Services, University Systems

I respectfully acknowledge that my place of work is located within the ancestral, traditional and unceded territory of the Songhees, Esquimalt and WSÁNEĆ Nations.

Maxwell, Gary

unread,
Dec 10, 2019, 1:24:22 PM12/10/19
to cas-...@apereo.org

Hi Ray,

 

We are just executing shutdown.sh on tomcat 9.0.27

 

-Gary

--
- 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 cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/7b7c8865a7a896f1e911dd18682c65dad381717b.camel%40uvic.ca.

Ray Bon

unread,
Dec 10, 2019, 2:53:21 PM12/10/19
to cas-...@apereo.org
Gary,

You might try setting up a PID file, https://tomcat.apache.org/tomcat-9.0-doc/RUNNING.txt

There is also a -force option to shutdown.

Ray
Reply all
Reply to author
Forward
0 new messages