Closed mvysny closed 10 months ago
BB was working on Tomcat a while back https://github.com/vaadin/beverage-starter-flow/issues/193 (had other issues that were fixed), so seems like we have some regression.
Sorry, I wasn't clear enough. Tomcat logs abovementioned nasty exceptions, but BB starts and works properly, so it seems that the exceptions do not hinder the ability of BB to work. Maybe it only affects Push (just my wild guess)?
Right, thanks for the clarification. Lets take a look at what exceptions about anyways
Tested beverage buddy with Apache Tomcat/9.0.8 (windows) and Apache Tomcat/8.5.14 (linux) without exceptions, will test with the exact versions
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 access localhost:8080/beverage-buddy-vok
, no exceptions are printed out. But if I run Tomcat from Intellij, the IOException: Broken pipe
is shown. Tested it with Tomcat 9.0.8 on Linux.
Closing issue as BevrageBuddy is archived and this has not been noted with other projects.
When 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: logI 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.