sbt/sbt-appengine — Issue #3: Broken pipe after deploy
Author: paulbutcher
Created: 2012-01-02 15:38:59+00:00
State: open

`appengine-deploy` works great for me, but I always get a "Broken pipe" exception afterwards (actually, the first time I hit any key on the keyboard) - for example:

```
> appengine-deploy
[info] Packaging /Users/paul/scala/MrsDoyle/target/scala-2.9.1/mrsdoyle_2.9.1-0.1-SNAPSHOT.war ...
[info] Done packaging.
Reading application configuration data...
02-Jan-2012 15:31:50 com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed /Users/paul/scala/MrsDoyle/target/webapp/WEB-INF/appengine-web.xml
02-Jan-2012 15:31:50 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed /Users/paul/scala/MrsDoyle/target/webapp/WEB-INF/web.xml
Beginning server interaction for mrsdoyle-scala...
0% Created staging directory at: '/var/folders/7y/y5y6yf113hq3_bt2wv4tnxtc0000gn/T/appcfg581290335370141033.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Initiating update.
28% Cloning 9 application files.
40% Uploading 1 files.
52% Uploaded 1 files.
61% Initializing precompilation...
68% Sending batch containing 1 file(s) totaling 0KB.
90% Deploying new version.
95% Will check again in 1 seconds.
98% Will check again in 2 seconds.
99% Will check again in 4 seconds.
99% Closing update: new version is ready to start serving.
99% Uploading index definitions.

Update completed successfully.
Success.
Cleaning up temporary files...
[success] Total time: 21 s, completed 02-Jan-2012 15:32:05
> Exception in thread "Thread-3" java.io.IOException: Broken pipe
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:282)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at sbt.BasicIO$.read$1(ProcessImpl.scala:108)
at sbt.BasicIO$.transferFullyImpl(ProcessImpl.scala:112)
at sbt.BasicIO$.transferFully(ProcessImpl.scala:88)
at sbt.BasicIO$.connectToIn(ProcessImpl.scala:79)
at sbt.BasicIO$$anonfun$input$1.apply(ProcessImpl.scala:80)
at sbt.BasicIO$$anonfun$input$1.apply(ProcessImpl.scala:80)
at sbt.SimpleProcessBuilder$$anonfun$2.apply$mcV$sp(ProcessImpl.scala:383)
at sbt.Spawn$$anon$3.run(ProcessImpl.scala:20)
```

This is all on Mac OSX Lion.