6 Replies Latest reply on Apr 18, 2015 8:58 PM by Nephtalí Gómez Arcive

    java.io.IOException: Stream closed Exception while deploying war on jboss7.1.1

    varsha g Newbie

      Hi All,

                 I am using the jboss7.1.1 as application server.

      When I'm tring deploy the war on server I'm getting the "Caught exception closing input stream for uploaded deployment content: java.io.IOException: Stream closed"

       

      Here is Exception log.

       

       

      08:23:00,036 WARN  [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS015891: Caught exception closing input stream for uploaded deployment content: java.io.IOException: Stream closed

          at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145) [rt.jar:1.6.0_29]

          at java.io.BufferedInputStream.read(BufferedInputStream.java:308) [rt.jar:1.6.0_29]

          at org.jboss.sun.net.httpserver.FixedLengthInputStream.readImpl(FixedLengthInputStream.java:54)

          at org.jboss.sun.net.httpserver.LeftOverInputStream.drain(LeftOverInputStream.java:112)

          at org.jboss.sun.net.httpserver.LeftOverInputStream.close(LeftOverInputStream.java:69)

          at org.jboss.as.domain.http.server.multipart.BoundaryDelimitedInputStream.close(BoundaryDelimitedInputStream.java:213) [jboss-as-domain-http-interface-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.server.deployment.AbstractDeploymentUploadHandler.safeClose(AbstractDeploymentUploadHandler.java:77) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.server.deployment.AbstractDeploymentUploadHandler.execute(AbstractDeploymentUploadHandler.java:62) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:466) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:121) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:309) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:299) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.domain.http.server.DomainApiHandler.processUploadRequest(DomainApiHandler.java:247) [jboss-as-domain-http-interface-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.domain.http.server.DomainApiHandler.doHandle(DomainApiHandler.java:181) [jboss-as-domain-http-interface-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.domain.http.server.DomainApiHandler.handle(DomainApiHandler.java:208) [jboss-as-domain-http-interface-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.domain.http.server.security.SubjectAssociationHandler.handle(SubjectAssociationHandler.java:51) [jboss-as-domain-http-interface-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)

          at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:69)

          at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)

          at org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:710)

          at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)

          at org.jboss.as.domain.http.server.RealmReadinessFilter.doFilter(RealmReadinessFilter.java:54) [jboss-as-domain-http-interface-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)

          at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:682)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

       

       

      Is Any one faced the same problem?

      How to resolve this exception?