Forum Bugs

HTTP Status 500 - Broken pipe

talyrobin
My sysadmin installed Prince on our production server after purchasing the license and now I am getting this:

Type Exception report

message Broken pipe

description The server encountered an internal error that prevented it from fulfilling this request.

exception

java.io.IOException: Broken pipe
java.io.FileOutputStream.writeBytes(Native Method)
java.io.FileOutputStream.write(Unknown Source)
java.io.BufferedOutputStream.flushBuffer(Unknown Source)
java.io.BufferedOutputStream.write(Unknown Source)
com.princexml.Util.copyInputToOutput(Util.java:52)
com.princexml.Prince.convert(Prince.java:550)
com.fsc.jama.createPDFFromFile.doGet(createPDFFromFile.java:48)
javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.53 logs.
mikeday
It looks like the Prince executable may not be starting. Can you confirm that you can run it successfully from the command-line on the server, and that the path to the binary is correct where you initialise the Java wrapper?