Hi Fotis, Thanks a lot for your reply. How do I remove the org.apereo.cas:cas-server-support-json-service-registry dependency if I'm using the CAS Initializr? Is this possible?' This is what I'm doing so far: getcas --directory cas-management-overlay-6.5.6 --type cas-management-overlay --casVersion 6.5.6 --modules support-jpa-service-registry Problem is that cas-management-overlay-6.5.6/gradle does not contain dependencies.gradle. Copying one in from https://github.com/apereo/cas-management/blob/6.5.x/gradle/dependencies.gradle and removing the reference to org.apereo.cas:cas-server-support-json-service-registry and then doing a "./gradlew clean build" still produces a cas-management.war that contains org.apereo.cas:cas-server-support-json-service-registry-6.5.6.jar I'm guessing the starter project is prebuilt with the cas-server-support-json-service-registry already configured?
I've tried building from the code from github but It doesn't seem to output a "cas-management.war" file like the output from CAS Initilizr: git clone https://github.com/apereo/cas-management.git git checkout v6.5.6 #edit cas-management/gradle/dependencies.gradle I haven't been able to compile a working cas-management webapp this way so far: running "./gradlew clean build" doesn't produce a cas-management.war file like the project from "getcas", rather it produces build/libs/cas-mgmt-6.5.6.jar which is not deployable to tomcat. Does anyone know how to produce the war file this way? Upgrading to cas-6.6.0/cas-mangement-6.6.0 via getcas doesn't work for me - cas-mangement seems to login OK, but then freezes at the "Loading..." page with no errors in the logs. cas-6.5.8/cas-mangement-6.5.6 via getcas does work, but with org.apereo.cas:cas-server-support-json-service-registry-6.5.6.jar still present. BTW - https://github.com/apereo/cas-management-overlay seems to be defunct with no updates since Jan 20, 2021 - https://github.com/apereo/cas-management seems to the current focus, Thanks, Trevor On Thursday, September 29, 2022 at 1:18:36 AM UTC-7 fme...@uoa.gr wrote: > Hello Trevor, > > The problem you face lies here > > https://github.com/apereo/cas-management/blob/6.5.x/gradle/dependencies.gradle#L797 > > The json service registry has been wrongly included as a core dependency > in the dependencies.gradle. This ensures that the relative jar will be > included in your build despite the fact that you have not personally > included the dependency in your build.gradle file. > > I have fixed the issue in the 6.6 version of the management app with a > simple PR (https://github.com/apereo/cas-management/pull/246). I have not > sumbitted the same PR for version 6.5 and 6.4 because I do not know the > CAS policy regarding backports. > > Kind regards, > > Fotis > > > Trevor, > > > > Make sure you are not including the JSON module, > > https://apereo.github.io/cas/6.5.x/services/JSON-Service-Management.html > > > > Next, try this: > > > > cas.serviceRegistry.initFromJson=false > > > > or less likely: > > > > mgmt.versionControl.enabled=false > > > > Ray > > > > On Wed, 2022-09-28 at 15:15 -0700, Trevor Fong wrote: > > Notice: This message was sent from outside the University of Victoria > > email system. Please be cautious with links and sensitive information. > > > > Hi There, > > I'm trying to set up a fresh CAS Management 6.5.6 instance for dev and > > have set it up for JPA based service registry, but it is also writing out > > created/updated services as JSON files. The result is that every > > created/updated record is repeated in the UI. Does anyone know how to > > turn off the file-base JSON functionality? Here're my service-registry > > properties: > > > > cas.service-registry.jpa.enabled=true > > cas.service-registry.jpa.user=REDACTED > > cas.service-registry.jpa.password=REDACTED > > cas.service-registry.jpa.driverClass=oracle.jdbc.OracleDriver > > cas.service-registry.jpa.url=jdbc:oracle:thin:@REDACTED:REDACTED:REDACTED > > cas.service-registry.jpa.dialect=org.hibernate.dialect.Oracle12cDialect > > cas.service-registry.jpa.leakThreshold=10 > > cas.service-registry.jpa.batchSize=1 > > cas.service-registry.jpa.autocommit=false > > cas.service-registry.jpa.idle-timeout=5000 > > cas.service-registry.jpa.fail-fast-timeout=1 > > cas.service-registry.jpa.health-query=SELECT 1 FROM DUAL > > cas.service-registry.jpa.isolate-internal-queries=false > > cas.service-registry.jpa.pool.suspension=false > > cas.service-registry.jpa.pool.minSize=2 > > cas.service-registry.jpa.pool.maxSize=5 > > cas.service-registry.jpa.pool.maxWait=2000 > > cas.service-registry.jpa.ddl-auto=validate > > > > cas.service-registry.yaml.watcherEnabled=false > > cas.service-registry.json.watcherEnabled=false > > cas.service-registry.core.init-from-json=false > > #cas.serviceRegistry.core.initFromJson=true > > #cas.serviceRegistry.json.location=file:/etc/cas/config/services > > > > Thanks a lot, > > Trevor > > > > > > -- > > - 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/a0da141c420cc800814440788ab02b98600fe926.camel%40uvic.ca > . > > > > > -- - 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/3ceeddb7-89cc-4e97-8899-7bfdbf17fe66n%40apereo.org.