michael-o commented on pull request #469:
URL: https://github.com/apache/maven/pull/469#issuecomment-830802057


   @rfscholte 
   
   Here you go:
   ```
   $ JAVA_VERSION=8 MAVEN_DEBUG_ADDRESS="*:8880" sh -x 
apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvnDebug
   + MAVEN_DEBUG_OPTS='-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=*:8880'
   + echo Preparing to execute Maven in debug mode
   Preparing to execute Maven in debug mode
   + dirname apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvnDebug
   + env 'MAVEN_OPTS=' 'MAVEN_DEBUG_OPTS=-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=*:8880' 
apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvn
   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 
[debugInit.c:750]
   osipovmi@deblndw011x:~
   $ JAVA_VERSION=8 MAVEN_DEBUG_ADDRESS="localhost" sh -x 
apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvnDebug
   + MAVEN_DEBUG_OPTS='-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=localhost'
   + echo Preparing to execute Maven in debug mode
   Preparing to execute Maven in debug mode
   + dirname apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvnDebug
   + env 'MAVEN_OPTS=' 'MAVEN_DEBUG_OPTS=-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=localhost' 
apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvn
   Listening for transport dt_socket at address: 15474
   ^Cosipovmi@deblndw011x:~
   $ JAVA_VERSION=11 MAVEN_DEBUG_ADDRESS="localhost" sh -x 
apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvnDebug
   + MAVEN_DEBUG_OPTS='-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=localhost'
   + echo Preparing to execute Maven in debug mode
   Preparing to execute Maven in debug mode
   + dirname apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvnDebug
   + env 'MAVEN_OPTS=' 'MAVEN_DEBUG_OPTS=-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=localhost' 
apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvn
   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]
   osipovmi@deblndw011x:~
   $ JAVA_VERSION=15 MAVEN_DEBUG_ADDRESS="localhost" sh -x 
apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvnDebug
   + MAVEN_DEBUG_OPTS='-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=localhost'
   + echo Preparing to execute Maven in debug mode
   Preparing to execute Maven in debug mode
   + dirname apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvnDebug
   + env 'MAVEN_OPTS=' 'MAVEN_DEBUG_OPTS=-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=localhost' 
apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvn
   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 on:
   ```
   $ for ver in 8 11 15; do /usr/local/openjdk$ver/bin/java -version; 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)
   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)
   openjdk version "15.0.2" 2021-01-19
   OpenJDK Runtime Environment (build 15.0.2+7-1)
   OpenJDK 64-Bit Server VM (build 15.0.2+7-1, mixed mode, sharing)
   ```


-- 
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]


Reply via email to