You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/07/06 02:53:23 UTC
[GitHub] [maven-mvnd] eperret commented on issue #637: Timeout waiting to connect to the Maven daemon
eperret commented on issue #637:
URL: https://github.com/apache/maven-mvnd/issues/637#issuecomment-1175721540
It failed for me as well. I'm using JDK 11.0.9.1 on Mac OS 12.4
```
Exception in thread "main" org.mvndaemon.mvnd.common.DaemonException$ConnectException: Could not connect to the Maven daemon.
Daemon id: d542b597
log file: /Users/user_name/.m2/mvnd/registry/0.8.0/daemon-d542b597.log
----- Last 200 lines from daemon log file - /Users/user_name/.m2/mvnd/registry/0.8.0/daemon-d542b597.log -----
19:48:52.056 D Initializing daemon with properties:
mvnd.home=/usr/local/Cellar/mvnd/0.8.0/libexec
jdk.java.options=--add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED
mvnd.noDaemon=false
mvnd.debug=false
mvnd.idleTimeout=3h
mvnd.keepAlive=100ms
mvnd.extClasspath=
mvnd.coreExtensions=
mvnd.enableAssertions=false
mvnd.expirationCheckDelay=10s
mvnd.duplicateDaemonGracePeriod=10s
mvnd.socketFamily=inet
19:48:52.061 I Daemon started
19:48:52.062 D daemon is running. Sleeping until state changes.
----- End of the daemon log file -----
output: /Users/user_name/.m2/mvnd/registry/0.8.0/daemon-d542b597.out.log
----- Last 200 lines from daemon output - /Users/user_name/.m2/mvnd/registry/0.8.0/daemon-d542b597.out.log -----
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED
----- End of the daemon output -----
at org.mvndaemon.mvnd.client.DaemonConnector.connectToDaemonWithId(DaemonConnector.java:435)
at org.mvndaemon.mvnd.client.DaemonConnector.startDaemon(DaemonConnector.java:287)
at org.mvndaemon.mvnd.client.DaemonConnector.connect(DaemonConnector.java:121)
at org.mvndaemon.mvnd.client.DefaultClient.execute(DefaultClient.java:284)
at org.mvndaemon.mvnd.client.DefaultClient.main(DefaultClient.java:129)
Caused by: org.mvndaemon.mvnd.common.DaemonException$ConnectException: Could not connect to server /127.0.0.1:58138.
at org.mvndaemon.mvnd.client.DaemonConnector.connect(DaemonConnector.java:517)
at org.mvndaemon.mvnd.client.DaemonConnector.connectToDaemon(DaemonConnector.java:446)
at org.mvndaemon.mvnd.client.DaemonConnector.connectToDaemonWithId(DaemonConnector.java:432)
... 4 more
Caused by: java.io.IOException: Timeout
at org.mvndaemon.mvnd.client.DaemonConnector.connect(DaemonConnector.java:494)
... 6 more
```
--
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.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org