File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Increasing the number of connections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Increasing the number of connections" Watch "Increasing the number of connections" New topic

Increasing the number of connections

Vinicius Caldeira Carvalho

Joined: Nov 22, 2006
Posts: 3
Hello there! We are running a tomcat behind an apache server using mod_jk. We need to increase the number of connections our tomcat supports (today set to 250). Where would we change at connector 8080 or 8009?

Best regards

<Connector port="8080" address="${jboss.bind.address}"
maxThreads="250" minSpareThreads="25" maxSpareThreads="250"
enableLookups="false" redirectPort="8443" acceptCount="150"
connectionTimeout="20000" disableUploadTimeout="true"/>
Stu Thompson
Ranch Hand

Joined: Jun 14, 2006
Posts: 136
I think that with mod_jk and AJP, you'd want to modify value for Tomcat's AJP connected which usually runs on 8009. 8080 is http and would have no effect unless your apache server was proxy-ing the requests to Tomcat via HTTP.


"This is not to say that design is unnecessary. But after a certain point, design is just speculation." --Philip Chu
I agree. Here's the link:
subject: Increasing the number of connections
It's not a secret anymore!