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

Vladimir S Bronnikov updated COCOON-2090:
-----------------------------------------

    Component/s: - Build System: Maven
                 * Cocoon Core

> Acegi Security fail after first request with Exception "BeanFactory not 
> initialized or already closed..."
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: COCOON-2090
>                 URL: https://issues.apache.org/jira/browse/COCOON-2090
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core, - Build System: Maven, - Samples, Blocks: 
> Authentication Framework
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Vladimir S Bronnikov
>
> I install sample "cocoon-acegisecurity-sample" from block "cocoon-auth" and 
> run it with command jetty:run.
> Then I request on http://localhost:8888/cocoon-acegisecurity-sample/ - this 
> is the first request. All next requests fail with Exception (stacktrace):
> 2007-07-17 17:14:35.101::WARN:  /cocoon-acegisecurity-sample/welcome
> java.lang.IllegalStateException: BeanFactory not initialized or already 
> closed - call 'refresh' before accessing beans via the ApplicationContext
>         at 
> org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:121)
>         at 
> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:737)
>         at 
> org.acegisecurity.util.FilterChainProxy.obtainAllDefinedFilters(FilterChainProxy.java:221)
>         at 
> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:136)
>         at 
> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
>         at 
> org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingServletFilter.doFilter(ReloadingServletFilter.java:50)
>         at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
> Why this Exception throw? What's wrong?

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

Reply via email to