]
Ondrej Chaloupka updated JBTM-3274:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Narayana quickstarts can't be built on CI as IPv4 is not forced
---------------------------------------------------------------
Key: JBTM-3274
URL:
https://issues.redhat.com/browse/JBTM-3274
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Quickstarts
Affects Versions: 5.10.3.Final
Reporter: Ondrej Chaloupka
Assignee: Ondrej Chaloupka
Priority: Major
Narayana quickstarts can't be built on new AMS NarayanaCi1 installation as the IP
protocol is not defined on default. The exception to get is [1].
This makes troubles especially for Thorntail when running with LRA quickstarts.
We need to define IPv4 as default when IPv6 is not expected.
This could be done with {{-Djava.net.preferIPv4Stack=true
-Djava.net.preferIPv4Addresses}}
{quote}
MSC000001: Failed to start service org.wildfly.undertow.listener.default:
org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.default:
WFLYUT0082: Could not start 'default' listener.
at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:211)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1738)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1700)
at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketException: Protocol family unavailable
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)
at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:178)
at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:303)
at
org.wildfly.extension.undertow.HttpListenerService.startListening(HttpListenerService.java:106)
at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:199)
... 8 more
{quote}