Collection of docker files
hpehl / dockerfiles Goto Github PK
View Code? Open in Web Editor NEWCollection of docker files
Collection of docker files
I'd need to setup ha setup (or even better the full-ha one) on Wildfly 10.
I've tried following:
wildfly/domain/domain/configuration/domain.xml
changed to:...
<server-groups>
<server-group name="main-server-group" profile="ha">
...
<server-group name="other-server-group" profile="ha">
...
once started slave I get:
...
09:11:30,905 INFO [org.jboss.as.process.Host Controller.status] (main) WFLYPC0018: Starting process 'Host Controller'
[Host Controller] 09:11:31,205 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
[Host Controller] 09:11:31,319 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
[Host Controller] 09:11:31,351 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) starting
[Host Controller] 09:11:31,755 INFO [org.xnio] (MSC service thread 1-4) XNIO version 3.3.4.Final
[Host Controller] 09:11:31,759 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.3.4.Final
[Host Controller] 09:11:31,781 INFO [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 4.0.18.Final
[Host Controller] 09:11:31,789 WARN [org.jboss.as.domain.management] (MSC service thread 1-8) WFLYDM0002: Whitespace has been trimmed from the Base64 representation of the secret identity.
[Host Controller] 09:11:31,804 INFO [org.jboss.as.remoting] (MSC service thread 1-6) WFLYRMT0001: Listening on 127.0.0.1:9999
[Host Controller] 09:11:32,972 ERROR [org.jboss.as.controller] (Host Controller Service Threads - 5) WFLYCTL0362: Capabilities required by resource '/profile=ha/subsystem=jgroups/stack=udp/protocol=FD_SOCK' are not available:
[Host Controller] org.wildfly.network.socket-binding.jgroups-udp-fd in context 'profile=ha'; There are no known registration points which can provide this capability.
[Host Controller] 09:11:32,973 ERROR [org.jboss.as.controller] (Host Controller Service Threads - 5) WFLYCTL0362: Capabilities required by resource '/profile=ha/subsystem=jgroups/stack=udp/transport=UDP' are not available:
[Host Controller] org.wildfly.network.socket-binding.jgroups-udp in context 'profile=ha'; There are no known registration points which can provide this capability.
[Host Controller] 09:11:32,973 ERROR [org.jboss.as.controller] (Host Controller Service Threads - 5) WFLYCTL0362: Capabilities required by resource '/profile=ha/subsystem=jgroups/stack=tcp/protocol=MPING' are not available:
[Host Controller] org.wildfly.network.socket-binding.jgroups-mping in context 'profile=ha'; There are no known registration points which can provide this capability.
[Host Controller] 09:11:32,973 ERROR [org.jboss.as.controller] (Host Controller Service Threads - 5) WFLYCTL0362: Capabilities required by resource '/profile=ha/subsystem=jgroups/stack=tcp/transport=TCP' are not available:
[Host Controller] org.wildfly.network.socket-binding.jgroups-tcp in context 'profile=ha'; There are no known registration points which can provide this capability.
[Host Controller] 09:11:32,974 ERROR [org.jboss.as.controller] (Host Controller Service Threads - 5) WFLYCTL0362: Capabilities required by resource '/profile=ha/subsystem=jgroups/stack=tcp/protocol=FD_SOCK' are not available:
[Host Controller] org.wildfly.network.socket-binding.jgroups-tcp-fd in context 'profile=ha'; There are no known registration points which can provide this capability.
[Host Controller] 09:11:32,975 ERROR [org.jboss.as.host.controller] (Host Controller Service Threads - 5) WFLYHC0143: Failed to apply domain-wide configuration from master host controller. Operation outcome: failed. Failure description {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {
[Host Controller] "Operation step-79" => "WFLYCTL0369: Required capabilities are not available:
[Host Controller] org.wildfly.network.socket-binding.jgroups-udp-fd in context 'profile=ha'; There are no known registration points which can provide this capability.",
[Host Controller] "Operation step-89" => "WFLYCTL0369: Required capabilities are not available:
[Host Controller] org.wildfly.network.socket-binding.jgroups-udp in context 'profile=ha'; There are no known registration points which can provide this capability.",
[Host Controller] "Operation step-95" => "WFLYCTL0369: Required capabilities are not available:
[Host Controller] org.wildfly.network.socket-binding.jgroups-mping in context 'profile=ha'; There are no known registration points which can provide this capability.",
[Host Controller] "Operation step-97" => "WFLYCTL0369: Required capabilities are not available:
[Host Controller] org.wildfly.network.socket-binding.jgroups-tcp-fd in context 'profile=ha'; There are no known registration points which can provide this capability.",
[Host Controller] "Operation step-106" => "WFLYCTL0369: Required capabilities are not available:
[Host Controller] org.wildfly.network.socket-binding.jgroups-tcp in context 'profile=ha'; There are no known registration points which can provide this capability."
[Host Controller] }}
[Host Controller] 09:11:32,986 WARN [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0001: Could not connect to remote domain controller remote://172.17.0.2:9999 -- 1-$-
[Host Controller] 09:11:32,986 WARN [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0147: No domain controller discovery options remain.
[Host Controller] 09:11:32,987 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0002: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: WFLYHC0120: Tried all domain controller discovery option(s) but unable to connect
[Host Controller] 09:11:32,997 INFO [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) stopped in 6ms
[Host Controller]
09:11:33,324 INFO [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) WFLYPC0011: Process 'Host Controller' finished with an exit status of 99
09:11:33,325 INFO [org.jboss.as.process] (Thread-8) WFLYPC0017: Shutting down process controller
09:11:33,325 INFO [org.jboss.as.process] (Thread-8) WFLYPC0016: All processes finished; exiting
wildfly/domain/domain/configuration/domain.xml
changed to:...
<server-groups>
<server-group name="main-server-group" profile="full-ha">
...
<server-group name="other-server-group" profile="full-ha">
...
the same trouble as in ha case.
Any idea how to enable ha/full-ha in dockerized setup?
<domain-controller>
<remote host="${env.DOMAIN_CONTROLLER_PORT_9999_TCP_ADDR}" port="${env.DOMAIN_CONTROLLER_PORT_9999_TCP_PORT}" username="@WILDFLY_MANAGEMENT_USER@" security-realm="DomainControllerRealm"/>
</domain-controller>
Similar use case as #4.
I've tried following:
wildfly/fixed-size/3x2/wildfly-9.0.0.Final/domain/configuration/domain.xml
changed to:...
<server-groups>
<server-group name="main-server-group" profile="ha">
...
<server-group name="other-server-group" profile="ha">
...
once started slave it starts but with errors:
...
Server:server-0-1] 10:34:10,805 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0012: Started server default-server.
[Server:server-0-1] 10:34:10,811 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0018: Host default-host starting
[Server:server-0-1] 10:34:10,831 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow AJP listener ajp listening on /127.0.0.1:8109
[Server:server-0-1] 10:34:10,852 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTP listener default listening on /127.0.0.1:8180
[Server:server-0-1] 10:34:10,955 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
[Server:server-0-1] 10:34:11,063 WARN [org.jboss.as.domain.management] (MSC service thread 1-4) WFLYDM0002: Whitespace has been trimmed from the Base64 representation of the secret identity.
[Server:server-0-1] 10:34:11,091 INFO [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBoss Web Services - Stack CXF Server 5.0.0.Final
[Server:server-0-1] 10:34:11,098 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "modcluster")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.modcluster is missing [jboss.binding.modcluster]"]}
[Server:server-0-1] 10:34:11,130 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
[Server:server-0-1] WFLYCTL0184: New missing/unsatisfied dependencies:
[Server:server-0-1] service jboss.binding.modcluster (missing) dependents: [service jboss.modcluster]
[Server:server-0-1]
[Server:server-0-1] 10:34:11,195 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 9.0.2.Final (WildFly Core 1.0.2.Final) started (with errors) in 2711ms - Started 196 of 426 services (1 services failed or missing dependencies, 261 services are lazy, passive or on-demand)
wildfly/domain/domain/configuration/domain.xml
changed to:...
<server-groups>
<server-group name="main-server-group" profile="full-ha">
...
<server-group name="other-server-group" profile="full-ha">
...
once started slave it starts but with errors:
[Server:server-0-1] 10:38:42,429 INFO [org.jboss.ws.common.management] (MSC service thread 1-5) JBWS022052: Starting JBoss Web Services - Stack CXF Server 5.0.0.Final
[Server:server-0-1] 10:38:42,438 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "modcluster")]) - failure description: {"WFLYCTL0180:
Services with missing/unavailable dependencies" => ["jboss.modcluster is missing [jboss.binding.modcluster]"]}
[Server:server-0-1] 10:38:42,441 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
[Server:server-0-1] ("subsystem" => "jgroups"),
[Server:server-0-1] ("stack" => "udp")
[Server:server-0-1] ]) - failure description: {
[Server:server-0-1] "WFLYCTL0180: Services with missing/unavailable dependencies" => [
[Server:server-0-1] "jboss.jgroups.factory.udp.UDP is missing [jboss.binding.jgroups-udp]",
[Server:server-0-1] "jboss.jgroups.factory.udp.FD_SOCK is missing [jboss.binding.jgroups-udp-fd]"
[Server:server-0-1] ],
[Server:server-0-1] "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
[Server:server-0-1] "Services that were unable to start:" => ["jboss.jgroups.factory.udp"],
[Server:server-0-1] "Services that may be the cause:" => [
[Server:server-0-1] "jboss.binding.iiop",
[Server:server-0-1] "jboss.binding.iiop-ssl",
[Server:server-0-1] "jboss.binding.jgroups-udp",
[Server:server-0-1] "jboss.binding.jgroups-udp-fd",
[Server:server-0-1] "jboss.binding.modcluster"
[Server:server-0-1] ]
[Server:server-0-1] }
[Server:server-0-1] }
[Server:server-0-1] 10:38:42,444 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "iiop-openjdk")]) - failure description: {
[Server:server-0-1] "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.iiop-openjdk.orb-service is missing [jboss.binding.iiop-ssl, jboss.binding.iiop]"],
[Server:server-0-1] "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
[Server:server-0-1] "Services that were unable to start:" => [
[Server:server-0-1] "jboss.iiop-openjdk.naming-service",
[Server:server-0-1] "jboss.iiop-openjdk.poa-service.irpoa",
[Server:server-0-1] "jboss.iiop-openjdk.poa-service.namingpoa",
[Server:server-0-1] "jboss.iiop-openjdk.poa-service.rootpoa"
[Server:server-0-1] ],
[Server:server-0-1] "Services that may be the cause:" => [
[Server:server-0-1] "jboss.binding.iiop",
[Server:server-0-1] "jboss.binding.iiop-ssl",
[Server:server-0-1] "jboss.binding.jgroups-udp",
[Server:server-0-1] "jboss.binding.jgroups-udp-fd",
[Server:server-0-1] "jboss.binding.modcluster"
[Server:server-0-1] ]
[Server:server-0-1] }
[Server:server-0-1] }
[Server:server-0-1] 10:38:42,446 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
[Server:server-0-1] ("subsystem" => "messaging"),
[Server:server-0-1] ("hornetq-server" => "default")
[Server:server-0-1] ]) - failure description: {"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
[Server:server-0-1] "Services that were unable to start:" => [
[Server:server-0-1] "jboss.messaging.default",
[Server:server-0-1] "jboss.messaging.default.jms.manager"
[Server:server-0-1] ],
[Server:server-0-1] "Services that may be the cause:" => [
[Server:server-0-1] "jboss.binding.iiop",
[Server:server-0-1] "jboss.binding.iiop-ssl",
[Server:server-0-1] "jboss.binding.jgroups-udp",
[Server:server-0-1] "jboss.binding.jgroups-udp-fd",
[Server:server-0-1] "jboss.binding.modcluster"
[Server:server-0-1] ]
[Server:server-0-1] }}
[Server:server-0-1] 10:38:42,476 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
[Server:server-0-1] WFLYCTL0184: New missing/unsatisfied dependencies:
[Server:server-0-1] service jboss.binding.iiop (missing) dependents: [service jboss.iiop-openjdk.orb-service]
[Server:server-0-1] service jboss.binding.iiop-ssl (missing) dependents: [service jboss.iiop-openjdk.orb-service]
[Server:server-0-1] service jboss.binding.jgroups-udp (missing) dependents: [service jboss.jgroups.factory.udp.UDP]
[Server:server-0-1] service jboss.binding.jgroups-udp-fd (missing) dependents: [service jboss.jgroups.factory.udp.FD_SOCK]
[Server:server-0-1] service jboss.binding.modcluster (missing) dependents: [service jboss.modcluster]
[Server:server-0-1]
[Server:server-0-1] 10:38:42,662 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 9.0.2.Final (WildFly Core 1.0.2.Final) started (with errors) in 2942ms - Started 216 of 449 services (11 services failed or missing dependencies, 270 services are lazy, passive or on-demand)
Any idea how to enable ha/full-ha in dockerized setup?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.