9 Replies Latest reply on Feb 3, 2016 9:52 AM by Brian Stansberry

    Cannot upload deployment: Unable to parse response with content-type text/html

    triumf Yang Newbie

      Hello,

       

      I was trying to deploy the war file. The development works fine last week, and without any modification when I intend to deploy again today. I got the following error :

      Cannot upload deployment: Unable to parse response with content-type text/html

      11:50:29,715 ERROR [io.undertow.request] (XNIO-1 task-3) Undertow request failed HttpServerExchange{ POST /management-upload}: java.io.IOException: UT000036: Connection terminated parsing multipart data

              at io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler.parseBlocking(MultiPartParserDefinition.java:201) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

              at org.jboss.as.domain.http.server.DomainApiGenericOperationHandler.handleRequest(DomainApiGenericOperationHandler.java:86) [wildfly-domain-http-interface-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:72) [wildfly-domain-http-interface-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:68) [wildfly-domain-http-interface-8.2.0.Final.jar:8.2.0.Final]

              at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_60]

              at javax.security.auth.Subject.doAs(Subject.java:422) [rt.jar:1.8.0_60]

              at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:68) [wildfly-domain-http-interface-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:63) [wildfly-domain-http-interface-8.2.0.Final.jar:8.2.0.Final]

              at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

              at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:75) [wildfly-domain-http-interface-8.2.0.Final.jar:8.2.0.Final]

              at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

              at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

              at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_60]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_60]

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]