tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastiaan van Erk <sebs...@sebster.com>
Subject getRemotePort() returns -1 sometimes
Date Wed, 02 Apr 2008 19:21:49 GMT
Hi,

I have a tomcat servlet set up in Tomcat 6.0.16 behind Apache 2.2.4 with 
mod_proxy and a ProxyPass with ajp:// to a servlet. Now it sometimes 
happens to me that a call of request.getRemotePort() in the doPost() 
method of the servlet returns -1. When this happens it keeps happening 
until I restart tomcat, after which getRemotePort() seems to work again.

Does anybody know what can cause this?

Regards,
Sebastiaan

Mime
View raw message