I have one servlet which is called by a hidden frame. This sevlet creates a "pushlet" object by passing it's ServletOutputStream in the Pushlets constructor. This pushlet then holds on to this output stream and sends messages back to the hidden frame when certain server conditions are met thereby giving me a virtual server callback device. However Orion seems to call a close on the OutputStream once the doPost method is completed so that when the pushlet does a write to the Stream and then calls flush() a NullPointerException is thrown. Below is the stack trace.
java.lang.NullPointerException void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse.commit() EvermindHttpServletResponse.java:586 void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindServletOutputStream.write(byte[], int, int) EvermindServletOutputStream.java:126 void com.sbec.framework.components.pushlet.MsgPushlet.sendMsg(java.lang.String) MsgPushlet.java:38 We had this Pushlet running wonderfully on Jrun However orion is doing something with the OutoutStream which is messing everything up.. Does anyone have any ideas on how to keep this output stream open