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? This is what I'm doing so far: getcas --directory cas-management-overlay-6.5.6 --type cas-management-overlay --casVersion 6.5.46--modules support-jpa-service-registry
Thanks, Trev On Thursday, September 29, 2022 at 1:18:36 AM UTC-7 [email protected] 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 [email protected]. > > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/f9c67b95-bf94-4ecc-b945-36a971e4822cn%40apereo.org.
