Fwd: WildFly 26.1.0: Failover is not working as expected

195 views
Skip to first unread message

vijen reddy

unread,
Mar 29, 2023, 5:14:40 PM3/29/23
to wil...@googlegroups.com
I still stuck with this issue... I really appreciate your help...
Here is the log details after forcefully shut down the server:

2023-03-23 14:34:56,244 [,,] INFO  [org.jboss.as.server] WFLYSRV0272: Suspending server
2023-03-23 14:34:56,260 [,,] INFO  [org.jboss.modcluster] MODCLUSTER000021: All pending requests drained from default-host:/QTrade in 0.0 seconds
2023-03-23 14:34:56,260 [,,] INFO  [org.jboss.as.ejb3] WFLYEJB0493: Jakarta Enterprise Beans subsystem suspension complete
2023-03-23 14:34:56,264 [,,] INFO  [org.jboss.as.server] WFLYSRV0241: Shutting down in response to management operation 'shutdown'
2023-03-23 14:34:56,296 [,,] DEBUG [org.wildfly.extension.undertow] Stopping console redirect for default-host
2023-03-23 14:34:56,302 [,,] INFO  [org.jboss.as.connector.subsystems.datasources] WFLYJCA0010: Unbound data source [java:jboss/jdbc/ERP]
2023-03-23 14:34:56,304 [,,] INFO  [org.jboss.as.mail.extension] WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
2023-03-23 14:34:56,305 [,,] INFO  [org.jboss.as.connector.subsystems.datasources] WFLYJCA0010: Unbound data source [java:jboss/jdbc/Trade]
2023-03-23 14:34:56,305 [,,] INFO  [org.jboss.as.connector.subsystems.datasources] WFLYJCA0010: Unbound data source [java:jboss/jdbc/datawarehouse]
2023-03-23 14:34:56,309 [,,] INFO  [org.infinispan.manager.DefaultCacheManager] Stopping cache manager null on devqtradevm01
2023-03-23 14:34:56,315 [,,] INFO  [org.infinispan.CLUSTER] ISPN000080: Disconnecting JGroups channel ejb
2023-03-23 14:34:56,315 [,,] INFO  [org.infinispan.manager.DefaultCacheManager] Stopping cache manager null on devqtradevm01
2023-03-23 14:34:56,316 [,,] DEBUG [org.wildfly.extension.batch] Removing batch environment; ModuleClassLoader for Module "deployment.QTrade.war" from Service Module Loader
2023-03-23 14:34:56,318 [,,] INFO  [org.infinispan.CLUSTER] ISPN000080: Disconnecting JGroups channel ejb
2023-03-23 14:34:56,320 [,,] DEBUG [org.infinispan.manager.DefaultCacheManager] Stopped cache manager null
2023-03-23 14:34:56,321 [,,] DEBUG [org.infinispan.manager.DefaultCacheManager] Stopped cache manager null
2023-03-23 14:34:56,321 [,,] INFO  [org.jboss.modcluster] MODCLUSTER000021: All pending requests drained from default-host:/QTrade in 0.0 seconds
2023-03-23 14:34:56,323 [,,] INFO  [org.wildfly.extension.undertow] WFLYUT0022: Unregistered web context: '/QTrade' from server 'default-server'
2023-03-23 14:34:56,324 [,,] INFO  [io.undertow.servlet] Destroying Spring FrameworkServlet 'Spring MVC Dispatcher Servlet'
2023-03-23 14:34:56,324 [,,] INFO  [org.springframework.web.context.support.XmlWebApplicationContext] Closing WebApplicationContext for namespace 'Spring MVC Dispatcher Servlet-servlet': startup date [Thu Mar 23 12:41:36 EDT 2023]; parent: Root WebApplicationContext
2023-03-23 14:34:56,324 [,,] INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@524debe5: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@12362241
2023-03-23 14:34:56,325 [,,] FINE  [org.primefaces.webapp.filter.FileUploadFilter] Destroying FileUploadFilter
2023-03-23 14:34:56,330 [,,] INFO  [org.jboss.as.connector.deployers.jdbc] WFLYJCA0019: Stopped Driver service with driver-name = oracle
2023-03-23 14:34:56,334 [,,] INFO  [io.undertow.servlet] Closing Spring root WebApplicationContext
2023-03-23 14:34:56,334 [,,] INFO  [org.springframework.web.context.support.XmlWebApplicationContext] Closing Root WebApplicationContext: startup date [Thu Mar 23 12:41:27 EDT 2023]; root of context hierarchy
2023-03-23 14:34:56,354 [,,] WARN  [org.springframework.web.context.support.GenericWebApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'org.springframework.security.core.session.SessionRegistryImpl#0': 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!)
2023-03-23 14:34:56,354 [,,] INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2b26f660: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@12362241
2023-03-23 14:34:56,355 [,,] INFO  [org.springframework.web.context.support.GenericWebApplicationContext] Closing Flow ApplicationContext [main]: startup date [Thu Mar 23 14:31:29 EDT 2023]; parent: Root WebApplicationContext
2023-03-23 14:34:56,355 [,,] WARN  [org.springframework.web.context.support.GenericWebApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'org.springframework.security.core.session.SessionRegistryImpl#0': 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!)
2023-03-23 14:34:56,355 [,,] INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@442a23dd: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@12362241
2023-03-23 14:34:56,355 [,,] INFO  [org.springframework.web.context.support.GenericWebApplicationContext] Closing Flow ApplicationContext [pendingApprovalSos]: startup date [Thu Mar 23 14:31:48 EDT 2023]; parent: Root WebApplicationContext
2023-03-23 14:34:56,356 [,,] WARN  [org.springframework.web.context.support.GenericWebApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'org.springframework.security.core.session.SessionRegistryImpl#0': 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!)
2023-03-23 14:34:56,356 [,,] INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7b5a5745: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@12362241
2023-03-23 14:34:56,376 [,,] INFO  [org.wildfly.extension.undertow] WFLYUT0019: Host default-host stopping
2023-03-23 14:34:56,386 [,,] DEBUG [org.wildfly.extension.mod_cluster] Stopping mod_cluster service for proxy 'default'.
2023-03-23 14:34:56,386 [,,] INFO  [org.jboss.modcluster] MODCLUSTER000002: Initiating mod_cluster shutdown
2023-03-23 14:34:56,392 [,,] DEBUG [org.infinispan.cache.impl.CacheImpl] Stopping cache http-remoting-connector on devqtradevm01
2023-03-23 14:34:56,392 [,,] DEBUG [org.infinispan.cache.impl.CacheImpl] Stopping cache QTrade.war on devqtradevm01
2023-03-23 14:34:56,394 [,,] DEBUG [org.infinispan.topology.LocalTopologyManagerImpl] Node devqtradevm01 leaving cache http-remoting-connector
2023-03-23 14:34:56,394 [,,] DEBUG [org.infinispan.topology.LocalTopologyManagerImpl] Node devqtradevm01 leaving cache QTrade.war
2023-03-23 14:34:56,395 [,,] DEBUG [org.infinispan.cache.impl.CacheImpl] Stopping cache default-server on devqtradevm01
2023-03-23 14:34:56,395 [,,] DEBUG [org.infinispan.topology.LocalTopologyManagerImpl] Node devqtradevm01 leaving cache default-server
2023-03-23 14:34:56,396 [,,] DEBUG [org.infinispan.partitionhandling.impl.PreferAvailabilityStrategy] The last node of cache http-remoting-connector left
2023-03-23 14:34:56,397 [,,] DEBUG [org.infinispan.partitionhandling.impl.PreferAvailabilityStrategy] The last node of cache default-server left
2023-03-23 14:34:56,397 [,,] DEBUG [org.infinispan.partitionhandling.impl.PreferAvailabilityStrategy] The last node of cache QTrade.war left
2023-03-23 14:34:56,398 [,,] DEBUG [org.infinispan.transaction.impl.TransactionTable] Wait for on-going transactions to finish for 10 seconds.
2023-03-23 14:34:56,399 [,,] DEBUG [org.infinispan.transaction.impl.TransactionTable] All transactions terminated
2023-03-23 14:34:56,399 [,,] DEBUG [org.infinispan.transaction.impl.TransactionTable] Wait for on-going transactions to finish for 10 seconds.
2023-03-23 14:34:56,399 [,,] DEBUG [org.infinispan.transaction.impl.TransactionTable] All transactions terminated
2023-03-23 14:34:56,405 [,,] INFO  [org.jboss.as.clustering.infinispan] WFLYCLINF0003: Stopped QTrade.war cache from web container
2023-03-23 14:34:56,405 [,,] INFO  [org.jboss.as.clustering.infinispan] WFLYCLINF0003: Stopped http-remoting-connector cache from ejb container
2023-03-23 14:34:56,406 [,,] INFO  [org.infinispan.manager.DefaultCacheManager] Stopping cache manager null on devqtradevm01
2023-03-23 14:34:56,407 [,,] INFO  [org.jboss.as.clustering.infinispan] WFLYCLINF0003: Stopped default-server cache from web container
2023-03-23 14:34:56,407 [,,] INFO  [org.infinispan.CLUSTER] ISPN000080: Disconnecting JGroups channel ejb
2023-03-23 14:34:56,408 [,,] DEBUG [org.infinispan.manager.DefaultCacheManager] Stopped cache manager null
2023-03-23 14:34:56,416 [,,] INFO  [org.jboss.as.connector.subsystems.datasources] WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
2023-03-23 14:34:56,417 [,,] INFO  [org.jboss.as.connector.deployers.jdbc] WFLYJCA0019: Stopped Driver service with driver-name = h2
2023-03-23 14:34:56,419 [,,] INFO  [org.infinispan.manager.DefaultCacheManager] Stopping cache manager null on devqtradevm01
2023-03-23 14:34:56,439 [,,] INFO  [org.infinispan.CLUSTER] ISPN000080: Disconnecting JGroups channel ejb
2023-03-23 14:34:56,441 [,,] DEBUG [org.infinispan.manager.DefaultCacheManager] Stopped cache manager null
2023-03-23 14:34:56,445 [,,] DEBUG [org.jgroups.protocols.UDP] devqtradevm01: closing sockets and stopping threads
2023-03-23 14:34:56,446 [,,] DEBUG [org.jgroups.protocols.UDP] devqtradevm01: multicast socket closed
2023-03-23 14:34:56,459 [,,] INFO  [org.jboss.as.server.deployment] WFLYSRV0028: Stopped deployment QTrade.war (runtime-name: QTrade.war) in 190ms
2023-03-23 14:34:56,460 [,,] INFO  [org.wildfly.extension.undertow] WFLYUT0008: Undertow AJP listener ajp suspending
2023-03-23 14:34:56,460 [,,] INFO  [org.wildfly.extension.undertow] WFLYUT0007: Undertow AJP listener ajp stopped, was bound to 10.101.16.21:8009
2023-03-23 14:34:56,460 [,,] INFO  [org.wildfly.extension.undertow] WFLYUT0008: Undertow HTTPS listener https suspending
2023-03-23 14:34:56,460 [,,] INFO  [org.wildfly.extension.undertow] WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 10.101.16.21:8443
2023-03-23 14:34:56,460 [,,] INFO  [org.wildfly.extension.undertow] WFLYUT0008: Undertow HTTP listener default suspending
2023-03-23 14:34:56,461 [,,] INFO  [org.wildfly.extension.undertow] WFLYUT0007: Undertow HTTP listener default stopped, was bound to 10.101.16.21:8080
2023-03-23 14:34:56,461 [,,] INFO  [org.wildfly.extension.undertow] WFLYUT0004: Undertow 2.2.14.Final stopping
2023-03-23 14:34:56,450 [,,] DEBUG [org.jgroups.protocols.UDP] devqtradevm01: receiver socket is closed, exception=Socket closed
2023-03-23 14:34:56,468 [,,] DEBUG [org.jgroups.protocols.UDP] mcast-receiver thread terminated
2023-03-23 14:34:56,450 [,,] DEBUG [org.jgroups.protocols.UDP] devqtradevm01: receiver socket is closed, exception=Socket closed
2023-03-23 14:34:56,469 [,,] DEBUG [org.jgroups.protocols.UDP] ucast-receiver thread terminated
2023-03-23 14:34:56,524 [,,] INFO  [org.jboss.as] WFLYSRV0050: WildFly Full 26.0.1.Final (WildFly Core 18.0.4.Final) stopped in 256ms


---------- Forwarded message ---------
From: vijen reddy <anivije...@gmail.com>
Date: Tuesday, March 7, 2023 at 5:14:07 PM UTC-5
Subject: WildFly 26.1.0: Failover is not working as expected
To: WildFly-26.1.0 Failover is not working <wildfly-2...@googlegroups.com>


After shutting down the one node, the user session is not able transferred to an other node and logging out of the application
Reply all
Reply to author
Forward
0 new messages