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

[WFCORE-5627] Refactor resource closing (server) #4807

Closed

Conversation

boris-unckel
Copy link
Contributor

@boris-unckel boris-unckel commented Oct 9, 2021

@boris-unckel boris-unckel changed the title [WFCORE-5606] Refactor resource closing (server) [WFCORE-5627] Refactor resource closing (server) Oct 9, 2021
@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Oct 9, 2021
@wildfly-ci
Copy link

Core - Full Integration Build 11049 outcome was FAILURE using a merge of 23a8f78
Summary: Tests failed: 1 (1 new), passed: 7198, ignored: 147 Build time: 03:09:10

Failed tests

org.jboss.as.test.clustering.cluster.singleton.SingletonDeploymentJBossAllTestCase.test: java.lang.AssertionError: expected:<200> but was:<404>
	at org.jboss.as.test.clustering.cluster.singleton.SingletonDeploymentTestCase.test(SingletonDeploymentTestCase.java:130)
------- Stdout: -------
Warning! The CLI is running in a non-modular environment and cannot load commands from management extensions.
 [0m16:16:47,715 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
 [0m [0m16:16:47,715 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
 [0m [0m16:16:47,720 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 38) MODCLUSTER000002: Initiating mod_cluster shutdown
 [0m [0m16:16:47,720 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0008: Undertow HTTPS listener https suspending
 [0m [0m16:16:47,720 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow AJP listener ajp suspending
 [0m [0m16:16:47,721 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to [::1]:8443
 [0m [0m16:16:47,721 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow AJP listener ajp stopped, was bound to [::1]:8009
 [0m [0m16:16:47,721 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0019: Host default-host stopping
 [0m [33m16:16:47,722 WARN  [org.jboss.modcluster] (ServerService Thread Pool -- 38) MODCLUSTER000033: Failed to interrupt socket reception.: java.io.IOException: Invalid argument (sendto failed)
	at java.net.PlainDatagramSocketImpl.send(Native Method)
	at java.net.DatagramSocket.send(DatagramSocket.java:693)
	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.interruptDatagramReader(AdvertiseListenerImpl.java:197)
	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.stop(AdvertiseListenerImpl.java:212)
	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.destroy(AdvertiseListenerImpl.java:224)
	at org.jboss.modcluster.ModClusterService.shutdown(ModClusterService.java:199)
	at org.wildfly.extension.mod_cluster.ContainerEventHandlerServiceConfigurator.accept(ContainerEventHandlerServiceConfigurator.java:83)
	at org.wildfly.extension.mod_cluster.ContainerEventHandlerServiceConfigurator.accept(ContainerEventHandlerServiceConfigurator.java:50)
	at org.wildfly.clustering.service.FunctionalService.stop(FunctionalService.java:73)
	at org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$stop$1(AsyncServiceConfigurator.java:142)
	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
	at java.lang.Thread.run(Thread.java:748)
	at org.jboss.threads.JBossThread.run(JBossThread.java:513)

 [0m [0m16:16:47,722 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0008: Undertow HTTP listener default suspending
 [0m [0m16:16:47,722 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0007: Undertow HTTP listener default stopped, was bound to [::1]:8080
 [0m [0m16:16:47,723 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0004: Undertow 2.2.12.Final stopping
 [0m [0m16:16:47,737 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = h2
 [0m [0m16:16:47,755 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Full 26.0.0.Beta1-SNAPSHOT (WildFly Core 18.0.0.Beta2-SNAPSHOT) stopped in 51ms
 [0m [0m16:16:47,756 INFO  [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: WildFly Full 26.0.0.Beta1-SNAPSHOT (WildFly Core 18.0.0.Beta2-SNAPSHOT) starting
 [0m [0m16:16:47,881 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
 [0m [0m16:16:47,902 INFO  [org.wildfly.extension.elytron.oidc._private] (ServerService Thread Pool -- 55) WFLYOIDC0001: Activating WildFly Elytron OIDC Subsystem
 [0m [0m16:16:47,905 INFO  [org.wildfly.extension.health] (ServerService Thread Pool -- 56) WFLYHEALTH0001: Activating Base Health Subsystem
 [0m [0m16:16:47,905 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 57) WFLYCLINF0001: Activating Infinispan subsystem.
 [0m [0m16:16:47,913 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 58) WFLYIO001: Worker 'default' has auto-configured to 8 IO threads with 64 max task threads based on your 4 available processors
 [0m [0m16:16:47,914 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 59) WFLYRS0016: RESTEasy version 4.7.2.Final
 [0m [0m16:16:47,919 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 47) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
 [0m [0m16:16:47,934 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 62) WFLYCLJG0001: Activating JGroups subsystem. JGroups version 4.2.11
 [0m [0m16:16:47,935 INFO  [org.wildfly.extension.microprofile.config.smallrye] (ServerService Thread Pool -- 68) WFLYCONF0001: Activating MicroProfile Config Subsystem
 [0m [0m16:16:47,935 INFO  [org.wildfly.extension.metrics] (ServerService Thread Pool -- 67) WFLYMETRICS0001: Activating Base Metrics Subsystem
 [0m [0m16:16:47,935 INFO  [org.wildfly.extension.microprofile.jwt.smallrye] (ServerService Thread Pool -- 69) WFLYJWT0001: Activating MicroProfile JWT Subsystem
 [0m [0m16:16:47,939 INFO  [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 70) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
 [0m [0m16:16:47,940 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 72) WFLYNAM0001: Activating Naming Subsystem
 [0m [33m16:16:47,947 WARN  [org.wildfly.extension.elytron] (MSC service thread 1-3) WFLYELY00023: KeyStore file '/store/work/tc-work/37b47ae8b9c60325/full/testsuite/integration/clustering/target/wildfly-1/standalone/configuration/application.keystore' does not exist. Used blank.
 [0m [0m16:16:47,947 INFO  [org.jboss.as.connector] (MSC service thread 1-3) WFLYJCA0009: Starting Jakarta Connectors Subsystem (WildFly/IronJacamar 1.5.2.Final)


@boris-unckel
Copy link
Contributor Author

The proposed change series contains XNIO as dependency not wanted for this utility purpose and the overall value/risk ratio is too low. See PR14791 It's therefore withdrawn.

@boris-unckel boris-unckel deleted the WFCORE-5627_res_close_server branch October 15, 2021 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes
Projects
None yet
2 participants