• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat HTTP connection

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have Tomcat 3.2.3 running in conjuction with Cocoon 1.8.2. The application runs smoothly on Windows 2000 platform i.e the tomcat log does show this error "Connection reset by peer: socket write error" but seems to be harmless as the application does nto break anywhere. While running the same application on Windows XP it breaks when I try to call a servlet which renders a csv file to the client.

This is an iframe embedded inside the page. On the click of a button the contents of iframe are dynamically loaded and sent to a servlet, which then renders the csv file. This functionallity breaks about 80% of the time on XP. The connection with tomcat somehow breaks and "Cannot find server" is displayed.

Initially I thought this was a problem with TCP/IP on the client machine and changed the registry settings to have a longer keepAlive interval but it still doesn't work. The server.xml for tomcat has the following configuration for connectors:

<Connector className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler" value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter name="port" value="9900"/>
</Connector>

Any help would be greatly appreciated. I am not sure if this problem is specific to Tomcat 3.2.3 and would be solved if i use Coyote connector in the higher version.

Any suggestions?
[ June 01, 2004: Message edited by: Simran Brar ]
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch Simram. I'm not sure why you posted this question in the build tools forum. So I'm moving this to our Tomcat forum for you.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic