java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/classpath:/database.beans.xml]

Spring JIRA | Tim Schafer | 1 decade ago
  1. 0

    2005-01-31 13:58:49 StandardContext[/kls2]Loading root WebApplicationContext 2005-01-31 13:58:49 StandardContext[/kls2]Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/classpath:/database.beans.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/classpath:/database.beans.xml] java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/classpath:/database.beans.xml] at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:89) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:127) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:226) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:180) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:170) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:129) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:144) at org.springframework.context.support.AbstractXmlApplicationContext.refreshBeanFactory(AbstractXmlApplicationContext.java:79) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:249) at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:167) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:101) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277) at org.apache.catalina.core.StandardHost.install(StandardHost.java:832) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:922) at org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:271) at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:95) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534)

    Spring JIRA | 1 decade ago | Tim Schafer
    java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/classpath:/database.beans.xml]
  2. 0

    2005-01-31 13:58:49 StandardContext[/kls2]Loading root WebApplicationContext 2005-01-31 13:58:49 StandardContext[/kls2]Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/classpath:/database.beans.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/classpath:/database.beans.xml] java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/classpath:/database.beans.xml] at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:89) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:127) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:226) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:180) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:170) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:129) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:144) at org.springframework.context.support.AbstractXmlApplicationContext.refreshBeanFactory(AbstractXmlApplicationContext.java:79) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:249) at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:167) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:101) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277) at org.apache.catalina.core.StandardHost.install(StandardHost.java:832) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:922) at org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:271) at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:95) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534)

    Spring JIRA | 1 decade ago | Tim Schafer
    java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/classpath:/database.beans.xml]
  3. 0

    ContextLoaderListener in JBoss/Tomcat

    springframework | 1 decade ago | javidjamae
    java.io.FileNotFoundException: Could not open resource \[/WEB-INF/spring.xml\] of ServletContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm getting a stack dump when doing the initial setup at the database step. This happens if I try to use the default database(HSQLDB) or MySQL. [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from resource [/WEB-INF/applicationContext.xml] of ServletContext; nested exception is java.io.FileNotFoundException: Could not open resource [/WEB-INF/applicationContext.xml] of ServletContext [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: java.io.FileNotFoundException: Could not open resource [/WEB-INF/applicationContext.xml] of ServletContext [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:73) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:125) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:125) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at org.springframework.context.support.AbstractXmlApplicationContext.refreshBeanFactory(AbstractXmlApplicationContext.java:65) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:226) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:156) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:97) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at bucket.container.SpringContainerContext.refresh(SpringContainerContext.java:128) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.atlassian.confluence.setup.ConfluenceHibernateSetup.configureDatabase(ConfluenceHibernateSetup.java:99) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.atlassian.confluence.setup.ConfluenceHibernateSetup.configureStandardDatabase(ConfluenceHibernateSetup.java:64) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.atlassian.confluence.setup.actions.SetupStandardDatabaseAction.execute(SetupStandardDatabaseAction.java:23) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:166) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.atlassian.confluence.setup.actions.SetupCheckInterceptor.intercept(SetupCheckInterceptor.java:27) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:34) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] info (11237): CORE3282: stdout: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) [02/Jul/2004:16:08:00] info (11237): CORE3282: stdout: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) [02/Jul/2004:16:08:00] info (11237): CORE3282: stdout: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:40) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:73) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.atlassian.confluence.util.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:91) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:278) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:248) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) [02/Jul/2004:16:08:00] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:145) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:146) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:84) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:95) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:27) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:25) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) [02/Jul/2004:16:08:01] warning (11237): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578)

    Atlassian JIRA | 1 decade ago | Eric Black
    java.io.FileNotFoundException: Could not open resource [/WEB-INF/applicationContext.xml] of ServletContext
  6. 0

    struts2和spring整合时,报异常 - 爱悠闲,快乐工作,悠闲生活!

    aiuxian.com | 1 year ago
    java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]</span>

  1. thiago.santos 1 times, last 7 months ago
  2. Kawada 8 times, last 8 months ago
10 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    Could not open ServletContext resource [/WEB-INF/classpath:/database.beans.xml]

    at org.springframework.web.context.support.ServletContextResource.getInputStream()
  2. Spring
    ServletContextResource.getInputStream
    1. org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:89)
    1 frame
  3. Spring Beans
    XmlBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:127)
    2. org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:226)
    3. org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:180)
    4. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:170)
    5. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:129)
    5 frames
  4. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:144)
    2. org.springframework.context.support.AbstractXmlApplicationContext.refreshBeanFactory(AbstractXmlApplicationContext.java:79)
    3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:249)
    3 frames
  5. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131)
    2. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:167)
    3. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:101)
    4. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
    4 frames
  6. Glassfish Core
    StandardHost.install
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    6. org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
    7. org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
    7 frames
  7. org.apache.catalina
    HTMLManagerServlet.doGet
    1. org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:922)
    2. org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:271)
    3. org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:95)
    3 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    2 frames
  9. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    4. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    6. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    8. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    9. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
    10. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    11. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    12. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    13. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    14. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    15. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    16. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    17. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    18. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    19. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    20. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    20 frames
  10. org.apache.coyote
    CoyoteAdapter.service
    1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    1 frame
  11. Embedded GlassFish Web
    SocketConnection.runIt
    1. org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    2. org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    3. org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    4. org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
    5. org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    5 frames
  12. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    1 frame
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:534)
    1 frame