Hi everybody,
This is completely an off topic question. But I tried the JRun forums
and I didn't get any help. I am really sorry for this post but I have no
where else to go. So here goes.. I am having problems running the
servlet on IIS4.0 and JRun2.3.3 (153).
The application worked perfectly on JavaWebServer2.0. So I do not have
an answer for this wierd behaviour. I am closing all the streams.
I tried to analyse the exception that I am getting. This is how far I
have reached.
The \JRun\jsm-default\logs\stderr.txt shows this:
Reading POST parameters: java.lang.IllegalArgumentException
java.io.StreamCorruptedException: Caught EOFException while reading the
stream header
 at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:727)
 at java.io.ObjectInputStream.<init>(ObjectInputStream.java:165)
 at DeptDBServlet.doPost(Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
 at com.livesoftware.jrun.JRun.runServlet(Compiled Code)
 at
com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116)

 at
com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java:78)

 at
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JRunProxyServiceHandler.java:102)

 at com.livesoftware.jrun.service.ThreadConfigHandler.run(Compiled Code)

The \JRun\jsm-default\services\jse\logs\event.txt  shows this (The last
entry):
Thu Sep 30 11:57:22 GMT+05:30 1999: DeptDBServlet:  Entering servlet do
post method

And the \Jrun\jsm-default\servvices\jse\logs\error.txt shows this:

Thu Sep 30 11:47:39 GMT+05:30 1999: JRun Properties Dir:
C:\JRun\jsm-default\services\jse\properties
Is there any port conflict.

This is how far the application is working:


The first time the request is sent (for the first query) to the servlet
i am handling it in the doget function and the results are being
returned.

The second time ( for the second query : select statement ) the request
is sent i am handling it in the dopost function. This is throwing the
above exception mentioned.

Did any of you encounter any such problems? Both the requests are
DataBase
query requests. It worked fine on Javawebserver2.0.

Any suggestions would be appreciated. Thank You all.

Bye.
-Kiran.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to