5 Replies Latest reply on Apr 2, 2014 11:43 AM by Pedro Gutierrez

    wcs login error

    6b55b1f6-6fb1-4bdb-b9fd-920e2ee6f379

      Hi,

       

      After installation of WebCenter sites , when  I access http://localhost:8080/cs/login , I am getting http status 404 - cas/login.

       

      Before accessing login page, when I start the Tomcat server , I am getting the below error -

       

      Can anyone help or encountered the same problem

       

      Mar 27, 2014 4:35:10 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory C:\apache-tomcat-7.0.52\webapps\cas
      2014-03-27 16:35:26,122 ERROR [org.springframework.web.context.ContextLoader] -
      <Context initialization failed>
      org.springframework.beans.factory.BeanInitializationException: Could not load pr
      operties; nested exception is java.io.FileNotFoundException: class path resource
      [cas.properties] cannot be opened because it does not exist
              at org.springframework.beans.factory.config.PropertyResourceConfigurer.p
      ostProcessBeanFactory(PropertyResourceConfigurer.java:78)
              at org.springframework.context.support.AbstractApplicationContext.invoke
      BeanFactoryPostProcessors(AbstractApplicationContext.java:553)
              at org.springframework.context.support.AbstractApplicationContext.invoke
      BeanFactoryPostProcessors(AbstractApplicationContext.java:527)
              at org.springframework.context.support.AbstractApplicationContext.refres
      h(AbstractApplicationContext.java:362)
              at org.springframework.web.context.ContextLoader.createWebApplicationCon
      text(ContextLoader.java:255)
              at org.springframework.web.context.ContextLoader.initWebApplicationConte
      xt(ContextLoader.java:199)
              at org.springframework.web.context.ContextLoaderListener.contextInitiali
      zed(ContextLoaderListener.java:45)
              at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(S
      afeContextLoaderListener.java:62)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
      t.java:4973)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContex
      t.java:5467)
              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:87
      7)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)

              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
      a:1229)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig
      .java:1875)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47
      1)
              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:724)
      Caused by: java.io.FileNotFoundException: class path resource [cas.properties] c
      annot be opened because it does not exist
              at org.springframework.core.io.ClassPathResource.getInputStream(ClassPat
      hResource.java:143)
              at org.springframework.core.io.support.PropertiesLoaderSupport.loadPrope
      rties(PropertiesLoaderSupport.java:182)
              at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProp
      erties(PropertiesLoaderSupport.java:161)
              at org.springframework.beans.factory.config.PropertyResourceConfigurer.p
      ostProcessBeanFactory(PropertyResourceConfigurer.java:69)
              ... 20 more
      2014-03-27 16:35:26,144 FATAL [org.jasig.cas.web.init.SafeContextLoaderListener]
      - <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 pr
      operties; nested exception is java.io.FileNotFoundException: class path resource
      [cas.properties] cannot be opened because it does not exist
              at org.springframework.beans.factory.config.PropertyResourceConfigurer.p
      ostProcessBeanFactory(PropertyResourceConfigurer.java:78)
              at org.springframework.context.support.AbstractApplicationContext.invoke
      BeanFactoryPostProcessors(AbstractApplicationContext.java:553)
              at org.springframework.context.support.AbstractApplicationContext.invoke
      BeanFactoryPostProcessors(AbstractApplicationContext.java:527)
              at org.springframework.context.support.AbstractApplicationContext.refres
      h(AbstractApplicationContext.java:362)
              at org.springframework.web.context.ContextLoader.createWebApplicationCon
      text(ContextLoader.java:255)
              at org.springframework.web.context.ContextLoader.initWebApplicationConte
      xt(ContextLoader.java:199)
              at org.springframework.web.context.ContextLoaderListener.contextInitiali
      zed(ContextLoaderListener.java:45)
              at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(S
      afeContextLoaderListener.java:62)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
      t.java:4973)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContex
      t.java:5467)
              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:87
      7)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)

              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
      a:1229)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig
      .java:1875)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47
      1)
              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:724)
      Caused by: java.io.FileNotFoundException: class path resource [cas.properties] c
      annot be opened because it does not exist
              at org.springframework.core.io.ClassPathResource.getInputStream(ClassPat
      hResource.java:143)
              at org.springframework.core.io.support.PropertiesLoaderSupport.loadPrope
      rties(PropertiesLoaderSupport.java:182)
              at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProp
      erties(PropertiesLoaderSupport.java:161)
              at org.springframework.beans.factory.config.PropertyResourceConfigurer.p
      ostProcessBeanFactory(PropertyResourceConfigurer.java:69)
              ... 20 more
      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 pr
      operties; nested exception is java.io.FileNotFoundException: class path resource
      [cas.properties] cannot be opened because it does not exist
              at org.springframework.beans.factory.config.PropertyResourceConfigurer.p
      ostProcessBeanFactory(PropertyResourceConfigurer.java:78)
              at org.springframework.context.support.AbstractApplicationContext.invoke
      BeanFactoryPostProcessors(AbstractApplicationContext.java:553)
              at org.springframework.context.support.AbstractApplicationContext.invoke
      BeanFactoryPostProcessors(AbstractApplicationContext.java:527)
              at org.springframework.context.support.AbstractApplicationContext.refres
      h(AbstractApplicationContext.java:362)
              at org.springframework.web.context.ContextLoader.createWebApplicationCon
      text(ContextLoader.java:255)
              at org.springframework.web.context.ContextLoader.initWebApplicationConte
      xt(ContextLoader.java:199)
              at org.springframework.web.context.ContextLoaderListener.contextInitiali
      zed(ContextLoaderListener.java:45)
              at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(S
      afeContextLoaderListener.java:62)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
      t.java:4973)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContex
      t.java:5467)
              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:87
      7)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)

              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
      a:1229)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig
      .java:1875)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47
      1)
              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:724)
      Caused by: java.io.FileNotFoundException: class path resource [cas.properties] c
      annot be opened because it does not exist
              at org.springframework.core.io.ClassPathResource.getInputStream(ClassPat
      hResource.java:143)
              at org.springframework.core.io.support.PropertiesLoaderSupport.loadPrope
      rties(PropertiesLoaderSupport.java:182)
              at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProp
      erties(PropertiesLoaderSupport.java:161)
              at org.springframework.beans.factory.config.PropertyResourceConfigurer.p
      ostProcessBeanFactory(PropertyResourceConfigurer.java:69)
              ... 20 more