cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Nettingsmeier <netti...@apache.org>
Subject 2.1 trunk broken? problem with jxtemplate component...
Date Thu, 05 Apr 2007 15:33:54 GMT
hi everyone!


i've just updated my lenya tree, and the servlet engine bails out on 
startup with this error message:

org.apache.avalon.framework.service.ServiceException: Could not find 
component (key 
[org.apache.cocoon.template.expression.StringTemplateParser/jxtg]) 
(Key='org.apache.cocoon.template.expression.StringTemplateParser/jxtg')

a quick check shows that this component is declared in lenya's cocoon 
2.1.11-dev external, which is why i'm posting here. can anyone reproduce 
the problem?

the relevant portion of my servlet engine log is attached below.

if you want to see the problem for yourself, check out 
http://lenya.zones.apache.org:9999.

any enlightenment is appreciated :)


best,

jörn




main DEBUG core.manager - ComponentFactory creating new instance of 
org.apache.cocoon.template.expression.JXTGStringTemplateParser.
main DEBUG core.manager - no logger attribute available, using standard 
logger
main DEBUG core.manager - ComponentHandler initialized for: 
org.apache.cocoon.template.expression.JXTGStringTemplateParser
main DEBUG core.manager - Adding 
org.apache.cocoon.template.expression.JXTGStringTemplateParser for hint 
[jxtg]
main DEBUG core.manager - ComponentFactory creating new instance of 
org.apache.cocoon.template.expression.DefaultStringTemplateParser.
main DEBUG core.manager - no logger attribute available, using standard 
logger
main DEBUG core.manager - ComponentHandler initialized for: 
org.apache.cocoon.template.expression.DefaultStringTemplateParser
main DEBUG core.manager - Adding 
org.apache.cocoon.template.expression.DefaultStringTemplateParser for 
hint [default]
main DEBUG core.manager - ComponentHandler initialized for: 
org.apache.cocoon.components.ExtendedComponentSelector
main DEBUG core.manager - ComponentFactory creating new instance of 
org.apache.cocoon.template.script.DefaultScriptManager.
main DEBUG core.manager - no logger attribute available, using standard 
logger
main DEBUG core.manager - ComponentFactory creating new instance of 
org.apache.cocoon.template.script.DefaultInstructionFactory.
main DEBUG core.manager - no logger attribute available, using standard 
logger
main DEBUG core.manager - Resolving 
'resource://org/apache/cocoon/template/template-instructions.xml' with 
base 'null' in context 'file:/b
uild/lenya-trunk-rework-pubconf/build/lenya/webapp/'
main DEBUG core.manager - Resolved to systemID : 
resource://org/apache/cocoon/template/template-instructions.xml
main DEBUG core.manager - Creating source object for 
resource://org/apache/cocoon/template/template-instructions.xml
main DEBUG core.manager - Releasing source object for 
resource://org/apache/cocoon/template/template-instructions.xml
main DEBUG core.manager - ComponentHandler initialized for: 
org.apache.cocoon.template.script.DefaultInstructionFactory
main DEBUG core.manager - Could not find component for role: 
org.apache.cocoon.template.expression.StringTemplateParser/jxtg
main ERROR core.manager - Caught an exception trying to initialize the 
component handler.
org.apache.avalon.framework.service.ServiceException: Could not find 
component (key [org.apache.cocoon.template.expression.StringTemplateP
arser/jxtg]) 
(Key='org.apache.cocoon.template.expression.StringTemplateParser/jxtg')
         at 
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:80)
         at 
org.apache.cocoon.template.script.DefaultScriptManager.service(DefaultScriptManager.java:68)
         at 
org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:143)
         at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:271)
         at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
         at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
         at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583)
         at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
         at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345)
         at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
         at 
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1429)
         at 
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:499)
         at 
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)
         at 
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)
         at 
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
         at 
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:323)
         at 
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:511)
         at 
org.mortbay.jetty.plus.PlusWebAppContext.doStart(PlusWebAppContext.java:149)
         at org.mortbay.util.Container.start(Container.java:72)
         at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
         at org.mortbay.jetty.plus.Server.doStart(Server.java:153)
         at org.mortbay.util.Container.start(Container.java:72)
         at org.mortbay.jetty.plus.Server.main(Server.java:202)
         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:585)
         at Loader.invokeMain(Unknown Source)
         at Loader.run(Unknown Source)
         at Loader.main(Unknown Source)
Caused by: org.apache.avalon.framework.component.ComponentException: 
Could not find component (key [org.apache.cocoon.template.expression.
StringTemplateParser/jxtg])
         at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:265)
         at 
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:354)
         at 
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:68)
         ... 29 more
main ERROR access - Exception reloading
org.apache.avalon.framework.service.ServiceException: Could not find 
component (key [org.apache.cocoon.template.expression.StringTemplateP
arser/jxtg]) 
(Key='org.apache.cocoon.template.expression.StringTemplateParser/jxtg')
         at 
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:80)
         at 
org.apache.cocoon.template.script.DefaultScriptManager.service(DefaultScriptManager.java:68)
         at 
org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:143)
         at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:271)
         at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
         at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
         at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583)
         at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
         at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345)
         at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
         at 
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1429)
         at 
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:499)
         at 
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)
         at 
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)
         at 
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
         at 
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:323)
         at 
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:511)
         at 
org.mortbay.jetty.plus.PlusWebAppContext.doStart(PlusWebAppContext.java:149)
         at org.mortbay.util.Container.start(Container.java:72)
         at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
         at org.mortbay.jetty.plus.Server.doStart(Server.java:153)
         at org.mortbay.util.Container.start(Container.java:72)
         at org.mortbay.jetty.plus.Server.main(Server.java:202)
         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:585)
         at Loader.invokeMain(Unknown Source)
         at Loader.run(Unknown Source)
         at Loader.main(Unknown Source)
Caused by: org.apache.avalon.framework.component.ComponentException: 
Could not find component (key [org.apache.cocoon.template.expression.
StringTemplateParser/jxtg])
         at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:265)
         at 
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:354)
         at 
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:68)
         ... 29 more

Mime
View raw message