You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Anthony MULLER <a....@hyperoffice.fr> on 2002/01/14 13:44:14 UTC

os-windows/9475: Tomcat - Apache - problem to serve properly images

>Number:         9475
>Category:       os-windows
>Synopsis:       Tomcat - Apache - problem to serve properly images
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Mon Jan 14 04:50:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     a.muller@hyperoffice.fr
>Release:        1.3.22
>Organization:
apache
>Environment:
Win32 (windows 98)
>Description:
I installed :
Apache 1.3.22
Tomcat 4.0.1

And I configured Apache and Tomcat in order to they work together :
- Apache for classic web page
- Tomcat for JAVA application

The problem is quite basic : 
If a web page, serving by Tomcat passing by Apache have images, this one never be display and Tomcat crashed... Just serving a page with image.


This is an extract of apache_log.txt file :
2002-01-14 12:34:14 WarpEngine[Apache]: Mapping request
2002-01-14 12:34:14 WarpHost[127.0.0.1]: Mapping request for Host
2002-01-14 12:34:14 InvokerFilter(ApplicationFilterConfig[name=Path Mapped Filter, filterClass=filters.ExampleFilter]): 0 milliseconds
2002-01-14 12:34:15 WarpEngine[Apache]: Mapping request
2002-01-14 12:34:15 WarpHost[127.0.0.1]: Mapping request for Host
2002-01-14 12:34:16 InvokerFilter(ApplicationFilterConfig[name=Path Mapped Filter, filterClass=filters.ExampleFilter]): 380 milliseconds
2002-01-14 12:34:37 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket
java.io.IOException: Premature packet header end
	at org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:237)
	at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:112)
	at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
	at java.lang.Thread.run(Thread.java:484)



This is an extract of error.log from Apache server :
Apache server shutdown initiated...
[Mon Jan 14 12:27:44 2002] [error] 
[Mon Jan 14 12:29:12 2002] [error] forcing termination of child #0 (handle 144)
Apache server shutdown initiated...
Apache server shutdown initiated...
[Mon Jan 14 12:31:52 2002] [error] forcing termination of child #0 (handle 144)
Apache server shutdown initiated...
Apache server shutdown initiated...
[Mon Jan 14 12:36:42 2002] [error] Invalid packet 16
[Mon Jan 14 12:36:42 2002] [error] Communitcation interrupted
[Mon Jan 14 12:36:42 2002] [error] Communitcation interrupted
Apache server shutdown initiated...
[Mon Jan 14 12:44:09 2002] [error] 
[Mon Jan 14 12:44:09 2002] [error] 
[Mon Jan 14 12:47:05 2002] [error] forcing termination of child #0 (handle 144)
Apache server shutdown initiated...
[Mon Jan 14 13:34:58 2002] [error] 
[Mon Jan 14 13:34:58 2002] [error] 
[Mon Jan 14 13:36:07 2002] [error] forcing termination of child #0 (handle 144)
Apache server shutdown initiated...
Apache server shutdown initiated...


>How-To-Repeat:
Install Tomcat, Apache and webapp module... I don't do anything else... I already saw this problem on other mailing list and bug report list but no solution is provided !

I use : http://www.galatea.com/flashguides/apache-tomcat-4-win32.xml to help to install and configure software.

Thanks for ur help and work !

Anthony 
>Fix:
Check the process which process the image serving... :o)
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]