Git Product home page Git Product logo

dockerfiles's Introduction

Hi there 👋

I'm a software engineer based in Würzburg, Germany working for Red Hat.

Some background

  • Working professionally as a software engineer since 2000
  • Developing with Java since JDK 1.1
  • Member of the @wildfly team
  • Component lead of @hal (WildFly admin console)
  • Keenly interested in Kotlin, Kotlin/JS and good UX

Top Langs

dockerfiles's People

Contributors

danielwegener avatar hpehl avatar typekpb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dockerfiles's Issues

Please document the hc-dc link 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>

profiles: ha as well as full-ha fail (Wildfly 10)

I'd need to setup ha setup (or even better the full-ha one) on Wildfly 10.

I've tried following:

  1. ha case:
    in: 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

  1. full-ha case:
    in: 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?

profiles: ha as well as full-ha errors (Wildfly 9)

Similar use case as #4.

I've tried following:

  1. ha case:
    in: 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)
  1. full-ha case:
    in: 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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.