wildfly org.jboss.nio-> FILENOTFOUNDEXCEPTION:Windows Java JDK 11.0.15+ 10

发布于 2025-01-24 13:58:44 字数 8930 浏览 1 评论 0原文

由于更新到 eclipse tamurin jdk 11.0.15+10 我们注意到HTTP请求很快到达Wildfly 20.0.1.final。野生蝇26.1.0中的同样行为。最终仅在 jdk Windows版本中发生,Linux jdk 工作正常。 由于它是一个“无效的文件路径”错误,因此似乎有可能使用OS依赖性错误。

到目前为止,SAP机是唯一遇到此故障的JDK。

我仍然不确定这是 jdk 还是a wildfly 问题...

您可以在打开 wildfly管理接口时检查是否。

ERROR [io.undertow.request] (External Management Request Threads -- 1) UT005071: Undertow request failed HttpServerExchange{ GET /management}: java.io.IOError: java.io.FileNotFoundException: Invalid file path
    at [email protected]//org.xnio.channels.Channels$4.run(Channels.java:1103)
    at [email protected]//org.xnio.channels.Channels$4.run(Channels.java:1093)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at [email protected]//org.xnio.channels.Channels.<clinit>(Channels.java:1093)
    at [email protected]//io.undertow.io.UndertowOutputStream.write(UndertowOutputStream.java:231)
    at [email protected]//io.undertow.io.BlockingSenderImpl.writeBuffer(BlockingSenderImpl.java:245)
    at [email protected]//io.undertow.io.BlockingSenderImpl.writeBuffer(BlockingSenderImpl.java:238)
    at [email protected]//io.undertow.io.BlockingSenderImpl.send(BlockingSenderImpl.java:75)
    at [email protected]//io.undertow.io.BlockingSenderImpl.send(BlockingSenderImpl.java:107)
    at [email protected]//org.jboss.as.domain.http.server.DomainUtil.writeResponse(DomainUtil.java:89)
    at [email protected]//org.jboss.as.domain.http.server.DomainApiHandler$1.doSendResponse(DomainApiHandler.java:177)
    at [email protected]//org.jboss.as.domain.http.server.ResponseCallback.sendResponse(ResponseCallback.java:32)
    at [email protected]//org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:232)
    at [email protected]//io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)
    at [email protected]//org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:91)
    at [email protected]//org.jboss.as.domain.http.server.security.ElytronIdentityHandler.lambda$handleRequest$0(ElytronIdentityHandler.java:62)
    at [email protected]//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:328)
    at [email protected]//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:285)
    at [email protected]//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
    at [email protected]//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
    at [email protected]//org.jboss.as.domain.http.server.security.ElytronIdentityHandler.handleRequest(ElytronIdentityHandler.java:61)
    at [email protected]//io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56)
    at [email protected]//io.undertow.server.Connectors.executeRootHandler(Connectors.java:370)
    at [email protected]//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
    at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
    at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
    at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
    at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
    at java.base/java.lang.Thread.run(Thread.java:829)
    at [email protected]//org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: java.io.FileNotFoundException: Invalid file path
    at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:231)
    at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:126)
    at [email protected]//org.xnio.channels.Channels$4.run(Channels.java:1098)
    ... 29 more
JDK与Wildfly
Eclipse Tamurin合作no
Amazon Corettono
Azul Zuluno
Bellsoft
Oracle OpenJDK
Oracle JDKno
Sap Machine

Since the update to Eclipse Tamurin JDK 11.0.15+10 we notice a problem as soon a HTTP request reaches Wildfly 20.0.1.Final. The same behaviour exsists in Wildfly 26.1.0.Final This only happens with the JDK Windows version, the Linux JDK works fine.
As it is an "Invalid file path" error, an OS dependent BUG seems possible.

Until now SAP Machine is the only JDK that does not encounter this failure.

I'm still not sure if this is a JDK or a Wildfly problem...

You can check that when opening the Wildfly Management Interface.

ERROR [io.undertow.request] (External Management Request Threads -- 1) UT005071: Undertow request failed HttpServerExchange{ GET /management}: java.io.IOError: java.io.FileNotFoundException: Invalid file path
    at [email protected]//org.xnio.channels.Channels$4.run(Channels.java:1103)
    at [email protected]//org.xnio.channels.Channels$4.run(Channels.java:1093)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at [email protected]//org.xnio.channels.Channels.<clinit>(Channels.java:1093)
    at [email protected]//io.undertow.io.UndertowOutputStream.write(UndertowOutputStream.java:231)
    at [email protected]//io.undertow.io.BlockingSenderImpl.writeBuffer(BlockingSenderImpl.java:245)
    at [email protected]//io.undertow.io.BlockingSenderImpl.writeBuffer(BlockingSenderImpl.java:238)
    at [email protected]//io.undertow.io.BlockingSenderImpl.send(BlockingSenderImpl.java:75)
    at [email protected]//io.undertow.io.BlockingSenderImpl.send(BlockingSenderImpl.java:107)
    at [email protected]//org.jboss.as.domain.http.server.DomainUtil.writeResponse(DomainUtil.java:89)
    at [email protected]//org.jboss.as.domain.http.server.DomainApiHandler$1.doSendResponse(DomainApiHandler.java:177)
    at [email protected]//org.jboss.as.domain.http.server.ResponseCallback.sendResponse(ResponseCallback.java:32)
    at [email protected]//org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:232)
    at [email protected]//io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)
    at [email protected]//org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:91)
    at [email protected]//org.jboss.as.domain.http.server.security.ElytronIdentityHandler.lambda$handleRequest$0(ElytronIdentityHandler.java:62)
    at [email protected]//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:328)
    at [email protected]//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:285)
    at [email protected]//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
    at [email protected]//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
    at [email protected]//org.jboss.as.domain.http.server.security.ElytronIdentityHandler.handleRequest(ElytronIdentityHandler.java:61)
    at [email protected]//io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56)
    at [email protected]//io.undertow.server.Connectors.executeRootHandler(Connectors.java:370)
    at [email protected]//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
    at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
    at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
    at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
    at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
    at java.base/java.lang.Thread.run(Thread.java:829)
    at [email protected]//org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: java.io.FileNotFoundException: Invalid file path
    at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:231)
    at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:126)
    at [email protected]//org.xnio.channels.Channels$4.run(Channels.java:1098)
    ... 29 more
JDKWorks with Wildfly
Eclipse Tamurinno
Amazon Corettono
Azul Zuluno
Bellsoftno
Oracle OpenJDKno
Oracle JDKno
SAP Machineyes

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

在风中等你 2025-01-31 13:58:44

这是JDK中的问题。您可以等待JDK 11.0.16或降级到JDK 11.0.14之类的较低版本。

This is an issue in the JDK. You can wait for JDK 11.0.16 or downgrade to a lower version like JDK 11.0.14.

沙与沫 2025-01-31 13:58:44

这是由a 已知的jdk bug 。您可以通过设置djdk.io.file.enableads系统属性来解决问题。在Intellij中进行运行 - &GT;编辑配置和粘贴-djdk.io.file.enableads = true在VM选项字段中。

This is caused by a known JDK bug. You can work around the issue by setting Djdk.io.File.enableADS system property. In Intellij go to Run -> Edit configurations and paste -Djdk.io.File.enableADS=true in VM Options field.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文