2 Replies Latest reply on Sep 30, 2002 9:43 AM by khamsouk

    HttpException() when uploading files with JBoss 3.0.2

    khamsouk

      Hi,

      Using JBoss 3.0.2 with Jetty I am occasionally getting a HttpException(400, Bad Request, Missing Content) when doing file uploads. It seems to be caused by a java.net.SocketTimeoutException: Read timed out.

      I had never gotten this error before with Jboss 3.0.0 with Jetty. Is this a known problem?

      Thanks,

      Khamsouk

        • 1. Re: HttpException() when uploading files with JBoss 3.0.2
          gregwilkins

          This is not a known problem. Can you give some more information regarding the OS etc of the servlet and client.

          Is there anything in the log about the bad request?
          Can you turn on debug and see if there is anything else?
          Is there a stack trace?
          What package are you using for the server side upload part?
          Is there a delay or timeout before you get this?

          Also the is a new release 3.0.3 coming out soon with a major upgrade of Jetty (to 4.1.1), so that may also help.

          cheers

          • 2. Re: HttpException() when uploading files with JBoss 3.0.2
            khamsouk

            I am using the following:
            - win XP
            - JDK 1.4.0_02 (also tried JDK 1.4.1 FCS)
            - Struts 1.02 (for file uploads)


            Also after more investigation it seems that it happens a lot more with Internet Explorer 6, especially with large files compared with Mozilla 1.x. Haven't tried other clients yet.

            I don't get any stack traces throwm by JBoss or Jetty.

            My install of JBoss/Jetty is fairly vanilla.