This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

The problem is the tenancyService is null, even with preConstruction true. I'm getting this warning in context initialization:

03/12/12 18:07:56 [main] DEBUG beans.factory.wiring.BeanConfigurerSupport:123 - BeanFactory has not been set on BeanConfigurerSupport: Make sure this configurer runs in a Spring container. Unable to configure bean of type [xpro.xmanager.xutil.hibernate.MultiTenantConnectio nProviderImpl]. Proceeding without injection.

This problem is happening only with this class. I think that "spring context" is not ready when my MultiTenantConnectionProviderImpl is instantiated. Am I right? What I supposed to do?