upgrading to 5.2.2

21 views
Skip to first unread message

Satnam Sarai

unread,
Feb 8, 2018, 6:56:23 PM2/8/18
to CAS Community
Hello,

I noticed that CAS throwing following two warning..

2018-02-08 15:48:54,324 WARN [org.apereo.cas.web.report.util.ControllerUtils] - Logging configuration cannot be found in the environment settings
2018-02-08 15:49:13,607 WARN [org.apereo.cas.web.report.util.ControllerUtils] - Logging configuration cannot be found in the environment settings
2018-02-08 15:49:22,203 WARN [org.apereo.cas.config.CasCoreServicesConfiguration] - Runtime memory is used as the persistence storage for retrieving and persisting service definitions. Changes that are made to service definitions during runtime WILL be LOST upon container restarts. Ideally for production, you need to choose a storage option (JDBC, etc) to store and track service definitions.


we are using JPA Service Registry to store service tickets.  i am not sure why it is still throwing that warning. 

for Logging configuration, it is referring to log4j2.xml file?  I have set following in CAS.properties file. 

logging.config=C:/Projects/PASS5.2/trunk/test/apache-tomcat/cat_base/conf/log4j2.xml
server.contextParameters.isLog4jAutoInitializationDisabled=true




thanks,

David Curry

unread,
Feb 8, 2018, 7:24:41 PM2/8/18
to cas-...@apereo.org
I'm not sure about the logging warnings, but the service registry message is a side effect of the way CAS starts up and wires all the modules together at run time. Basically, the message is being printed before the JPA registry modules are loaded. So it's true when it's printed, but a minute or so later, it's not true any more. I see the same message in my log with the Mongo service registry. As I understand it (which is barely at best) the options are either to remove the checking all together, or keep the checking and live with the extraneous warning, and the developers chose the latter option.


David A. Curry,  CISSP
Director of Information Security
The New School - Information Technology
71 Fifth Ave., 9th Fl. ~ New York, NY 10003
+1 212 229-5300 x4728david...@newschool.edu
Sent from my phone; please excuse typos and inane auto-corrections.
   

--
- 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+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/459e0556-66e8-4584-a1ca-df9d196bfa62%40apereo.org.

Reply all
Reply to author
Forward
0 new messages