michael-o commented on pull request #469:
URL: https://github.com/apache/maven/pull/469#issuecomment-830824790
Here is the output on a IPv4 and IPv6 enabled host:
``ยด
$ for version in 8 11 16; do
/usr/local/openjdk$version/bin/java -version
while read -r address; do
echo "Running Java $version with '$address'"; JAVA_VERSION=$version
MAVEN_DE
BUG_ADDRESS="$address" timeout 2
~/apache-maven-4.0.0-alpha-1-SNAPSHOT/bin/mvnDe
bug
done < input
done
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)
Running Java 8 with 'localhost'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 37751
Running Java 8 with 'localhost:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 48142
Running Java 8 with 'localhost:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 8 with 'bsd1srv'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 44058
Running Java 8 with 'bsd1srv:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 36811
Running Java 8 with 'bsd1srv:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 8 with '*'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 10145
Running Java 8 with '*:0'
Preparing to execute Maven in debug mode
ERROR: transport error 202: gethostbyname: unknown host
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[debu
gInit.c:750]
Running Java 8 with '*:8888'
Preparing to execute Maven in debug mode
ERROR: transport error 202: gethostbyname: unknown host
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[debu
gInit.c:750]
Running Java 8 with '0.0.0.0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 29103
Running Java 8 with '0.0.0.0:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 17075
Running Java 8 with '0.0.0.0:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 8 with '[::]'
Preparing to execute Maven in debug mode
ERROR: transport error 202: gethostbyname: unknown host
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[debu
gInit.c:750]
Running Java 8 with '[::]:0'
Preparing to execute Maven in debug mode
ERROR: transport error 202: gethostbyname: unknown host
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[debu
gInit.c:750]
Running Java 8 with '[::]:8888'
Preparing to execute Maven in debug mode
ERROR: transport error 202: gethostbyname: unknown host
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[debu
gInit.c:750]
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-1)
OpenJDK 64-Bit Server VM (build 11.0.10+9-1, mixed mode)
Running Java 11 with 'localhost'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/
jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
Running Java 11 with 'localhost:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 29441
Running Java 11 with 'localhost:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 11 with 'bsd1srv'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/
jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
Running Java 11 with 'bsd1srv:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 20227
Running Java 11 with 'bsd1srv:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 11 with '*'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/
jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
Running Java 11 with '*:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 63302
Running Java 11 with '*:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 11 with '0.0.0.0'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/
jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
Running Java 11 with '0.0.0.0:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 11085
Running Java 11 with '0.0.0.0:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 11 with '[::]'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/
jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
Running Java 11 with '[::]:0'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/
jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
Running Java 11 with '[::]:8888'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/
jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
openjdk version "16" 2021-03-16
OpenJDK Runtime Environment (build 16+36-1)
OpenJDK 64-Bit Server VM (build 16+36-1, mixed mode, sharing)
Running Java 16 with 'localhost'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/
jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734]
Running Java 16 with 'localhost:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 59409
Running Java 16 with 'localhost:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 16 with 'bsd1srv'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734]
Running Java 16 with 'bsd1srv:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 27191
Running Java 16 with 'bsd1srv:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 16 with '*'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734]
Running Java 16 with '*:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 25905
Running Java 16 with '*:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 16 with '0.0.0.0'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734]
Running Java 16 with '0.0.0.0:0'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 20416
Running Java 16 with '0.0.0.0:8888'
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8888
Running Java 16 with '[::]'
Preparing to execute Maven in debug mode
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734]
Running Java 16 with '[::]:0'
Preparing to execute Maven in debug mode
ERROR: transport error 202: getaddrinfo: failed to parse address
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734]
Running Java 16 with '[::]:8888'
Preparing to execute Maven in debug mode
ERROR: transport error 202: getaddrinfo: failed to parse address
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]