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

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

Open
typekpb opened this issue Jul 15, 2016 · 2 comments
Open

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

typekpb opened this issue Jul 15, 2016 · 2 comments

Comments

@typekpb
Copy link
Contributor

typekpb commented Jul 15, 2016

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?

@typekpb
Copy link
Contributor Author

typekpb commented Jul 15, 2016

OK, finally got it working!

Had to go for:

  • correct socket-binding-group, in my case:
<server-group name="server-group-0" profile="full-ha">
         ...
            <socket-binding-group ref="full-ha-sockets"/>
        </server-group>

Would it make sense to document it in readmes?

@hpehl
Copy link
Owner

hpehl commented Jul 15, 2016

Great. Yes I think it makes sense to add a section in the README.md. Feel free to open a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants