Dear All,

Thanks for the asistance. The second suggestion to copy the entire folder 
solved all of the issues.
 Thanks, 
Chandrashekar Singh
 

     On Wednesday, 25 February 2015, 11:37, Yannick MOLINET 
<[email protected]> wrote:
   

 #yiv1062320227 #yiv1062320227 -- _filtered #yiv1062320227 {panose-1:2 4 5 3 5 
4 6 3 2 4;} _filtered #yiv1062320227 {font-family:Calibri;panose-1:2 15 5 2 2 2 
4 3 2 4;} _filtered #yiv1062320227 {font-family:Consolas;panose-1:2 11 6 9 2 2 
4 3 2 4;} _filtered #yiv1062320227 {} _filtered #yiv1062320227 
{font-family:Garamond;panose-1:2 2 4 4 3 3 1 1 8 3;}#yiv1062320227 
#yiv1062320227 p.yiv1062320227MsoNormal, #yiv1062320227 
li.yiv1062320227MsoNormal, #yiv1062320227 div.yiv1062320227MsoNormal 
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv1062320227 a:link, 
#yiv1062320227 span.yiv1062320227MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv1062320227 a:visited, #yiv1062320227 
span.yiv1062320227MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv1062320227 pre 
{margin:0cm;margin-bottom:.0001pt;font-size:10.0pt;}#yiv1062320227 
span.yiv1062320227PrformatHTMLCar {font-family:Consolas;}#yiv1062320227 
span.yiv1062320227EmailStyle19 {color:#1F497D;}#yiv1062320227 
.yiv1062320227MsoChpDefault {font-size:10.0pt;} _filtered #yiv1062320227 
{margin:70.85pt 70.85pt 70.85pt 70.85pt;}#yiv1062320227 
div.yiv1062320227WordSection1 {}#yiv1062320227 The /etc/cas/cas.properties 
refer in propertyFileConfigurer.xml is not found.    Create a /etc/cas folder 
and copy the content of the etc folder from the overlay-demo    Regards, 
Yannick    De : chandrashekar singh [mailto:[email protected]]
Envoyé : mercredi 25 février 2015 16:30
À : [email protected]
Objet : [cas-user] CAS war overlay demo project fails to deploy on tomcat.    
Dear All,    I am attempting to test CAS with an ldap server.    We am 
currently testing the war overlay demo project available from this website on 
Ubuntu 14.04    https://github.com/UniconLabs/simple-cas4-overlay-template    
Running mvn clean package generates the target without error. However when 
attempting to deploy the resulting cas.war in tomcat we have the following in 
the catlina.out log file.    Please let us know if there are any binary ldap 
capable cas war that we can try. Our aim is just to test cas on ldap as a proof 
of concept.       INFO: Deploying web application archive 
/home/ubuntu/ldap/cas/tomcat/webapps/cas.war
log4j:WARN No appenders could be found for logger 
(org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
SafeContextLoaderListener:
The Spring ContextLoaderListener we wrap threw on contextInitialized.
But for our having caught this error, the web application context would not 
have initialized.
org.springframework.beans.factory.BeanInitializationException: Could not load 
properties; nested exception is java.io.FileNotFoundException: 
/etc/cas/cas.properties (No such file or directory)
        at 
org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:147)
        at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)
        at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:656)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
        at 
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
        at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
        at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
        at 
org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_aroundBody0(SafeContextLoaderListener.java:75)
        at 
org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_aroundBody1$advice(SafeContextLoaderListener.java:57)
        at 
org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(SafeContextLoaderListener.java:1)
        at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
        at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
        at 
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: /etc/cas/cas.properties (No such file 
or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at java.io.FileInputStream.<init>(FileInputStream.java:101)
        at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
        at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
        at 
org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:125)
        at 
org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:181)
        at 
org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161)
        at 
org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:138)
        ... 22 more
Feb 25, 2015 11:17:13 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart   Thanks, Chandrashekar Singh       --  You are 
currently subscribed to [email protected] as: 
[email protected] To unsubscribe, change settings or access 
archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

   
-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to