IOException: Broken pipe with IntelliJ embedded Tomcat
See original GitHub issueWhen starting the Beverage Buddy with Tomcat 9.0.6, BB starts properly but Tomcat prints out IOException: Broken pipe
to the log (see this gist for a full log: log ).
With Tomcat 8.5.27 the exception is slightly different: log
I thought this to be some integration issue for Tomcat + Flow, however weird thing is that when I try to start the Skeleton Starter using Tomcat 9.0.6, the exception does not show in the log. I thought this is because of Beverage Buddy fetching Polymer templates from the server, but the exception is also present for the Kotlin port of Beverage Buddy which does not use Polymer Templates at all.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Broken pipe bringing down the embedded tomcat 8 app ...
I am looking at potential solutions so that the server is resilient to a bad behaving client. java.io.IOException: Broken pipe at sun.nio.ch.
Read more >What does "Connection error: Broken pipe" mean?
Hello Michael, It means that Xdebug suddenly closed the connection for some reason. Is the page that you debug shown in browser completely?...
Read more >Trying to set up Deploy in Intellij - CodeRanch
In any case, it's not working for me at all with Tomcat 8.5. I guess I'll just have to manually copy the file...
Read more >Avoid reporting Broken Pipe errors to Sentry in a Spring Boot ...
Coding example for the question Avoid reporting Broken Pipe errors to Sentry in a Spring Boot application-Springboot.
Read more >解决java.io.IOException: Broken pipe的报错_OnlyQer的博客-CSDN ...
IOException : Broken pipe at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:351) ~[tomcat-embed-core-9.0.35.jar!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Versions Tomcat 9.0.6 and Tomcat 8.5.27 also tested without given exception. This might be something to do with deploy setup with IntelliJ, @mvysny could you make sure that given project (beveragebuddy) is undeployed before it’s gets deployd (by intellij) ?
@mikotin you’re right! When I just drop the
beverage-buddy-vok.war
into Tomcat’s webapps and accesslocalhost:8080/beverage-buddy-vok
, no exceptions are printed out. But if I run Tomcat from Intellij, theIOException: Broken pipe
is shown. Tested it with Tomcat 9.0.8 on Linux.