Wildfly 9.0.2部署应用程序时出错

时间:2015-12-07 14:51:21

标签: java wildfly wildfly-9

部署时我在表单消息Cannot upload deployment: Unable to parse response with content-type text/html和命令行完整错误中看到:

15:18:28,849 ERROR [io.undertow.request] (XNIO-1 task-2) Undertow request failed
 HttpServerExchange{ POST /management-upload}: java.io.IOException: UT000036: Co
nnection terminated parsing multipart data
        at io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartU
ploadHandler.parseBlocking(MultiPartParserDefinition.java:203)
        at org.jboss.as.domain.http.server.DomainApiGenericOperationHandler.hand
leRequest(DomainApiGenericOperationHandler.java:104)
        at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(En
codingHandler.java:72)
        at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(Sub
jectDoAsHandler.java:72)
        at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(Sub
jectDoAsHandler.java:68)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.ja
va:92)
        at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleReq
uest(SubjectDoAsHandler.java:68)
        at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleReq
uest(SubjectDoAsHandler.java:63)
        at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHan
dler.java:56)
        at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(D
omainApiCheckHandler.java:87)
        at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest
(AuthenticationCallHandler.java:52)
        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:7
74)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)

我使用独立模式,当我下载新的Wildfly服务器时发生同样的问题 - 如果这可能与端口相关,则为idk。

1 个答案:

答案 0 :(得分:4)

我和你有同样的问题,现在无法解决。

但我发现一件奇怪的事情只发生在IE和Chrome中, 尝试使用 Firefox 上传文件,没关系。

希望这可以帮到你。