Hi David ,

I am facing the same error while trying to save an OAuth  Client from CAS 
management overlay 6.3.0 . Any suggestions would be helpful to me. I tried 
adding generic service definition in  json service registry  location but 
saving OAuth client fails where as CAS client service is saved. Below is my 
error log

2022-02-10 10:58:43,971 ERROR 
[org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/cas-management].[dispatcherServlet]]
 
- <Servlet.service() for servlet [dispatcherServlet] in context with path 
[/cas-management] threw exception [Request processing failed; nested 
exception is java.lang.IllegalArgumentException: IO error opening file 
stream.] with root cause>
java.io.IOException: The service definition file could not be saved at 
C:\etc\cas\services\jjjj-1644470923947.json
<============-> 93% EXECUTING [16m 21s]
.0.jar!/:6.3.0]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 
~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282) 
~[spring-core-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.cloud.context.scope.GenericScope$LockedScopedProxyFactoryBean.invoke(GenericScope.java:499)
 
~[spring-cloud-context-2.2.6.RELEASE.jar!/:2.2.6.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
<============-> 93% EXECUTING [23m 49s]
s.resource.DeleteResourceBasedRegisteredServiceWatcher] - <Unable to locate 
a matching service definition from file 
[C:\etc\cas\services\j-1644426833376.json]. Reloading cache...>
2022-02-10 10:59:10,456 WARN 
[org.apereo.cas.services.resource.AbstractResourceBasedServiceRegistry] - 
<[jjjj-1644470923947.json] is not readable. Check file permissions>3.0]
2022-02-10 10:59:10,456 WARN 
[org.apereo.cas.services.resource.DeleteResourceBasedRegisteredServiceWatcher] 
- <Unable to locate a matching service definition from file 
[C:\etc\cas\services\jjjj-1644470923947.json]. Reloading 
cache...>as-ser2022-02-10 10:59:20,579 WARN 
[org.apereo.cas.services.resource.DeleteResourceBasedRegisteredServiceWatcher] 
- <Unable to locate a matching service definition from file 
[C:\etc\cas\services\2323-1644470531071.json]. Reloading cache...>
2022-02-10 10:59:20,582 WARN 
[org.apereo.cas.services.resource.DeleteResourceBasedRegisteredServiceWatcher] 
- <Unable to locate a matching service definition from file 
[C:\etc\cas\services\dsds-1644425525731.json]. Reloading cache...>
<============-> 93% EXECUTING [10m 1s]
> :run
jar!/:5.2.12.RELEASE]
        at 
org.springframework.cloud.context.scope.GenericScope$LockedScopedProxyFactoryBean.invoke(GenericScope.java:499)
 
~[spring-cloud-context-2.2.6.RELEASE.jar!/:2.2.6.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at com.sun.proxy.$Proxy151.save(Unknown Source) ~[?:?]
        at 
org.apereo.cas.services.AbstractServicesManager.save(AbstractServicesManager.java:53)
 
~[cas-server-core-services-registry-6.3.0.jar!/:6.3.0]
        at 
org.apereo.cas.services.AbstractServicesManager.save(AbstractServicesManager.java:46)
 
~[cas-server-core-services-registry-6.3.0.jar!/:6.3.0]
        at 
org.apereo.cas.services.ChainingServicesManager.lambda$save$0(ChainingServicesManager.java:46)
 
~[cas-server-core-services-registry-6.3.0.jar!/:6.3.0]
        at java.util.Optional.map(Optional.java:265) ~[?:?]
        at 
org.apereo.cas.services.ChainingServicesManager.save(ChainingServicesManager.java:46)
 
~[cas-server-core-services-registry-6.3.0.jar!/:6.3.0]
        at 
org.apereo.cas.services.ChainingServicesManager$$FastClassBySpringCGLIB$$d1902915.invoke(<generated>)
 
~[cas-server-core-services-registry-6.3.0.jar!/:6.3.0]
        at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) 
~[spring-core-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.apereo.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:135)
 
~[inspektr-audit-1.8.10.GA.jar!/:1.8.10.GA]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 
~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.apereo.cas.services.ChainingServicesManager$$EnhancerBySpringCGLIB$$44456a72.save(<generated>)
 
~[cas-server-core-services-registry-6.3.0.jar!/:6.3.0]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 
~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282) 
~[spring-core-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.cloud.context.scope.GenericScope$LockedScopedProxyFactoryBean.invoke(GenericScope.java:499)
 
~[spring-cloud-context-2.2.6.RELEASE.jar!/:2.2.6.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
 
~[spring-aop-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at com.sun.proxy.$Proxy144.save(Unknown Source) ~[?:?]
        at 
org.apereo.cas.mgmt.ManagementServicesManager.save(ManagementServicesManager.java:75)
 
~[cas-mgmt-core-6.3.0.jar!/:6.3.0]
        at 
org.apereo.cas.mgmt.controller.ServiceController.save(ServiceController.java:172)
 
~[cas-mgmt-core-6.3.0.jar!/:6.3.0]
        at 
org.apereo.cas.mgmt.controller.ServiceController.saveService(ServiceController.java:158)
 
~[cas-mgmt-core-6.3.0.jar!/:6.3.0]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 
~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
 
~[spring-web-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
 
~[spring-web-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
 
~[spring-webmvc-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)
 
~[spring-webmvc-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)
 
~[spring-webmvc-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
 
~[spring-webmvc-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
 
~[spring-webmvc-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
 
~[spring-webmvc-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
 
~[spring-webmvc-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
 
~[spring-webmvc-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:665) 
~[javax.servlet-api-4.0.1.jar!/:4.0.1]
        at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
 
~[spring-webmvc-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) 
~[javax.servlet-api-4.0.1.jar!/:4.0.1]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apereo.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:66)
 
~[inspektr-common-1.8.10.GA.jar!/:1.8.10.GA]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
 
~[spring-web-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 
~[spring-web-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
 
~[spring-web-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 
~[spring-web-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
 
~[spring-web-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 
~[spring-web-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:764) 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) 
~[tomcat-catalina-9.0.41.jar!/:9.0.41]
        at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) 
~[tomcat-coyote-9.0.41.jar!/:9.0.41]
        at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
 
~[tomcat-coyote-9.0.41.jar!/:9.0.41]
        at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:888)
 
~[tomcat-coyote-9.0.41.jar!/:9.0.41]
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597)
 
~[tomcat-coyote-9.0.41.jar!/:9.0.41]
        at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 
~[tomcat-coyote-9.0.41.jar!/:9.0.41]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
~[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
~[?:?]
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 
~[tomcat-embed-core-9.0.41.jar!/:9.0.41]
        at java.lang.Thread.run(Thread.java:834) [?:?]

Thanks,
Praneeth Yaji.



On Thursday, November 2, 2017 at 1:00:45 AM UTC+5:30 David Curry wrote:

> Well, to follow up on my own question, I figured out the answer, although 
> I'm still a little confused.
>
> Apparently, if you enable the SAML IdP, CAS requires that a service be 
> defined in the service registry allowing access to
>
> ${cas.server.prefix}/idp/profile/SAML2/Callback.+
>
>
> As near as I can tell, this is not documented anywhere. :-(
>
> But anyway, if you don't have a service defined in your service registry 
> that matches URLs like the above, CAS will create one for you and stick it 
> into your service registry.
>
> So the reason I didn't encounter any problems when I was working on 
> setting up my SAML IdP is because I had a "wildcard" entry in my service 
> registry that matched the regular expression
>
> ^(https|imaps)://.*
>
>
> Since that expression matches the other one, the CAS server was happy. But 
> then I decided that I should really clean things up and get rid of my 
> wildcard service definition. As soon as I did that, the CAS server started 
> crashing on me.
>
> Why? Because when the CAS server creates that service registry entry, it 
> doesn't just stick it into the in-memory copy of the service registry, it 
> also tries to save it in the persistent store -- in this case, my 
> /etc/cas/services directory full of JSON files. But because I am not 
> running the services manager webapp yet, my /etc/cas/services directory 
> was not writable by the CAS server, and so...it failed.
>
> A few comments/suggestions:
>
>    - At a minimum, the need for this service to be defined (or for there 
>    to be something else that matches it) should be defined somewhere 
> (probably 
>    on the / Installation / SAML2 Authentication page). I would offer to 
>    do that, but I don't know why the service is needed (other than "the 
> server 
>    breaks without it") or what it's for.
>    - If there is no matching service and the server is going to create 
>    one on its own, a WARN-level log message should be given informing the 
>    administrator that this is what's happening, much like the warning 
> messages 
>    that appear when encryption keys are missing and therefore being 
> generated, 
>    etc. (The only log messages generated about this at the moment are at the 
>    DEBUG level, and they're not terribly informative unless you're starting 
> at 
>    the code.)
>    - I'm not sure I'm a big fan of the server creating things in my 
>    persistent registry store. I would suggest that, with the warning message 
>    mentioned above, it makes more sense for the server to only create the 
>    service registry entry in the in-memory registry, re-generating it each 
>    time the server is started (again, much like the encryption keys).
>
> I don't understand the affected code well enough to do the last two 
> bullets, but would be happy to help test if someone else is able to do 
> them...
>
> --Dave
>
>
> --
>
> DAVID A. CURRY, CISSP
> *DIRECTOR OF INFORMATION SECURITY*
> INFORMATION TECHNOLOGY
>
> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
> +1 212 229-5300 x4728 <(212)%20229-5300> • david...@newschool.edu
>
> [image: The New School]
>
> On Tue, Oct 31, 2017 at 4:29 PM, David Curry <david...@newschool.edu> 
> wrote:
>
>> CAS 5.2.0-SNAPSHOT built this morning with the Maven WAR overlay.
>>
>> Okay, so I have my JSON service registry set up to load JSON files from 
>> /etc/cas/services/. This has been working just fine for weeks. One of 
>> the files I have in there is called "
>> HTTPSandIMAPSwildcard-20170828090137.json", which contains:
>>
>> {
>>   /*
>>    * Wildcard service definition that applies to any https or imaps url.
>>    * Do not use this definition in a production environment.
>>    */
>>   "@class" :            "org.apereo.cas.services.RegexRegisteredService",
>>   "serviceId" :         "^(https|imaps)://.*",
>>   "name" :              "HTTPS and IMAPS wildcard",
>>   "id" :                20170828090137,
>>   "evaluationOrder" :   99999
>> }
>>
>>
>> This is basically the same thing as the "HTTPSandIMAPS-10000001.json" 
>> file that comes with CAS in the classpath.
>>
>> As long as I have the above file in /etc/cas/services, everything works 
>> fine. But if I remove it (because I really don't want a wildcard service 
>> pattern any more), then the server hits an error and fails to start. The 
>> stack trace is below, but these seem to be the relevant lines from 
>> cas.log:
>>
>> =============================================================
>> WHO: audit:unknown
>> WHAT: IO error opening file stream.
>> ACTION: SAVE_SERVICE_FAILED
>> APPLICATION: CAS
>> WHEN: Tue Oct 31 15:42:17 EDT 2017
>> CLIENT IP ADDRESS: unknown
>> SERVER IP ADDRESS: unknown
>> =============================================================
>>
>> Caused by: java.io.FileNotFoundException: 
>> /etc/cas/services/RegexRegisteredService-6805904835673174978.json 
>> (Permission denied)
>>
>> I have no idea what "SAVE_SERVICE_FAILED" is supposed to be telling me, 
>> since, as far as I know, I do not have anything set up to save services to 
>> disk (I am not, yet, using the services management webapp). I also have no 
>> idea what the "RegexRegisteredService-6805904835673174978.json" file is 
>> supposed to be; it's not anything that I created. And when I put my 
>> wildcard file back so that the server starts correctly, I do not see 
>> anything in /etc/cas/services that I didn't put there (i.e., I do not 
>> see the file in the error message above).
>>
>> Hopefully one of the many people on this list who are smarter than me has 
>> an idea what's causing this...
>>
>> Stack trace from cas.log:
>>
>> =============================================================
>> WHO: audit:unknown
>> WHAT: IO error opening file stream.
>> ACTION: SAVE_SERVICE_FAILED
>> APPLICATION: CAS
>> WHEN: Tue Oct 31 15:42:17 EDT 2017
>> CLIENT IP ADDRESS: unknown
>> SERVER IP ADDRESS: unknown
>> =============================================================
>>
>> >
>> 2017-10-31 15:42:17,992 WARN 
>> [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext]
>>  
>> - <Exception encountered during context initialization - cancelling refresh 
>> attempt: org.springframework.beans.factory.BeanCreationException: Error 
>> creating bean with name 'scopedTarget.ssoPostProfileHandlerController': 
>> Invocation of init method failed; nested exception is 
>> java.lang.IllegalArgumentException: IO error opening file stream.>
>> 2017-10-31 15:42:18,015 WARN [org.apereo.cas.util.io.PathWatcherService] 
>> - <Directory key is no longer valid. Quitting watcher service>
>> 2017-10-31 15:42:18,066 ERROR 
>> [org.springframework.boot.SpringApplication] - <Application startup failed>
>> org.springframework.beans.factory.BeanCreationException: Error creating 
>> bean with name 'scopedTarget.ssoPostProfileHandlerController': Invocation 
>> of init method failed; nested exception is 
>> java.lang.IllegalArgumentException: IO error opening file stream.
>>         at 
>> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:345)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:359)
>>  
>> ~[spring-cloud-context-1.2.4.RELEASE.jar:1.2.4.RELEASE]
>>         at 
>> org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:176)
>>  
>> ~[spring-cloud-context-1.2.4.RELEASE.jar:1.2.4.RELEASE]
>>         at 
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:340)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1078)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.cloud.context.scope.refresh.RefreshScope.start(RefreshScope.java:121)
>>  
>> ~[spring-cloud-context-1.2.4.RELEASE.jar:1.2.4.RELEASE]
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>  
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>  
>> ~[?:1.8.0_151]
>>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
>>         at 
>> org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:256)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:177)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:140)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144)
>>  
>> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>>         at 
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
>>  
>> ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
>>  
>> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>>         at 
>> org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
>>  
>> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>>         at 
>> org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
>>  
>> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>>         at 
>> org.springframework.boot.SpringApplication.run(SpringApplication.java:303) 
>> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>>         at 
>> org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:154)
>>  
>> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>>         at 
>> org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:134)
>>  
>> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>>         at 
>> org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:87)
>>  
>> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>>         at 
>> org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)
>>  
>> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5196)
>>  
>> ~[catalina.jar:8.5.20]
>>         at 
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
>> ~[catalina.jar:8.5.20]
>>         at 
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
>>  
>> ~[catalina.jar:8.5.20]
>>         at 
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) 
>> ~[catalina.jar:8.5.20]
>>         at 
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) 
>> ~[catalina.jar:8.5.20]
>>         at 
>> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144) 
>> ~[catalina.jar:8.5.20]
>>         at 
>> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)
>>  
>> ~[catalina.jar:8.5.20]
>>         at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
>> ~[?:1.8.0_151]
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
>> ~[?:1.8.0_151]
>>         at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>  
>> ~[?:1.8.0_151]
>>         at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>  
>> ~[?:1.8.0_151]
>>         at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
>> Caused by: java.lang.IllegalArgumentException: IO error opening file 
>> stream.
>>         at 
>> org.apereo.cas.services.AbstractResourceBasedServiceRegistryDao.save(AbstractResourceBasedServiceRegistryDao.java:336)
>>  
>> ~[cas-server-core-services-registry-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at 
>> org.apereo.cas.services.AbstractServicesManager.save(AbstractServicesManager.java:173)
>>  
>> ~[cas-server-core-services-registry-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at 
>> org.apereo.cas.services.AbstractServicesManager.save(AbstractServicesManager.java:164)
>>  
>> ~[cas-server-core-services-registry-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at 
>> org.apereo.cas.services.AbstractServicesManager$$FastClassBySpringCGLIB$$fbf64054.invoke(<generated>)
>>  
>> ~[cas-server-core-services-registry-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at 
>> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) 
>> ~[spring-core-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.apereo.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:134)
>>  
>> ~[inspektr-audit-1.7.GA.jar:1.7.GA]
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>  
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>  
>> ~[?:1.8.0_151]
>>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
>>         at 
>> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.apereo.cas.services.DefaultServicesManager$$EnhancerBySpringCGLIB$$1f6162aa.save(<generated>)
>>  
>> ~[cas-server-core-services-registry-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>  
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>  
>> ~[?:1.8.0_151]
>>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
>>         at 
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at com.sun.proxy.$Proxy110.save(Unknown Source) ~[?:?]
>>         at 
>> org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController.registerCallback(AbstractSamlProfileHandlerController.java:262)
>>  
>> ~[cas-server-support-saml-idp-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at 
>> org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController.initialize(AbstractSamlProfileHandlerController.java:183)
>>  
>> ~[cas-server-support-saml-idp-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>  
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>  
>> ~[?:1.8.0_151]
>>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
>>         at 
>> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         ... 46 more
>> Caused by: java.io.FileNotFoundException: 
>> /etc/cas/services/RegexRegisteredService-6805904835673174978.json 
>> (Permission denied)
>>         at java.io.FileOutputStream.open0(Native Method) ~[?:1.8.0_151]
>>         at java.io.FileOutputStream.open(FileOutputStream.java:270) 
>> ~[?:1.8.0_151]
>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:213) 
>> ~[?:1.8.0_151]
>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:162) 
>> ~[?:1.8.0_151]
>>         at 
>> org.apereo.cas.services.AbstractResourceBasedServiceRegistryDao.save(AbstractResourceBasedServiceRegistryDao.java:314)
>>  
>> ~[cas-server-core-services-registry-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at 
>> org.apereo.cas.services.AbstractServicesManager.save(AbstractServicesManager.java:173)
>>  
>> ~[cas-server-core-services-registry-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at 
>> org.apereo.cas.services.AbstractServicesManager.save(AbstractServicesManager.java:164)
>>  
>> ~[cas-server-core-services-registry-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at 
>> org.apereo.cas.services.AbstractServicesManager$$FastClassBySpringCGLIB$$fbf64054.invoke(<generated>)
>>  
>> ~[cas-server-core-services-registry-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at 
>> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) 
>> ~[spring-core-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.apereo.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:134)
>>  
>> ~[inspektr-audit-1.7.GA.jar:1.7.GA]
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>  
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>  
>> ~[?:1.8.0_151]
>>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
>>         at 
>> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.apereo.cas.services.DefaultServicesManager$$EnhancerBySpringCGLIB$$1f6162aa.save(<generated>)
>>  
>> ~[cas-server-core-services-registry-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>  
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>  
>> ~[?:1.8.0_151]
>>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
>>         at 
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
>>  
>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at com.sun.proxy.$Proxy110.save(Unknown Source) ~[?:?]
>>         at 
>> org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController.registerCallback(AbstractSamlProfileHandlerController.java:262)
>>  
>> ~[cas-server-support-saml-idp-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at 
>> org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController.initialize(AbstractSamlProfileHandlerController.java:183)
>>  
>> ~[cas-server-support-saml-idp-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>  
>> ~[?:1.8.0_151]
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>  
>> ~[?:1.8.0_151]
>>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
>>         at 
>> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         at 
>> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
>>  
>> ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>         ... 46 more
>>
>>
>>
>> --
>>
>> DAVID A. CURRY, CISSP
>> *DIRECTOR OF INFORMATION SECURITY*
>> INFORMATION TECHNOLOGY
>>
>> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
>> +1 212 229-5300 x4728 <(212)%20229-5300> • david...@newschool.edu
>>
>> [image: The New School]
>>
>
>

-- 
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/78ace14a-da26-4654-8b72-572c6636264cn%40apereo.org.

Reply via email to