apache / apache/maven-mvnd

1.0-m6 Timeout waiting to connect to the Maven daemon

Open
#861 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
3.5k
Forks
250
Avg merge
16h 22m
Merged PRs (30d)
36

Description

I don't know what I did to the windows11 openjdk11 i9 12900H + 16G
I just downloaded window-amd64.zip and configure mavend_home path

mvnd -version
An exception was triggered
[daemon-3b9a9cb6.log](https://github.com/apache/maven-mvnd/files/11814723/daemon-3b9a9cb6.log)
![image](https://github.com/apache/maven-mvnd/assets/41749016/58d9c0c2-b996-41d2-84a2-f0501341769b)
![image](https://github.com/apache/maven-mvnd/assets/41749016/20fe039e-d4d2-4ccb-906e-9702ae1d993a)

0.8.2 0.9.0 1.0-m6 There's always this exception
![image](https://github.com/apache/maven-mvnd/assets/41749016/9f49d4b4-1e6f-499a-b929-0fbb463a4cc6)

```
PS D:\java\zjc_git\sinoma-production2.1> java -jar D:\java\maven-mvnd-1.0-m6-m39-windows-amd64\mvn\lib\jansi-2.4.0.jar
Jansi 2.4.0

library.jansi.path=
library.jansi.version=
Jansi native library loaded from C:\Users\ADMINI~1\AppData\Local\Temp\jansi-2.4.0-fb066f641ede8edc-jansi.dll
which was auto-extracted from jar:file:/D:/java/maven-mvnd-1.0-m6-m39-windows-amd64/mvn/lib/jansi-2.4.0.jar!/org/fusesource/jansi/internal/native/Windows/x86_64/jansi.dll

os.name= Windows 10, os.version= 10.0, os.arch= amd64
file.encoding= GBK
java.version= 11, java.vendor= Oracle Corporation, java.home= D:\java\jdk\jdk-11

jansi.graceful=
jansi.mode=
jansi.out.mode=
jansi.err.mode=
jansi.colors=
jansi.out.colors=
jansi.err.colors=
jansi.passthrough= false
jansi.strip= false
jansi.force= false
jansi.noreset= false
org.fusesource.jansi.Ansi.disable= false

IS_WINDOWS: true
IS_CONEMU: false
IS_CYGWIN: false
IS_MSYSTEM: false

isatty(STDOUT_FILENO): 1, System.out is a terminal
isatty(STDERR_FILENO): 1, System.err is a terminal

Resulting Jansi modes for stout/stderr streams:
- System.out: AnsiPrintStream{type=VirtualTerminal, colors=Colors16, mode=Default, resetAtUninstall=true}
- System.err: AnsiPrintStream{type=VirtualTerminal, colors=Colors16, mode=Default, resetAtUninstall=true}
Processor types description:
- Native: Supports ansi sequences natively
- Unsupported: Ansi sequences are stripped out
- VirtualTerminal: Supported through windows virtual terminal
- Emulation: Emulated through using windows API console commands
- Redirected: The stream is redirected to a file or a pipe
Colors support description:
- Colors16: 16 colors
- Colors256: 256 colors
- TrueColor: 24-bit colors
Modes description:
- Strip: Strip all ansi sequences
- Default: Print ansi sequences if the stream is a terminal
- Force: Always print ansi sequences, even if the stream is redirected

test on System.out: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bright: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold+faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
256 colors:

truecolor: /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\
test on System.err: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bright: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold+faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
256 colors:

truecolor: /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\

┌──┐┌─────┐ ┌─────┐ ┌──────┬──┐
│██├┘█████└┬┘█████└┬┘██████│?▌│
┌──┐ │██│██▄▄▄██│██┌─┐██│██▄▄▄▄ │▄▄│
│??└─┘?█│?█┌─┐?█│?█│ │?█│ ?????█│?█│
└┐▓▓▓▓▓┌┤▓▓│ │▓▓│▓▓│ │▓▓│?▓▓▓▓▓?│▓▓│
└─────┘└──┘ └──┴──┘ └──┴───────┴──┘
```

pls look at me
pls look at me
pls look at me

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `mvnd -version` with the Windows amd64 distribution on Windows 11 and OpenJDK 11, then inspect the linked `daemon-3b9a9cb6.log`. Done means identifying the cause of the timeout waiting for the Maven daemon and confirming a successful connection or a documented, tested fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.