jQuery in Action, 3rd edition
The moose likes Tomcat and the fly likes Tomcat SSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat SSL" Watch "Tomcat SSL" New topic

Tomcat SSL

Jesse Beaumont
Ranch Hand

Joined: May 30, 2002
Posts: 43
We're having problems getting Tomcat to work under SSL in WinXP and Win2K3. I have it configured and it serves up pages just fine. When we run load tests, however, it starts to fall apart.

When the load increases the client starts showing up ConnectException: connection refused messages.

Under http it works fine and handles an adequate load. I've set the maxThreads to 500 and am only running 400 concurrent client threads averaging out at around 20-30 rps at peak so I can't see that this is what is causing the problem.

I have tried various versions of tomcat (4.1.18, 4.1.30, 5.0.16, 5.0.24) and all of them have the same problem. I also tried it through IIS and Apache using connectors and the same thing happens.

I've tried playing with maxThreads, minThreads, maxKeepAlive, acceptCount and anything else I could find

We've used both JMeter, a custom built java load client and a custom built .NET load client (just in case it was something to do with the JSSE)

Any help or suggestions would be greatly appreciated.


---<br />Time flies like an arrow,<br />Fruit flies like a banana
I agree. Here's the link: http://aspose.com/file-tools
subject: Tomcat SSL
It's not a secret anymore!