Hi, I have a trouble with CAS Management Web App (version 6.1.0-RC and version 6.0.x) , while I save new registry to CAS. Here is my error: *Error 1:*
ERROR [org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/cas-management].[dispatcherServlet]] - <Servlet.service() for servlet [dispatcherServlet] in context with path [/cas-management] threw exception> org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found: /etc/cas/services-repo/.git Here is my config: *1. CAS config* cas.server.name=https://ssostandalone.vdc2.com.vn:8443 cas.server.prefix=${cas.server.name}/cas logging.config: file:/etc/cas/config/log4j2.xml server.port=8443 server.ssl.enabled=true cas.serviceRegistry.initFromJson=false #cas.serviceRegistry.json.location=file:/etc/cas/services-repo cas.serviceRegistry.json.location=file:/etc/cas/vnpt-service-repo cas.authn.oauth.grants.resourceOwner.requireServiceHeader=true cas.authn.oauth.userProfileViewType=NESTED cas.authn.policy.requiredHandlerAuthenticationPolicyEnabled=false cas.authn.attributeRepository.stub.attributes.email=casu...@example.org #REST API JSON cas.rest.attributeName=email cas.rest.attributeValue=.+example.* *2. CAS Management Config* cas.server.name=https://ssostandalone.vdc2.com.vn:8443 cas.server.prefix=${cas.server.name}/cas mgmt.serverName=https://ssostandalone.vdc2.com.vn:8088 mgmt.adminRoles[0]=ROLE_ADMIN mgmt.userPropertiesFile=file:/etc/cas/config/users.json mgmt.userRoles[0]=ROLE_USER spring.thymeleaf.mode=HTML server.port=8088 server.ssl.enabled=true server.ssl.keyStore=file:/etc/cas/thekeystore server.ssl.keyStorePassword=changeit server.ssl.keyPassword=changeit logging.config=file:/etc/cas/config/log4j2-management.xml *3. Service registry (in /etc/cas/vnpt-service-repo)* root@ssostandalone:/etc/cas/vnpt-service-repo# cat casManagement-4.json { "@class" : "org.apereo.cas.services.RegexRegisteredService", "serviceId":"^https://ssostandalone.vdc2.com.vn:8088/.+", "name" : "casManagement", "id" : 4, "evaluationOrder" : 10, "allowedAttributes":["cn","mail"] } Please help me. Thank you. -- - 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/6c9240c2-7a3c-45ed-8b79-2a509db13cc6%40apereo.org.
