This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat SSL" Watch "Tomcat SSL" New topic
Author

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.

Jesse


---<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
 
Similar Threads
Problems with clientAuth="true" on Jboss (Tomcat)
Simulate HTTPS in Tomcat connector or Apache config?
Java Plugin and loading Applet over Client SSL Connection
Mutual authentication in Web Services
Tomcat 6 Server Status - No maxThreads Attribute