----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


Need Help !!!!!!!!!
WinNT 4.0 with Service Pack 6
  Apache 1.3.12
  Jserv 1.1.2
  JDK 1.2.2
  JSDK 2.0
  protocol : ajpv12
  port     : 8007

I'm trying to read InputStream from request inside service method.
   HttpServletRequest.getInputStream()

  public void service( HttpServletRequest req, HttpServletResponse resp )
                throws ServletException, IOException
  {
       try
           {
           ObjectInputStream in = new
jectInputStream( req.getInputStream( ) );
         }
       catch ( Exception ex)
       {
          // printing exception to the log file
       }
  }

I'm getting socket exception :
   java.net.SocketException: Socket closed
        at java.net.SocketInputStream.socketRead(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:86)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:225)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:280)
      at
org.apache.jserv.JServConnection$JServInputStream.read(JServConnection.java)
      .....

I know this works on JavaWebServer2.0 .
May it be some basic problem with JSerConnection.getInputStream()
implementation ?
Or may be it's my Jserv wrong configuration.

Has anyone getting such a thing?
Any ideas?

Arnold



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to