Guess: start using file: in front of the path and try to avoid using back 
slashes. They have cost humanity many lives.



--Misagh



From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of satnam
Sent: Tuesday, November 15, 2016 3:30 PM
To: CAS Community <cas-user@apereo.org>
Subject: [cas-user] upgrading cas from 4.2.x to 5.0.x and getting Logging 
config file location '-Djava.util.logging.config.file' not found error



Hello,

we are trying to upgrade cas from 4.2.x to 5.0.x and getting error 
that 
-Djava.util.logging.config.file=C:\Projects\PASS5\trunk\test\apache-tomcat\cat_base\conf\logging.properties
 
file not found.  The logging.properties file does exist at location. Is 
there something we need to include?



2016-11-15 14:21:40,329 WARN 
[org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration]
 
 - <Logging config file location 
'-Djava.util.logging.config.file="C:\Projects\PASS5\trunk\test\apache-tomcat\cat_base\conf\logging.properties"'
 
cannot be opened and will be ignored>

Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: 
ServletContext resource 
[/-Djava.util.logging.config.file="C:/Projects/PASS5/trunk/test/apache-tomcat/cat_base/conf/logging.properties"]
 
cannot be resolved to URL because it does not exist
    at com.google.common.base.Throwables.propagate(Throwables.java:160)
    at 
org.apereo.cas.web.report.LoggingConfigController.initialize(LoggingConfigController.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:365)
    at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:310)
    at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
    ... 45 more
Caused by: java.io.FileNotFoundException: ServletContext resource 
[/-Djava.util.logging.config.file="C:/Projects/PASS5/trunk/test/apache-tomcat/cat_base/conf/logging.properties"]
 
cannot be resolved to URL because it does not exist
    at 
org.springframework.web.context.support.ServletContextResource.getURL(ServletContextResource.java:156)
    at 
org.springframework.core.io.AbstractResource.getURI(AbstractResource.java:99)
    at 
org.apereo.cas.web.report.LoggingConfigController.initialize(LoggingConfigController.java:81)


Thanks for help

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: 
https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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 
<mailto:cas-user+unsubscr...@apereo.org> .
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/630d656c-26ed-4398-8e24-fd4ca16ac653%40apereo.org
 
<https://groups.google.com/a/apereo.org/d/msgid/cas-user/630d656c-26ed-4398-8e24-fd4ca16ac653%40apereo.org?utm_medium=email&utm_source=footer>
 
.

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/027601d23f90%24753c43d0%245fb4cb70%24%40unicon.net.

Reply via email to