Hi Bob,
I'm glad to hear it. I will try to see if it deserves a PR at least to
start a discussion about it.
Regards
Michele
On Tuesday, March 24, 2020 at 4:02:15 PM UTC+1, Bob wrote:
>
> Hello Michele,
>
> Finally managed to get it working by commenting out the code you
> mentioned. Now it doe
Hello Michele,
Finally managed to get it working by commenting out the code you mentioned.
Now it does read the JSON files and store it in MySQL database.
I exported the database records as a SQL script and then reinstated the
code so it should be good to go.
Thank you very much again!
Regards,
Thank you Michele,
If I can disable it just once to get some data in my MySQL database that
would be enough for me.
I'll try it out.
By the way, I'm currently testing with CAS 6.1.4 and don't see your code
snippet so it probably changed already. Will do some digging to get the
same result.
You
Hi Bob,
I had a similar regression from 6.0 to 6.1. The problem is that
EmbeddedResourceBasedServiceRegistry is registered in the registries chain.
So, when the ServiceRegistryInitializer.java checks at row 66 if the json
service exists already, it is found from
EmbeddedResourceBasedServiceReg
Bob,
You can see what SQL is being created,
https://apereo.github.io/cas/6.1.x/configuration/Configuration-Properties-Common.html#hibernate--jdbc.
Also turn up logging, maybe for org.springframework.orm.jpa, or add an entry
for hibernate.
Ray
On Thu, 2020-01-30 at 04:00 -0800, Bob wrote:
Than
Thanks Misagh and Ray,
I cloned the cas-overlay-template in a new location and used the settings
Misagh suggested but I still have the same problem that my casdb still has
an empty regex_registered_service table.
Here's what I'm using:
Here's what I'm using:
CAS Version: 6.1.0
CAS Branch: 6.1.
Something along the following lines should work:
cas.serviceRegistry.initFromJson=true
cas.serviceRegistry.json.location=file:/etc/cas/config/services
- Then, make sure your JSON files are in the above noted directory.
- Then, make sure your overlay contains a reference to the JPA service
regis
Bob,
We are using the 5.1.5 version of cas management. You only need to upgrade it
if you want newer features, etc.
I also have grumblings about the 6.x version. I put off upgrading cas
management until it settles.
Ray
On Tue, 2020-01-28 at 12:34 -0800, Bob wrote:
Hi Ray,
No, I'm currently ju
Hi Ray,
No, I'm currently just using the cas overlay (6.1.x).
I did try to get cas management working but had some issue with a
pre-defined service registry in some kind of git repo.
Whenever I tried to enter a service via cas management, there was no option
to save it to my database. All it eve
Bob,
Are you using the cas management server,
https://github.com/apereo/cas-management-overlay?
If you are, what do the logs say when you try to save?
Ray
On Tue, 2020-01-28 at 03:50 -0800, Bob wrote:
Hello,
We are upgrading to CAS 6.1.x.
Most things seem to work fine (LDAP and reading Service
Sorry.. it's this error:
Caused by: java.lang.IllegalArgumentException: More than one fragment with
the name [log4j] was found. This is not legal with relative ordering. See
section 8.2.2 2c of the Servlet specification for details. Consider using
absolute ordering.
On Thursday, November 14,
I watched the catalina log and found this error when the management app was
loading:
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cas-managemen
No, I don't. Every time I try to add it to the management pom, it will not
start with Tomcat. Is there another dependency that I need or a config
setting that keeps it from loading? I can't seem to locate the log that
the cas-management app should be creating to see why it is not loading.
A
Do you have the cas-server-support-mongo-service-registry dependency in
the cas-management pom.xml as well as the cas server pom.xml? I didn't see
it in the excerpt you provided.
--Dave
--
DAVID A. CURRY, CISSP
*DIRECTOR • INFORMATION SECURITY & PRIVACY*
THE NEW SCHOOL • INFORMATION TECHNOLO
Va,
'usage' in mvnrepository means how many projects have a dependency on that
project, not number of downloads.
Ray
On Sun, 2019-05-19 at 07:28 -0700, Va Sja wrote:
Hmm...
..looks really like "Security through obscurity" :((
Guys - how many peoples use CAS worldwide?
looks like nobody?
SRC: h
Hmm...
..looks really like "Security through obscurity" :((
Guys - how many peoples use CAS worldwide?
looks like nobody?
SRC: https://mvnrepository.com/artifact/org.apereo.cas/cas-server-webapp
Am Freitag, 31. August 2018 13:05:02 UTC+2 schrieb 党田力:
>
> I had test on 5.2.6 adn 5.2.7 version
>
What about 5.3.x? :-D
Am Dienstag, 15. Mai 2018 00:47:36 UTC+2 schrieb Man H:
>
>
> where are these pointing to:
>
> cas.serviceRegistry.json.location for 5.2.x
> or
> cas.serviceRegistry.config.location for 5.1.x
>
> 2018-05-14 19:41 GMT-03:00 Jann Malenkoff >:
>
>> FYI --- the following appea
please can you share with me your LDAP configuration , exactly the
modification of the file "cas.properties" modification ,
have you modfied some classes in the overlay.?
thanks alot
Le lundi 3 septembre 2018 03:21:33 UTC+2, 党田力 a écrit :
>
> But 5.1.9 works.
> Why?
>
> 在 2018年8月31日星期五 UTC+8下
please can you share with me your LDAP configuration , exactly the
modification of the file "cas.properties" modification ,
have you modfied some classes in the overlay.?
thanks alot
Le lundi 3 septembre 2018 03:21:33 UTC+2, 党田力 a écrit :
>
> But 5.1.9 works.
> Why?
>
> 在 2018年8月31日星期五 UTC+8下
But 5.1.9 works.
Why?
在 2018年8月31日星期五 UTC+8下午9:46:17,Francois Campbell写道:
>
> Hi.
>
> I believe only one of the two should be in the pom.xml file at a time.
>
> Regards
> *Francois Campbell*
> Teaching and Learning Product Lead
>
>
>
>
>
>
> On Fri, 31 Aug 2018 at 13:05, 党田力 >
> wrote:
>
>>
Hi.
I believe only one of the two should be in the pom.xml file at a time.
Regards
*Francois Campbell*
Teaching and Learning Product Lead
On Fri, 31 Aug 2018 at 13:05, 党田力 wrote:
> I had test on 5.2.6 adn 5.2.7 version
> Only append `cas-server-support-json-service-registry` to pom.xm
I debug the JsonServiceRegistryConfiguration, the class is not loaded.
Then I change the version of spring from 1.5.12 to 1.5.15, nothing changes.
在 2018年8月31日星期五 UTC+8下午7:05:02,党田力写道:
>
> I had test on 5.2.6 adn 5.2.7 version
> Only append `cas-server-support-json-service-registry` to pom.xml, th
I had test on 5.2.6 adn 5.2.7 version
Only append `cas-server-support-json-service-registry` to pom.xml, the '
cas.serviceRegistry.initFromJson=true' is worked.
Only append `cas-server-support-jpa-service-registry` to pom.xml, the
database is worked.
But I append both them, the services defined in
Hi David:
You Sir --- are a gentleman and a scholar.
Very much appreciated from both of us.
Working exactly as you have outlined.
Please accept out utmost gratitude.
On Tuesday, May 15, 2018 at 5:15:55 AM UTC-7, David Curry wrote:
>
> Lionel and Jann,
>
> Did you ever have the JSON service re
Lionel and Jann,
Did you ever have the JSON service registry working? If not, I recommend
that you take all the JPA stuff out of pom.xml and cas.properties and get
that working correctly first, so that you're only trying to debug one thing
at a time. Once you have the JSON service registry working
Does the tomcat service have proper read rights to the json files and/or the
/etc/cas/services/ directories?
From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of Jann
Malenkoff
Sent: May-14-18 9:39 PM
To: CAS Community
Subject: Re: [cas-user] Service Registry -- Getting the 1st
Changing in "cas.properties"
'cas.serviceRegistry.json.location:file:/etc/cas/services' to
'cas.serviceRegistry.json.location:foobar:/etc/cas/services'
The above does not generate an error message --- is that a sign it's not
loaded?
On Monday, May 14, 2018 at 8:25:37 PM UTC-7, Lionel Samuel w
I'm working with Jann -- attached is our pom file (we call the jar my-cas
-- which is reflected in the URLs).
It does not look like the JSON file is loaded -- I don't think it's pom
related --- but at the moment we are both stumped so anything goes.
2018-05-14 20:23:17,715 WARN
[org.apereo.cas
Attached is my 'cas.properties' file --- in case I may be missing
something there (very likely)
On Monday, May 14, 2018 at 5:09:12 PM UTC-7, Jann Malenkoff wrote:
>
> I had a minor Eureka moment --- but it came to fraught (partially).
>
> I has a typo in the 'cas.properties' file:
> cas.servi
I had a minor Eureka moment --- but it came to fraught (partially).
I has a typo in the 'cas.properties' file:
cas.serviceRegistry.json.location:file:/etc/cas/service
i,e, 'service' instead of 'services' --- corrected now (validated that the
json files are in '/etc/cas/services').
But still no
I'm on 5.2.4 --- I had earlier the 5.1 (i.e.
cas.serviceRegistry.config.location)
in 'cas.properties'--- now, updated to below (the 5.2.x version)
cas.serviceRegistry.json.location:file:/etc/cas/service
cas.serviceRegistry.initFromJson=true
Still getting error below:
2018-05-14 16:11:41,016 WA
where are these pointing to:
cas.serviceRegistry.json.location for 5.2.x
or
cas.serviceRegistry.config.location for 5.1.x
2018-05-14 19:41 GMT-03:00 Jann Malenkoff :
> FYI --- the following appears in 'catalina.out' when attempting to access '
> http://localhost:8080/cas-management/manage.html,'
Yes, you would want to flip that to true. There should be something in
the logs. I don't remember which component actually does the work to do
the initial import, if it is the server or the manager. I do seem to
recall one of them logging something about importing it.
On 05/14/2018 05:41 PM, J
FYI --- the following appears in 'catalina.out' when attempting to access
'http://localhost:8080/cas-management/manage.html,'.
2018-05-14 15:39:09,152 WARN
[org.apereo.cas.services.web.ServiceThemeResolver] - http://localhost:8080/cas-management/manage.html,originalUrl=http://localhost:8080/cas-
Hi Richard:
I have the following in 'cas.properties':
cas.serviceRegistry.initFromJson=true
Is that correct to enable the first read from JSON? I have been staring at
the screen for so long and begining to doubt myself w.r.t true/false flags.
On Monday, May 14, 2018 at 3:30:38 PM UTC-7, richar
Do you have initialization on from JSON? Not sure if it will use your
file or just the defaults. Either way, it should get you into the
manager. Then you configure the manager service, and turn that property off.
# Auto-initialize the registry from default JSON service definitions #
cas.servic
I do not have it deployed in production yet, so I can't really comment on
its stability under any kind of load. I haven't run into any setbacks in
getting everything set up and configured, but I haven't (yet) tried to
pound on it.
I think there are some other folks on the list who are running it (
Is 5.2 stable? Have you had any setbacks with it? I had planned to move to
5.0.10 later this month but is very concerned about recovery of the service
registry; too many services with only the option of a full database
recovery.
Thanks,
-Jeff
On Wed, Dec 6, 2017 at 7:49 AM, David Curry
wrote:
>
Looks like you're right; it was added in 5.2RC1:
https://apereo.github.io/2017/06/30/520rc1-release/#016-registered-services-endpoint
Sorry 'bout that; I didn't set it up in my environment until I was at
5.2RC4, so I never saw it when it wasn't there.
--Dave
--
DAVID A. CURRY, CISSP
*DIRECTO
David,
It appears the option to dump the registry is only available in 5.2 and not
in 5.0 or 5.1.
cas.monitor.endpoints.registeredServicesReport.enabled=true
cas.monitor.endpoints.registeredServicesReport.sensitive=false
Unless, I'm not understanding this correctly.
-Jeff
On Mon, Dec 4, 2017 a
Well, I had that turned on but didn't notice that option so, I'll redeploy.
Thank you,
-Jeff
On Mon, Dec 4, 2017 at 2:51 PM, David Curry
wrote:
>
> I don't have a specific MySQL-ish answer, but if you've configured the
> dashboard ("admin pages"), the "Registered Services" button will give you
I don't have a specific MySQL-ish answer, but if you've configured the
dashboard ("admin pages"), the "Registered Services" button will give you a
JSON document that contains the entire registry.
It's just a REST endpoint (https://your.server.name/cas/status/services),
so depending on how you've
You also have to add
org.apereo.cas
cas-server-support-json-service-registry
${cas.version}
to your pom.xml.
--Dave
--
DAVID A. CURRY, CISSP
*DIRECTOR OF INFORMATION SECURITY*
INFORMATION TECHNOLOGY
71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-530
43 matches
Mail list logo