com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/wicket-phonebook' failed to start. Check the logs for more details.

SpringSource Issue Tracker | Radhika Madala (c) | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The attached app is fails to deploy on dm Server 2.0 snapshot build giving the "java.lang.ClassNotFoundException: org.w3c.dom.ls.DocumentLS" The full stack trace can be found in the attachment. The same app is deployed successfully in 2.0.0.M2 [2009-06-16 09:48:07.464] async-delivery-thread-1 ContainerBase.[Catalina].[localhost].[/wicket-phonebook].unknown E Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener com.springsource.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/w3c/dom/ls/DocumentLS in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:141) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:102) at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:88) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilder(XmlBeanDefinitionReader.java:268) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:221) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:102) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102) at com.springsource.server.web.core.internal.WebBundlePersonality.onStarted(WebBundlePersonality.java:84) at com.springsource.kernel.deployer.core.module.AbstractModule.onStarted(AbstractModule.java:218) at com.springsource.kernel.deployer.core.module.StandardModule.onStarted(StandardModule.java:654) at com.springsource.kernel.deployer.core.module.DeployerBundleListener$2$1.run(DeployerBundleListener.java:148) at com.springsource.kernel.concurrent.ExecutorServiceDelegate$KernelRunnable.run(ExecutorServiceDelegate.java:121) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:637) Caused by: com.springsource.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/w3c/dom/ls/DocumentLS in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.defineClass(KernelBundleClassLoader.java:334) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:574) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:544) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:475) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:463) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:443) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:194) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:376) at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:452) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:88) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:137) ... 33 more Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:675) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:166) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.defineClass(KernelBundleClassLoader.java:332) ... 45 more Caused by: com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: org.w3c.dom.ls.DocumentLS in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:139) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) ... 49 more Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ls.DocumentLS at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:443) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:88) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:137) ... 51 more [2009-06-16 09:48:07.465] async-delivery-thread-1 org.apache.catalina.core.StandardContext.unknown E Error listenerStart [2009-06-16 09:48:07.466] async-delivery-thread-1 org.apache.catalina.core.StandardContext.unknown E Context [/wicket-phonebook] startup failed due to previous errors [2009-06-16 09:48:07.552] async-delivery-thread-1 ngsource.osgi.webcontainer.internal.StandardWebContainer.unknown E Failed to start web application at context path '/wicket-phonebook' com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/wicket-phonebook' failed to start. Check the logs for more details. at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:105) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102) at com.springsource.server.web.core.internal.WebBundlePersonality.onStarted(WebBundlePersonality.java:84) at com.springsource.kernel.deployer.core.module.AbstractModule.onStarted(AbstractModule.java:218) at com.springsource.kernel.deployer.core.module.StandardModule.onStarted(StandardModule.java:654) at com.springsource.kernel.deployer.core.module.DeployerBundleListener$2$1.run(DeployerBundleListener.java:148) at com.springsource.kernel.concurrent.ExecutorServiceDelegate$KernelRunnable.run(ExecutorServiceDelegate.java:121) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:637)

    SpringSource Issue Tracker | 8 years ago | Radhika Madala (c)
    com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/wicket-phonebook' failed to start. Check the logs for more details.
  2. 0

    The attached app is fails to deploy on dm Server 2.0 snapshot build giving the "java.lang.ClassNotFoundException: org.w3c.dom.ls.DocumentLS" The full stack trace can be found in the attachment. The same app is deployed successfully in 2.0.0.M2 [2009-06-16 09:48:07.464] async-delivery-thread-1 ContainerBase.[Catalina].[localhost].[/wicket-phonebook].unknown E Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener com.springsource.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/w3c/dom/ls/DocumentLS in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:141) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:102) at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:88) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilder(XmlBeanDefinitionReader.java:268) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:221) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:102) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102) at com.springsource.server.web.core.internal.WebBundlePersonality.onStarted(WebBundlePersonality.java:84) at com.springsource.kernel.deployer.core.module.AbstractModule.onStarted(AbstractModule.java:218) at com.springsource.kernel.deployer.core.module.StandardModule.onStarted(StandardModule.java:654) at com.springsource.kernel.deployer.core.module.DeployerBundleListener$2$1.run(DeployerBundleListener.java:148) at com.springsource.kernel.concurrent.ExecutorServiceDelegate$KernelRunnable.run(ExecutorServiceDelegate.java:121) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:637) Caused by: com.springsource.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/w3c/dom/ls/DocumentLS in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.defineClass(KernelBundleClassLoader.java:334) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:574) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:544) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:475) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:463) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:443) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:194) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:376) at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:452) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:88) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:137) ... 33 more Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:675) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:166) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.defineClass(KernelBundleClassLoader.java:332) ... 45 more Caused by: com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: org.w3c.dom.ls.DocumentLS in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:139) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) ... 49 more Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ls.DocumentLS at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:443) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:88) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:137) ... 51 more [2009-06-16 09:48:07.465] async-delivery-thread-1 org.apache.catalina.core.StandardContext.unknown E Error listenerStart [2009-06-16 09:48:07.466] async-delivery-thread-1 org.apache.catalina.core.StandardContext.unknown E Context [/wicket-phonebook] startup failed due to previous errors [2009-06-16 09:48:07.552] async-delivery-thread-1 ngsource.osgi.webcontainer.internal.StandardWebContainer.unknown E Failed to start web application at context path '/wicket-phonebook' com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/wicket-phonebook' failed to start. Check the logs for more details. at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:105) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102) at com.springsource.server.web.core.internal.WebBundlePersonality.onStarted(WebBundlePersonality.java:84) at com.springsource.kernel.deployer.core.module.AbstractModule.onStarted(AbstractModule.java:218) at com.springsource.kernel.deployer.core.module.StandardModule.onStarted(StandardModule.java:654) at com.springsource.kernel.deployer.core.module.DeployerBundleListener$2$1.run(DeployerBundleListener.java:148) at com.springsource.kernel.concurrent.ExecutorServiceDelegate$KernelRunnable.run(ExecutorServiceDelegate.java:121) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:637)

    SpringSource Issue Tracker | 8 years ago | Radhika Madala (c)
    com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/wicket-phonebook' failed to start. Check the logs for more details.
  3. 0

    I followed instructions on how to install greenpages 2.0.XX on dm server version 2.0.M3, it fails to start with the following error below in the trace output file: [2009-08-03 20:04:43.608] async-delivery-thread-1 .core.ContainerBase.[Catalina].[localhost].[/greenpages].unknown E Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'directory': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.lang.Class[]] for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [greenpages.Directory] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:276) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:273) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:175) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:504) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:716) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:383) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:117) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102) at com.springsource.server.web.core.internal.WebBundlePersonality.onStarted(WebBundlePersonality.java:84) at com.springsource.kernel.deployer.core.module.AbstractModule.onStarted(AbstractModule.java:218) at com.springsource.kernel.deployer.core.module.StandardModule.onStarted(StandardModule.java:654) at com.springsource.kernel.deployer.core.module.DeployerBundleListener$2$1.run(DeployerBundleListener.java:148) at com.springsource.kernel.concurrent.ExecutorServiceDelegate$KernelRunnable.run(ExecutorServiceDelegate.java:121) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.lang.Class[]] for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [greenpages.Directory] at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:385) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1288) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1011) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:475) ... 34 more Caused by: java.lang.IllegalArgumentException: Cannot find class [greenpages.Directory] at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:291) at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:67) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:358) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:334) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:168) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:132) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:380) ... 38 more Caused by: java.lang.ClassNotFoundException: greenpages.Directory not found from bundle [greenpages-2-greenpages.web] at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at org.springframework.util.ClassUtils.forName(ClassUtils.java:255) at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:288) ... 44 more Caused by: com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: greenpages.Directory in KernelBundleClassLoader: [bundle=greenpages-2-greenpages.web_2.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:139) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:321) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99) ... 48 more Caused by: java.lang.ClassNotFoundException: greenpages.Directory at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:137) ... 53 more [2009-08-03 20:04:43.609] async-delivery-thread-1 org.apache.catalina.core.StandardContext.unknown E Error listenerStart [2009-08-03 20:04:43.610] async-delivery-thread-1 org.apache.catalina.core.StandardContext.unknown E Context [/greenpages] startup failed due to previous errors [2009-08-03 20:04:43.613] async-delivery-thread-1 ngsource.osgi.webcontainer.internal.StandardWebContainer.unknown E Failed to start web application at context path '/greenpages' com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/greenpages' failed to start. Check the logs for more details. at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:120) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102) at com.springsource.server.web.core.internal.WebBundlePersonality.onStarted(WebBundlePersonality.java:84) at com.springsource.kernel.deployer.core.module.AbstractModule.onStarted(AbstractModule.java:218) at com.springsource.kernel.deployer.core.module.StandardModule.onStarted(StandardModule.java:654) at com.springsource.kernel.deployer.core.module.DeployerBundleListener$2$1.run(DeployerBundleListener.java:148) at com.springsource.kernel.concurrent.ExecutorServiceDelegate$KernelRunnable.run(ExecutorServiceDelegate.java:121) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) [2009-08-03 20:04:43.614] Thread-23 .springsource.server.web.core.internal.WebApplicationEventLogger E <SPWE0005E> Failed to start web bundle '/greenpages': consult the Server trace.log for further details.

    SpringSource Issue Tracker | 8 years ago | Vadim Marchenko
    com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/greenpages' failed to start. Check the logs for more details.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Dropped com.springsource.configuration.properties.war into pickup (with or without accompanying properties file). Clearly something wrong with confguration of app... Get these messages on console: [2009-09-04 09:44:52.241] fs-watcher <HD0001I> Processing 'CREATED' event for file 'com.springsource.configuration.properties.war'. [2009-09-04 09:44:53.026] fs-watcher <DE0056I> Installing bundle 'com.springsource.configuration.properties' version '1.0.0.BUILD-20090904084344'. [2009-09-04 09:44:54.359] fs-watcher <DE0057I> Installed bundle 'com.springsource.configuration.properties' version '1.0.0.BUILD-20090904084344'. [2009-09-04 09:44:54.408] fs-watcher <DE0059I> Starting bundle 'com.springsource.configuration.properties' version '1.0.0.BUILD-20090904084344'. [2009-09-04 09:44:54.427] Thread-2 <WE0000I> Starting web bundle 'com.springsource.configuration.properties' context path '/configProps'. [2009-09-04 09:44:54.459] Thread-2 <WE0005E> Failed to start web bundle '/configProps': consult the Server trace.log for further details. [2009-09-04 09:44:54.462] fs-watcher <DE0060I> Started bundle 'com.springsource.configuration.properties' version '1.0.0.BUILD-20090904084344'. Got this exception in com.springsource.configuration.properties-1.0.0.BUILD-20090904084344 log file: [2009-09-04 09:44:54.452] fs-watcher org.apache.catalina.core.StandardContext Error getConfigured [2009-09-04 09:44:54.452] fs-watcher org.apache.catalina.core.StandardContext Context [/configProps] startup failed due to previous errors [2009-09-04 09:44:54.452] fs-watcher com.springsource.osgi.webcontainer.internal.StandardWebContainer Failed to start web application at context path '/configProps' com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/configProps' failed to start. Check the logs for more details. at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:120) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:75) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:202) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:302) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:282) at com.springsource.kernel.dm.internal.StandardBundleStarter.signalCompletion(StandardBundleStarter.java:171) at com.springsource.kernel.dm.internal.StandardBundleStarter.awaitStart(StandardBundleStarter.java:163) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:118) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:273) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:261) at com.springsource.kernel.module.internal.CompositeBundleStarter.start(CompositeBundleStarter.java:92) at com.springsource.kernel.install.artifact.internal.StandardBundleDriver.asyncStart(StandardBundleDriver.java:173) at com.springsource.kernel.install.artifact.internal.StandardBundleInstallArtifact.doAsyncStart(StandardBundleInstallArtifact.java:245) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStart(AbstractInstallArtifact.java:267) at com.springsource.kernel.install.artifact.internal.StandardBundleInstallArtifact.asyncStart(StandardBundleInstallArtifact.java:238) at com.springsource.kernel.install.artifact.internal.BundleDriverBundleListener.bundleChanged(BundleDriverBundleListener.java:78) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1350) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1301) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:363) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:117) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:273) at com.springsource.kernel.module.internal.CompositeBundleStarter.start(CompositeBundleStarter.java:99) at com.springsource.kernel.install.artifact.internal.StandardBundleDriver.syncStart(StandardBundleDriver.java:159) at com.springsource.kernel.install.artifact.internal.StandardBundleInstallArtifact.doSyncStart(StandardBundleInstallArtifact.java:230) at com.springsource.kernel.install.artifact.internal.StandardBundleInstallArtifact.syncStart(StandardBundleInstallArtifact.java:214) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.syncStart(AbstractInstallArtifact.java:239) at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.start(PipelinedApplicationDeployer.java:265) at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:173) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:192) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:89) at com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:182) at com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.java:145) at com.springsource.kernel.deployer.hot.WatchTask.run(WatchTask.java:69) at java.lang.Thread.run(Thread.java:637) But cannot find anything else in the logs to diagnose this with.

    SpringSource Issue Tracker | 8 years ago | Steve Powell
    com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/configProps' failed to start. Check the logs for more details.
  6. 0

    Dropped com.springsource.configuration.properties.war into pickup (with or without accompanying properties file). Clearly something wrong with confguration of app... Get these messages on console: [2009-09-04 09:44:52.241] fs-watcher <HD0001I> Processing 'CREATED' event for file 'com.springsource.configuration.properties.war'. [2009-09-04 09:44:53.026] fs-watcher <DE0056I> Installing bundle 'com.springsource.configuration.properties' version '1.0.0.BUILD-20090904084344'. [2009-09-04 09:44:54.359] fs-watcher <DE0057I> Installed bundle 'com.springsource.configuration.properties' version '1.0.0.BUILD-20090904084344'. [2009-09-04 09:44:54.408] fs-watcher <DE0059I> Starting bundle 'com.springsource.configuration.properties' version '1.0.0.BUILD-20090904084344'. [2009-09-04 09:44:54.427] Thread-2 <WE0000I> Starting web bundle 'com.springsource.configuration.properties' context path '/configProps'. [2009-09-04 09:44:54.459] Thread-2 <WE0005E> Failed to start web bundle '/configProps': consult the Server trace.log for further details. [2009-09-04 09:44:54.462] fs-watcher <DE0060I> Started bundle 'com.springsource.configuration.properties' version '1.0.0.BUILD-20090904084344'. Got this exception in com.springsource.configuration.properties-1.0.0.BUILD-20090904084344 log file: [2009-09-04 09:44:54.452] fs-watcher org.apache.catalina.core.StandardContext Error getConfigured [2009-09-04 09:44:54.452] fs-watcher org.apache.catalina.core.StandardContext Context [/configProps] startup failed due to previous errors [2009-09-04 09:44:54.452] fs-watcher com.springsource.osgi.webcontainer.internal.StandardWebContainer Failed to start web application at context path '/configProps' com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/configProps' failed to start. Check the logs for more details. at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:120) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:75) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:202) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:302) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:282) at com.springsource.kernel.dm.internal.StandardBundleStarter.signalCompletion(StandardBundleStarter.java:171) at com.springsource.kernel.dm.internal.StandardBundleStarter.awaitStart(StandardBundleStarter.java:163) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:118) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:273) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:261) at com.springsource.kernel.module.internal.CompositeBundleStarter.start(CompositeBundleStarter.java:92) at com.springsource.kernel.install.artifact.internal.StandardBundleDriver.asyncStart(StandardBundleDriver.java:173) at com.springsource.kernel.install.artifact.internal.StandardBundleInstallArtifact.doAsyncStart(StandardBundleInstallArtifact.java:245) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStart(AbstractInstallArtifact.java:267) at com.springsource.kernel.install.artifact.internal.StandardBundleInstallArtifact.asyncStart(StandardBundleInstallArtifact.java:238) at com.springsource.kernel.install.artifact.internal.BundleDriverBundleListener.bundleChanged(BundleDriverBundleListener.java:78) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1350) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1301) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:363) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:117) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:273) at com.springsource.kernel.module.internal.CompositeBundleStarter.start(CompositeBundleStarter.java:99) at com.springsource.kernel.install.artifact.internal.StandardBundleDriver.syncStart(StandardBundleDriver.java:159) at com.springsource.kernel.install.artifact.internal.StandardBundleInstallArtifact.doSyncStart(StandardBundleInstallArtifact.java:230) at com.springsource.kernel.install.artifact.internal.StandardBundleInstallArtifact.syncStart(StandardBundleInstallArtifact.java:214) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.syncStart(AbstractInstallArtifact.java:239) at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.start(PipelinedApplicationDeployer.java:265) at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:173) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:192) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:89) at com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:182) at com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.java:145) at com.springsource.kernel.deployer.hot.WatchTask.run(WatchTask.java:69) at java.lang.Thread.run(Thread.java:637) But cannot find anything else in the logs to diagnose this with.

    SpringSource Issue Tracker | 8 years ago | Steve Powell
    com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/configProps' failed to start. Check the logs for more details.

    Root Cause Analysis

    1. com.springsource.osgi.webcontainer.core.spi.ServletContainerException

      Web application at '/wicket-phonebook' failed to start. Check the logs for more details.

      at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication()
    2. com.springsource.osgi
      StandardWebContainer$StandardWebApplication.start
      1. com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:105)
      2. com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102)
      2 frames
    3. com.springsource.server
      WebBundlePersonality.onStarted
      1. com.springsource.server.web.core.internal.WebBundlePersonality.onStarted(WebBundlePersonality.java:84)
      1 frame
    4. com.springsource.kernel
      ExecutorServiceDelegate$KernelRunnable.run
      1. com.springsource.kernel.deployer.core.module.AbstractModule.onStarted(AbstractModule.java:218)
      2. com.springsource.kernel.deployer.core.module.StandardModule.onStarted(StandardModule.java:654)
      3. com.springsource.kernel.deployer.core.module.DeployerBundleListener$2$1.run(DeployerBundleListener.java:148)
      4. com.springsource.kernel.concurrent.ExecutorServiceDelegate$KernelRunnable.run(ExecutorServiceDelegate.java:121)
      4 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      3. java.lang.Thread.run(Thread.java:637)
      3 frames