cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Hoechstaedter <j.hoechstaed...@memocomp.de>
Subject Re: Invocation of init method failed
Date Fri, 04 Jul 2008 13:28:53 GMT
the log from localhost:

2008-07-04 15:25:38 
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: 
init(): ruleChain: [org.apache.webapp.balancer.RuleChain: 
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: 
News / Redirect URL: http://www.cnn.com], 
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param 
name: paramName / Target param value: paramValue / Redirect URL: 
http://www.yahoo.com], 
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: 
http://jakarta.apache.org]]
2008-07-04 15:25:38 StandardContext[/myCocoonWebapp-1.0]Initializing 
Spring root WebApplicationContext
2008-07-04 15:25:42 StandardContext[/myCocoonWebapp-1.0]Apache Cocoon 
Spring Configurator v1.0.2 is running in mode 'prod'.
2008-07-04 15:25:43 StandardContext[/myCocoonWebapp-1.0]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 'de.memocomp.myBlock1.service': Invocation of init method 
failed; nested exception is java.lang.NoSuchMethodError: 
org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar([Lorg/apache/xerces/xni/parser/XMLInputSource;)V
    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1260)
    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:438)
    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383)
    at java.security.AccessController.doPrivileged(Native Method)
    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:353)
    at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
    at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
    at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
    at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:394)
    at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:736)
    at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
    at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
    at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    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.startup.HostConfig.deployWARs(HostConfig.java:617)
    at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
    at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
    at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
    at 
org.apache.catalina.core.StandardService.start(StandardService.java:480)
    at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
Caused by: java.lang.NoSuchMethodError: 
org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar([Lorg/apache/xerces/xni/parser/XMLInputSource;)V
    at 
org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source)
    at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.<init>(TreeProcessor.java:122)
    at 
org.apache.cocoon.sitemap.SitemapServlet$RequestProcessor.getProcessor(SitemapServlet.java:122)
    at 
org.apache.cocoon.servlet.RequestProcessor.<init>(RequestProcessor.java:108)
    at 
org.apache.cocoon.sitemap.SitemapServlet$RequestProcessor.<init>(SitemapServlet.java:100)
    at org.apache.cocoon.sitemap.SitemapServlet.init(SitemapServlet.java:75)
    at javax.servlet.GenericServlet.init(GenericServlet.java:211)
    at 
org.apache.cocoon.servletservice.spring.ServletFactoryBean.init(ServletFactoryBean.java:156)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1325)
    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1294)
    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1257)
    ... 39 more

2008-07-04 15:25:43 StandardContext[/myCocoonWebapp-1.0]Closing Spring 
root WebApplicationContext
2008-07-04 15:25:43 StandardContext[/jsp-examples]ContextListener: 
contextInitialized()
2008-07-04 15:25:43 StandardContext[/jsp-examples]SessionListener: 
contextInitialized()
2008-07-04 15:25:43 StandardContext[/servlets-examples]ContextListener: 
contextInitialized()
2008-07-04 15:25:43 StandardContext[/servlets-examples]SessionListener: 
contextInitialized()
2008-07-04 15:26:04 StandardContext[/manager]HTMLManager: init: 
Associated with Deployer 'localhost'
2008-07-04 15:26:04 StandardContext[/manager]HTMLManager: init: Global 
resources are available
2008-07-04 15:26:04 StandardContext[/manager]HTMLManager: list: Listing 
contexts for virtual host 'localhost'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message