Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Subject: Re: issue when redirect/forward on not - parsed form/multipart request

Subject: Re: issue when redirect/forward on not - parsed form/multipart request

2007-11-03       - By Rainer Jung

 Back
The dump shows, that you reply back with a redirect to

http://www/Kolloquium/Weiche;jsessionid=70AAEDF1EF6E46F60B0CB09B52DCAD16?do=fil
&Lng=1&err=3

The browser doesn't send this request afterwards, instead it retries the
upload request.

- is www a valid server name of your web server from the point of view
of the browser? Or is /www/ your context name, and the server name is
missing?

At the beginning of the download, there are two requests coming in over
two connections in parallel:

[Tue Sep 25 09:21:17.488 2007] [2240:2616]
/www/Kolloquium/MediaCenter;jsessionid=70AAEDF1EF6E46F60B0CB09B52DCAD16

[Tue Sep 25 09:21:17.488 2007] [2240:1376]
/www/Kolloquium/Fortschritt;jsessionid=70AAEDF1EF6E46F60B0CB09B52DCAD16

The second one gets back the response (approximately, dots might mean
whitespace, newline etc)

<!DOCTYPE html PUBLIC "-//W3C//DTD.HTML.4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><TITLE>-</TITLE><STYLE type="text/css">@(protected)
"CSS/styles.css";</STYLE></HEAD>
<META http-equiv="Refresh" content="1"/>
<BODY>
</BODY></HTML>

Directly after that response the first request runs on the same isapi
handling thread

It's a multipart/form-data request with a body of 91802343 bytes (app.).

We read a few KB from this request body and we get back a 302 redirect
from the backend pointing to

http://www/Kolloquium/Weiche;jsessionid=70AAEDF1EF6E46F60B0CB09B52DCAD16?do=fil
&Lng=1&err=3

which we return to the client/browser (at least I have no indication of
the opposite).

A few Milliseconds later we get a new request

[Tue Sep 25 09:21:17.550 2007] [2240:1376]
/www/Kolloquium/MediaCenter;jsessionid=70AAEDF1EF6E46F60B0CB09B52DCAD16

which seems to be identical to the first upload request and gets
answered in the same way.

Since you are using Firefox: you can add the Firebug plugin to follow
the requests and responses from the point of view of the browser.

Maybe the problem is, that IIS starts to read from the request body and
then sends back the redirect after having read parts of the body.

It could also be interesting to sniff the request/response via wireshark
to see, if IIS actually resets the network connection.

Does MSIE show the same problem?

Regards,

Rainer


tw796021@(protected) schrieb:
>> Thank you for your fast response!
>>
>> OK, I switched the log level to trace and provoked the problem. The
>> resulting Log file is attached.
>>
>
> Seems that attachements are not supported? Hope you won't beat me...
> Here's the log...

...


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)