Hi, did you get the solution? I am stuck at the same point.
thanks. On Wednesday, November 16, 2016 at 4:00:00 AM UTC+5:30, satnam wrote: > > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/0543eb7b-ff8f-44ef-ae88-7867b5be0e04%40apereo.org.
