Hi All,
Could you please suggest which all tomcat connector is available to use for jira (configured https) instance? Currently we are using NIO connector. Is the NIO is the better one or do we have something else?
Please see our server.xml file.
<!-- Customized Tomcat configuration for Atlassian Bamboo --> <Server port="8101" shutdown="SHUTDOWN"> <!-- Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="off" / --> <Listener className="org.apache.catalina.core.JasperListener" /> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/> <Service name="Catalina"> <Executor name="main" namePrefix="HTTP" /> <Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol" connectionTimeout="20000" maxHeaderSize="8192" executor="main" redirectPort="443" URIEncoding="UTF-8" scheme="https" proxyName="domain name" proxyPort="443" secure="false" useBodyEncodingForURI="true"/> <Engine name="Catalina" defaultHost="localhost"> <Host name="localhost"> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="access." suffix=".log" pattern="common" resolveHosts="false"/> </Host> </Engine> </Service> </Server>
If possible, could you please share some docs to understand this in better, thanks.
Hi,
not sure if I understand your question completely. Your JIRA is running on Tomcat which provides several connectors to use - BIO (blocking), NIO (non-blocking) and APR (Apache Portable Runtime). To configure one of these connectors you can follow the tomcat configuration for connectors [1].
At the ent of this page you will find a connector comparison to figure out the main differences [2].
NIO might be interesting for you if you want to use low level socket properties. From [4]:
"BIO means if you use http with keep-alive parameter then you will continue to use that thread in order to maintain keep-alive connection while with Non-Blocking IO Connectors you don't need to use thread to maintain keep-alive requests, so you can make efficient use of threads here "
Because I don't know much about JIRA and its runtime behaviour I cannot recommend one connector in advance. Based on the JIRA documentation they use the HTTP standard (BIO) connector - here you find the HTTPS configuration [3].
A benchmark on this topic would be nice.
HTH, Sabine
[1] http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
[2] http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Connector_Comparison
Thanks for the detailed information :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess there are three connectors available,
1. org.apache.coyote.http11.Http11Protocol - same as HTTP/1.1 (BIO)
2. org.apache.coyote.http11.Http11NioProtocol - non blocking Java connector (NIO)
3. org.apache.coyote.http11.Http11AprProtocol - the APR connector (APR)
So in our case, if we want to change NIO to any other which all steps to we need to take care? (actually our JIRA is configured over https). Please suggest.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.