What are the possible causes for this exception when running code on a linux machine that has previosuly worked perfectly on a windows machine in a tomcat environment?
I'm using the following api:
http://eclipse.crosscoreop.com/doc/javadoc/JavaEclipseInterface/index.html
and I get the following errors:
java.io.IOException: Broken pipe
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:260)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:410)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
at java.io.BufferedWriter.flush(BufferedWriter.java:236)
at com.parctechnologies.eclipse.OutOfProcessEclipse.startLocalEclipse(OutOfProcessEclipse.java:290)
at com.parctechnologies.eclipse.OutOfProcessEclipse.(OutOfProcessEclipse.java:73)
at com.jae.jaeQuestion.QuestionSet.(QuestionSet.java:79)
at com.jae.jaeQuestion.QuestionServlet.getOutput(QuestionServlet.java:96)
at com.jae.jaeQuestion.QuestionServlet.doGet(QuestionServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
then subsequently:
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:415)
at java.lang.Integer.parseInt(Integer.java:497)
at com.parctechnologies.eclipse.OutOfProcessEclipse.(OutOfProcessEclipse.java:82)
at com.jae.jaeQuestion.QuestionSet.(QuestionSet.java:79)
at com.jae.jaeQuestion.QuestionServlet.getOutput(QuestionServlet.java:96)
at com.jae.jaeQuestion.QuestionServlet.doGet(QuestionServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:25)
I get similar errors when I run the code as a standalone program (with main method).
The code works perfectly in tomcat running on windows.
Thanks,
Lilalfyalien
Message was edited by:
lil_alfy_alien
Message was edited by:
lil_alfy_alien