cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <>
Subject Cocoon spring configuration dumps loads of exceptions when spring context initialization fails.
Date Sat, 09 Mar 2013 14:02:58 GMT
If for some reason spring context creation fails for almost each
cocoon bean I get:

ERROR 2013-03-09 14:56.30:271
 Destroy method on bean with name 'configurator:bean-map#14003fc'
threw an exception
Error creating bean with name
Singleton bean creation not allowed while the singletons of this
factory are in destruction (Do not request a bean from a BeanFactory
in a destroy method implementation!)
        at org.apache.cocoon.spring.configurator.impl.BeanMap.load(
        at org.apache.cocoon.spring.configurator.impl.BeanMap.checkInit(
        at org.apache.cocoon.spring.configurator.impl.BeanMap.hashCode(
        at java.util.concurrent.ConcurrentHashMap.remove(Unknown Source)

I have completely NO idea how to fix this without breaking BeanMap
hashCode() contract.

Can anyone help?

Leszek Gawron

View raw message