[jira] Commented: (COCOON-1987) Unable to get the object model from the context

2007-02-19 Thread Felix Knecht (JIRA)

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

Felix Knecht commented on COCOON-1987:
--

I think so, because the sample is not running without (the configured 
authentication handlers are not recognized). But it seems that I also trapped 
into the problem of moving files and then editing them. I'll fixed the patch if 
there's an interest in. Otherwise the issue can be closed.

 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 [EMAIL 
 PROTECTED]/,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)
  

[jira] Commented: (COCOON-1987) Unable to get the object model from the context

2007-02-18 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler commented on COCOON-1987:
--

So, is your patch still required? (Somehow the patch does not match against 
latest svn)

 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 [EMAIL 
 PROTECTED]/,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 
 

[jira] Commented: (COCOON-1987) Unable to get the object model from the context

2007-02-14 Thread Felix Knecht (JIRA)

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

Felix Knecht commented on COCOON-1987:
--

Now I'm getting some other error probably because of the configurations. I'll 
work on this and provide a patch as soon as I get the sample up and running.

BTW: I think I haven't enough Karma to close the issue as I'm not a committer.

 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)


 Can't run blocks/cocoon-authentication-fw-sample because of:
 2007-01-22 08:34:23.388::WARN:  Failed startup of context [EMAIL 
 PROTECTED]/,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 
 

[jira] Commented: (COCOON-1987) Unable to get the object model from the context

2007-02-13 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler commented on COCOON-1987:
--

I just committed a possible fix. Could you please test and then close this bug?

 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)


 Can't run blocks/cocoon-authentication-fw-sample because of:
 2007-01-22 08:34:23.388::WARN:  Failed startup of context [EMAIL 
 PROTECTED]/,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)