Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BeanFactory not initialized or already closed #2436

Closed
Limraj opened this issue Dec 10, 2022 · 0 comments
Closed

BeanFactory not initialized or already closed #2436

Limraj opened this issue Dec 10, 2022 · 0 comments
Labels
Milestone

Comments

@Limraj
Copy link
Collaborator

Limraj commented Dec 10, 2022

Description
When shutting down the application, an exception appears: IllegalStateException BeanFactory not initialized or already closed.

@Limraj Limraj added the bug label Dec 10, 2022
@Limraj Limraj modified the milestones: 2.7.4.1, 2.7.4.2 Dec 10, 2022
Limraj added a commit that referenced this issue Dec 16, 2022
…ext MangoContextListener moved to ScadaContextRefreshedEvent, after initialized spring dispatcher servlet, destroy context moved to ScadaContextClosedEvent, removed MangoContextListener in web.xml; Created GetSecurityBeans; def databaseSource moved to applicationContext.xml from spring-security.xml; highestAlarmLevelServiceWithCache disabled lazy-init; BasePooledAccess.initializeImpl(String propertyPrefix, String dataSourceName) databaseSource using from Spring container; DataPointRT - created fields dataPointServiceWebSocket, pointValueService; EventManager - created fields userEventServiceWebsocket, eventsServiceWebSocket; deprecated: User.valueBound moved to AuthenticationUtils, User.valueUnbound moved to ScadaHeaderWriterLogoutHandler, ApplicationBeans.Lazy; HighestAlarmLevelServiceWithCache - changed init method, removed @PostConstruct on init(), initialized in MangoContextListener; corrected tests: ConfigDataPointRtTest, ScriptExecutorTest, ScriptTest, ScriptWithObjectContextEnableDisableDataPointTest, ScriptWithObjectContextEnableDisableDataSourceTest, ScriptWithObjectContextWriteDataPointTest, RuntimeManagerCreateDataPointRtTest, ButtonComponentTest, ScriptComponentTest and MockUtils, ScriptTestUtils;
Limraj added a commit that referenced this issue Dec 16, 2022
…tialized_or_already_closed

#2436 BeanFactory not initialized or already closed - initialize cont…
Limraj added a commit that referenced this issue Dec 16, 2022
…s: DAO, BasePooledAccess; lazy JdbcTemplate in PlcAlarmsDAO; PlcAlarmsService and PlcAlarmsDAO as spring bean;
@Limraj Limraj closed this as completed Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant