cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Knecht (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1987) Unable to get the object model from the context
Date Sun, 18 Feb 2007 20:12:05 GMT

     [ https://issues.apache.org/jira/browse/COCOON-1987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Felix Knecht updated COCOON-1987:
---------------------------------

    Other Info: [Patch available]

> Unable to get the object model from the context
> -----------------------------------------------
>
>                 Key: COCOON-1987
>                 URL: https://issues.apache.org/jira/browse/COCOON-1987
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Authentication Framework
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Felix Knecht
>         Assigned To: Carsten Ziegeler
>             Fix For: 2.2-dev (Current SVN)
>
>         Attachments: authentication-fw.diff
>
>
> Can't run blocks/cocoon-authentication-fw-sample because of:
> 2007-01-22 08:34:23.388::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@bbb2d0{/,file:/home/felix/svn/apache/cocoon-2.2.x/core/cocoon-webapp/target/cocoon-webapp/}
> org.springframework.beans.factory.BeanCreationException: Unable to initialize Avalon
component with role org.apache.cocoon.webapps.authentication.AuthenticationManager; nested
exception is org.apache.cocoon.components.ContextResourceNotFoundException: Unable to get
the object model from the context.
> Caused by: org.apache.cocoon.components.ContextResourceNotFoundException: Unable to get
the object model from the context.
>         at org.apache.cocoon.components.ContextHelper.getObjectModel(ContextHelper.java:91)
>         at org.apache.cocoon.webapps.authentication.components.DefaultAuthenticationManager.configure(DefaultAuthenticationManager.java:109)
>         at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
>         at org.apache.cocoon.core.container.spring.avalon.AvalonBeanPostProcessor.postProcessBeforeInitialization(AvalonBeanPostProcessor.java:235)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:302)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1081)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
>         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
>         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.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:451)
>         at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
>         at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1219)
>         at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:421)
>         at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496)
>         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
>         at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
>         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
>         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
>         at org.mortbay.jetty.Server.doStart(Server.java:228)
>         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
>         at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:332)
>         at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:277)
>         at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:195)
>         at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.avalon.framework.context.ContextException: Unable to locate object-model
(No environment available)
>         at org.apache.cocoon.core.container.spring.avalon.ComponentContext.get(ComponentContext.java:71)
>         at org.apache.cocoon.components.ContextHelper.getObjectModel(ContextHelper.java:89)
>         ... 53 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message