Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-18329

Singleton beans are requested when Spring is being torn down

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • None
    • None
    • None
    • None

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      This doesn't seem to be breaking anything, but it is gumming up our logs.

      Jan 20, 2010 8:43:14 PM org.apache.catalina.core.ApplicationContext log
      INFO: Closing Spring root WebApplicationContext
      2010-01-20 20:43:14,370 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'userAccessor' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'userAccessor': 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!)
      2010-01-20 20:43:14,371 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'feedBuilder' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'feedBuilder': 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!)
      2010-01-20 20:43:14,372 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'linkResolver' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'linkResolver': 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!)
      2010-01-20 20:43:14,372 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'confluenceWysiwygConverter' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'confluenceWysiwygConverter': 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!)
      2010-01-20 20:43:14,373 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'draftManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'draftManager': 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!)
      2010-01-20 20:43:14,373 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'permissionManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'permissionManager': 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!)
      2010-01-20 20:43:14,374 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'spacePermissionManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'spacePermissionManager': 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!)
      2010-01-20 20:43:14,375 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'glueSoapServer' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'glueSoapServer': 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!)
      2010-01-20 20:43:14,375 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'axisSoapServer' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'axisSoapServer': 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!)
      2010-01-20 20:43:14,376 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'wikiStyleRenderer' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'wikiStyleRenderer': 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!)
      2010-01-20 20:43:14,376 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'importExportManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'importExportManager': 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!)
      2010-01-20 20:43:14,377 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'attachmentManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'attachmentManager': 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!)
      2010-01-20 20:43:14,377 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'soapServiceDelegator' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'soapServiceDelegator': 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!)

            [CONFSERVER-18329] Singleton beans are requested when Spring is being torn down

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2903550 ] New: CONFSERVER Bug Workflow v4 [ 2998146 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2801833 ] New: JAC Bug Workflow v3 [ 2903550 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2732292 ] New: JAC Bug Workflow v2 [ 2801833 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2397597 ] New: JAC Bug Workflow [ 2732292 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2295114 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2397597 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231191 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2295114 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190114 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231191 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1922176 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190114 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1730896 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1922176 ]
            jonah (Inactive) made changes -
            Description Original: This doesn't seem to be breaking anything, but it is gumming up our logs.

            Jan 20, 2010 8:43:14 PM org.apache.catalina.core.ApplicationContext log
            INFO: Closing Spring root WebApplicationContext
            2010-01-20 20:43:14,370 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'userAccessor' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'userAccessor': 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!)
            2010-01-20 20:43:14,371 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'feedBuilder' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'feedBuilder': 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!)
            2010-01-20 20:43:14,372 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'linkResolver' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'linkResolver': 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!)
            2010-01-20 20:43:14,372 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'confluenceWysiwygConverter' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'confluenceWysiwygConverter': 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!)
            2010-01-20 20:43:14,373 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'draftManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'draftManager': 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!)
            2010-01-20 20:43:14,373 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'permissionManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'permissionManager': 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!)
            2010-01-20 20:43:14,374 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'spacePermissionManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'spacePermissionManager': 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!)
            2010-01-20 20:43:14,375 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'glueSoapServer' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'glueSoapServer': 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!)
            2010-01-20 20:43:14,375 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'axisSoapServer' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'axisSoapServer': 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!)
            2010-01-20 20:43:14,376 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'wikiStyleRenderer' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'wikiStyleRenderer': 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!)
            2010-01-20 20:43:14,376 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'importExportManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'importExportManager': 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!)
            2010-01-20 20:43:14,377 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'attachmentManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'attachmentManager': 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!)
            2010-01-20 20:43:14,377 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'soapServiceDelegator' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'soapServiceDelegator': 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!)
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This bug report is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/CONFCLOUD-18329].
              {panel}

            This doesn't seem to be breaking anything, but it is gumming up our logs.

            Jan 20, 2010 8:43:14 PM org.apache.catalina.core.ApplicationContext log
            INFO: Closing Spring root WebApplicationContext
            2010-01-20 20:43:14,370 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'userAccessor' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'userAccessor': 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!)
            2010-01-20 20:43:14,371 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'feedBuilder' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'feedBuilder': 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!)
            2010-01-20 20:43:14,372 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'linkResolver' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'linkResolver': 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!)
            2010-01-20 20:43:14,372 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'confluenceWysiwygConverter' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'confluenceWysiwygConverter': 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!)
            2010-01-20 20:43:14,373 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'draftManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'draftManager': 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!)
            2010-01-20 20:43:14,373 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'permissionManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'permissionManager': 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!)
            2010-01-20 20:43:14,374 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'spacePermissionManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'spacePermissionManager': 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!)
            2010-01-20 20:43:14,375 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'glueSoapServer' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'glueSoapServer': 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!)
            2010-01-20 20:43:14,375 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'axisSoapServer' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'axisSoapServer': 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!)
            2010-01-20 20:43:14,376 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'wikiStyleRenderer' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'wikiStyleRenderer': 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!)
            2010-01-20 20:43:14,376 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'importExportManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'importExportManager': 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!)
            2010-01-20 20:43:14,377 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'attachmentManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'attachmentManager': 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!)
            2010-01-20 20:43:14,377 WARN [Timer-4] [atlassian.confluence.setup.ConfluenceListableBeanFactory] getTypeForFactoryBean Encountered FactoryBean creation exception for bean 'soapServiceDelegator' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'soapServiceDelegator': 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!)

              Unassigned Unassigned
              edalgliesh Eric Dalgliesh
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: