why do i get java.io.IOException: Stream closed?

后端 未结 3 584
太阳男子
太阳男子 2020-12-16 21:42

I am trying to download a zip file but I get a Stream Closed Exception. When i use using swing gui it get this erro but if i use console there is no problem

相关标签:
3条回答
  • 2020-12-16 22:02

    I solved it when removed this tag of Primefaces from my xhtml.

    <p:media ...
    

    source

    http://www.primefaces.org/showcase/ui/multimedia/media.xhtml
    
    0 讨论(0)
  • 2020-12-16 22:06

    This exception usually means the connection was closed abruptly. I would look at the logs on the server to see if there was an error.

    0 讨论(0)
  • 2020-12-16 22:19

    it can be due to JVM delays, It can be caused because of unix/linux operating system's random number generator. You should replace it with /dev/./urandom

    This link has more details on it.

    http://devcorn.com/java-io-ioexception-stream-closed-no-available-router-to-destination/

    0 讨论(0)
提交回复
热议问题