You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Geoff Howard <gh...@crosswalk.com> on 2001/10/18 22:58:03 UTC

RE: WebApp: Error 500 (File: pr_warp.c Line: 434) updated

sorry, forgot to paste the error log snippet.  The error log
({CATALINA_HOME}\logs\apache_log) shows:

2001-10-11 14:22:13 WarpHost[geoffpc.didax.com]: Mapping request for Host
2001-10-11 14:22:13 StandardContext[/examples]: Mapping
contextPath='/examples' with requestURI='/examples/servlets/index.html' and
relativeURI='/servlets/index.html'
2001-10-11 14:22:13 StandardContext[/examples]: Decoded
relativeURI='/servlets/index.html'
2001-10-11 14:22:13 StandardContext[/examples]:  Mapped to servlet 'default'
with servlet path '/servlets/index.html' and path info 'null' and
update=true
2001-10-11 14:22:13 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.net.SocketException: Connection aborted by peer: socket write error
	at java.net.SocketOutputStream.socketWrite(Native Method)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:62)
	at org.apache.catalina.connector.warp.WarpConnection.send(Unknown
Source)
	at
org.apache.catalina.connector.warp.WarpResponse$Stream.close(Unknown Source)
	at
org.apache.catalina.connector.warp.WarpResponse$Stream.finish(Unknown
Source)
	at
org.apache.catalina.connector.warp.WarpResponse.finishResponse(Unknown
Source)
	at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown Source)
	at org.apache.catalina.connector.warp.WarpConnection.run(Unknown
Source)
	at java.lang.Thread.run(Thread.java:484)

-----Original Message-----
From: Geoff Howard 
Sent: Thursday, October 18, 2001 4:51 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: WebApp: Error 500 (File: pr_warp.c Line: 434) 


I have had a lot of trouble with what seems to be a similar problem and can
add the following observations, but unfortunately, no solution.  I've looked
pretty hard through this and other lists and have found nothing that works.

To clarify, the symptoms I get are: the examples context (and presumably
other) never works correctly through the warp connector -- sometimes the
examples context page hangs, sometimes it gives the 500 error mentioned.
The index page (/examples/servlets/index.html) does not even load.  The
error logs show: 

1) I've noticed that everything works fine if I for testing purposes turn
off images display in my browser options (ie5.5 and netscape 4.7).
Conclusion: images may be the issue.
2) The examples (including images) all work flawlessly going straight to
Tomcat through :8080.
3) Apache works fine for all pages that don't go through warp (doc root set
to apache/htdocs, so static files and images there are fine)
4) My co-worker had no such trouble on his machine which is nearly identical
to mine, using the same builds (tomcat 4.0 release, Apache 1.3.20) and
identical conf files, both on apache and server.xml.
5) The same co-worker gets the same results hitting my machine from his.
6) I've since tried moving up to tomcat 4.0.1 with no luck.
7) I've tried both our own compiled version of mod_webapp.so and libapr.dll
(before the win32 binaries were released) and the binaries available at the
download site. 
8) I previously had tomcat and apache cooperating nicely under tomcat 3.2,
using mod_jk.
9) I'm using Win2K professional sp2, jdk1.3, +300M ram, 400MhzPII 
10) Just for kicks, I tried renaming mod_webapp.so to mod_webapp.dll and
changed the LoadModule call to match.  No luck.
11) I've tried both manual install as well as the .exe installers available
for both Apache and Tomcat.

Can anyone either add observations of their own of this issue, or point to a
potential cure?

Geoff

-----Original Message-----
From: Kishor K [mailto:kishorkeyan@yahoo.com]
Sent: Thursday, October 18, 2001 5:19 AM
To: Tomcat User Mailing List
Subject: WebApp: Error 500 (File: pr_warp.c Line: 434) 


hi,
 
I have installed TC4.0.1 and Apache on Win NT.
Connected them using mod_webapp and Warp.
 
Sometimes nothing comes and browser waits for the output.
But sometimes i am getting the following error.
++++++++++++++++++++++++++++++++++
WebApp: Error 500
 
                                     (File: pr_warp.c Line: 434) 
 
(null) 
+++++++++++++++++++++++++++++++++
 
httpd.conf
 
    LoadModule webapp_module modules/mod_webapp.so
    AddModule   mod_webapp.c 

 
    NameVirtualHost *
   <VirtualHost *>
        ServerName www.myserver.com
        DocumentRoot "D:/Program Files/Apache/htdocs"
 #start for tomcat4.0.1@@@@@@@@@@@@@@@@@@@
    WebAppConnection conn      warp  www.myserver.com:8008
    WebAppDeploy     examples  conn  /examples
   WebAppDeploy     myapp  conn  /myapp   
   WebAppInfo       /webapp-info
        #end for tomcat4.0.1@@@@@@@@@@@@@@@@@@@@@@@
    </VirtualHost>
    <VirtualHost *>
    ServerName www.yourserver.com
    DocumentRoot "D:/Program Files/Apache/yourdocs"
    </VirtualHost>

server.xml
 
i hvnt added anything to the server.xml
No contexts added to the server.xml.
 
Any idea?
 
kishor
 






_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com