Hi, The Application port is configured in the catalina.properties file
# String cache configuration. tomcat.util.buf.StringCache.byte.enabled=true #tomcat.util.buf.StringCache.char.enabled=true #tomcat.util.buf.StringCache.trainThreshold=500000 #tomcat.util.buf.StringCache.cacheSize=5000 SHUTDOWN_PORT=-1 HTTP_PORT=8030 JVM_ROUTE=dl360x3805.8030 With regard to the HTTPD configuration , the members are configured in the another file (balancer.conf) which is included in the httpd.conf Include /etc/httpd/conf/balancer.conf BalancerMember http://dl360x3806:8030/custcare_cmax/view/services retry=60 route=dl360x3806.8030 Regards, Adhavan.M On Thu, May 11, 2017 at 9:06 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Adhavan, > > On 5/11/17 11:32 AM, Adhavan Mathiyalagan wrote: > > 8030 is the port where the application is running. > > Port 8030 appears nowhere in your configuration. Not in server.xml > (where you used ${HTTP_PORT}, which could plausibly be 8030) and not > in httpd.conf -- where you specify all port numbers for mod_proxy_http > and none of them were port 8030. > > - -chris > > > On Thu, May 11, 2017 at 8:53 PM, André Warnier (tomcat) > > <a...@ice-sa.com> wrote: > > > >> On 11.05.2017 16:57, Adhavan Mathiyalagan wrote: > >> > >>> Hi Chris, > >>> > >>> *Tomcat Configuration* > >>> > >>> HTTP/1.1 and APR > >>> > >>> <Connector port="${HTTP_PORT}" protocol="HTTP/1.1" > >>> > >>> connectionTimeout="20000" > >>> > >>> redirectPort="8443" maxHttpHeaderSize="8192" /> > >>> > >>> > >>> <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource> > >>> > >>> > >>> > <Manager pathname="" > >>> className="org.apache.catalina.session.StandardManager" > >>> maxActiveSessions="400"/> <!-- <Manager pathname="" /> --> > >>> > >>> > >>> *HTTPD Configuration* > >>> > >>> > >>> > >>> ServerTokens OS ServerRoot "/etc/httpd" > >>> > >>> PidFile run/httpd.pid > >>> > >>> Timeout 60 KeepAlive Off MaxKeepAliveRequests 100 > >>> KeepAliveTimeout 15 <IfModule prefork.c> StartServers 256 > >>> MinSpareServers 100 MaxSpareServers 500 ServerLimit > >>> 2000 MaxClients 2000 MaxRequestsPerChild 4000 </IfModule> > >>> > >>> <IfModule worker.c> StartServers 4 MaxClients > >>> 300 MinSpareThreads 25 MaxSpareThreads 75 > >>> ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule> > >>> > >>> > >>> > >>> ServerName * Timeout 300 ProxyPreserveHost On ProxyRequests > >>> Off <Proxy balancer://wsiservices> BalancerMember > >>> http://dl360x3799:8011/admx_ecms/view/services retry=60 > >>> status=+H route=dl360x3799.8011 BalancerMember > >>> http://dl360x3799:8012/admx_ecms/view/services retry=60 > >>> status=+H route=dl360x3799.8012 ProxySet > >>> stickysession=JSESSIONID ProxySet lbmethod=byrequests </Proxy> > >>> ProxyPass /custcare_cmax/view/services balancer://wsiservices > >>> ProxyPassReverse /custcare_cmax/view/services > >>> balancer://wsiservices ProxyPass /admx_ecms/view/services > >>> balancer://wsiservices ProxyPassReverse > >>> /admx_ecms/view/services balancer://wsiservices <Proxy > >>> balancer://wsiinstances> BalancerMember > >>> http://dl360x3806:8035/custcare_cmax/services/ws_cma3 retry=60 > >>> route=dl360x3806.8035 BalancerMember > >>> http://dl360x3806:8036/custcare_cmax/services/ws_cma3 retry=60 > >>> route=dl360x3806.8036 ProxySet stickysession=JSESSIONID > >>> ProxySet lbmethod=byrequests </Proxy> ProxyPass > >>> /custcare_cmax/services/ws_cma3 balancer://wsiinstances > >>> ProxyPassReverse /custcare_cmax/services/ws_cma3 > >>> balancer://wsiinstances ProxyPass /admx_ecms/services/ws_cma3 > >>> balancer://wsiinstances ProxyPassReverse > >>> /admx_ecms/services/ws_cma3 balancer://wsiinstances <Proxy > >>> balancer://admxcluster> BalancerMember > >>> http://dl360x3799:8011/admx_ecms retry=60 status=+H > >>> route=dl360x3799.8011 BalancerMember > >>> http://dl360x3799:8012/admx_ecms retry=60 status=+H > >>> route=dl360x3799.8012 ProxySet stickysession=JSESSIONID > >>> ProxySet lbmethod=byrequests </Proxy> ProxyPass /admx_ecms > >>> balancer://admxcluster ProxyPassReverse /admx_ecms > >>> balancer://admxcluster <Proxy balancer://cmaxcluster> > >>> BalancerMember http://dl360x3799:8021/custcare_cmax retry=60 > >>> status=+H route=dl360x3799.8021 BalancerMember > >>> http://dl360x3799:8022/custcare_cmax retry=60 status=+H > >>> route=dl360x3799.8022 BalancerMember > >>> http://dl360x3806:8035/custcare_cmax retry=60 > >>> route=dl360x3806.8035 BalancerMember > >>> http://dl360x3806:8036/custcare_cmax retry=60 > >>> route=dl360x3806.8036 ProxySet stickysession=JSESSIONID > >>> ProxySet lbmethod=byrequests </Proxy> ProxyPass /custcare_cmax > >>> balancer://cmaxcluster ProxyPassReverse /custcare_cmax > >>> balancer://cmaxcluster <Proxy balancer://mxcluster> > >>> BalancerMember http://dl360x3805:8089/mx route=dl360x3806.8089 > >>> ProxySet stickysession=JSESSIONID ProxySet lbmethod=byrequests > >>> </Proxy> ProxyPass /mx balancer://mxcluster ProxyPassReverse > >>> /mx balancer://mxcluster <Location /ecmsbm> SetHandler > >>> balancer-manager </Location> <Location /ecms-server-status> > >>> SetHandler server-status </Location> ExtendedStatus On > >>> TraceEnable Off SetEnv force-proxy-request-1.0 1 SetEnv > >>> proxy-nokeepalive 1 > >>> > >>> > >>> > >> Hi. Your netstat screenshot showed the CLOSE_WAIT connections on > >> port 8030, like : > >> > >> tcp 509 0 ::ffff:10.61.137.49:8030 > >> ::ffff:10.61.137.47:60903 CLOSE_WAIT > >> > >> But I do not see any mention of port 8030 in your configs above. > >> So what is listening there ? ("netstat --tcp -aopn" would show > >> this) > >> > >> > >> > >> On Thu, May 11, 2017 at 7:20 PM, Christopher Schultz < > >>> ch...@christopherschultz.net> wrote: > >>> > >>> -----BEGIN PGP SIGNED MESSAGE----- > >>>> Hash: SHA256 > >>>> > >>>> Adhavan, > >>>> > >>>> On 5/11/17 9:30 AM, Adhavan Mathiyalagan wrote: > >>>> > >>>>> The connections in the CLOSE_WAIT are owned by the > >>>>> Application /Tomcat process. > >>>>> > >>>> > >>>> Okay. Can you please post your configuration on both httpd > >>>> and Tomcat sides? If it's not clear from your configuration, > >>>> please tell us which type of connector you are using (e.g. > >>>> AJP/HTTP and BIO/NIO/APR). > >>>> > >>>> - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - > >>>> http://gpgtools.org Comment: Using GnuPG with Thunderbird - > >>>> http://www.enigmail.net/ > >>>> > >>>> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlkUbAoACgkQHPApP6U8 > >>>> > >>>> > pFjWZQ/9EfGcfgvvkM92bIaRBYYh93ET2X7tKP6xQnusKfJ6D0xubfAOU5E+P77c > >>>> BM/3jS1rNyP29zOouHxsGj3h8VzHR4w5ieo6SHHZzkRiOngULSd8hIAbtYdE1UfD > >>>> > >>>> > 4LX8D86KkOZ7HlIxQOQMphP/Lta7KaJ+90FFRmuvEzj3UfYM0JOpzgND/e9609hs > >>>> 6XhpPzmWlSpxdGrnAqoVpMow6F+X1lwolWaZxFCAevQ8gUFqnBVFxfT+zmkwT5mH > >>>> > >>>> > dqk/jPlaAsTUOf4bz4ly8xrXmD3uAldODzRzVpIMCAtPIvkVGWazyIUltF6w5o1X > >>>> Bz4Z8efsc6mKGrfqcTAar/mpbzAdlbkUVusAhWurXfM+NIneAER7cuR8c1DfldOA > >>>> > >>>> > x1L3owirmTIM9+qf+KV9d+bnsdMfEuGnnNEnx2SYXaCGh4+2sZOG4Zbb4oRO5RlM > >>>> b+7emzY+Y4JVnbFYVQD1D/RSUS5V+jX69ewm7hfksRPUJYLLDR8smJ1vbAR4MMHB > >>>> > >>>> > rdqIajl3tAAxCylTQA2hnVfbhu60Iz/Eky4kWATLY0kO5aR7YsXPQFxIQYnkYVZa > >>>> 0o9TjRVJvhoLwSv10RmD1JxEXCXbpr3qeD+zvDK+TJSowCPqu2xnx+DqGkjpiWk6 > >>>> > >>>> > eSHDyxaSJqfuz02HeDXWivhYmRE/iWKSETox5Na8UR2MjOdLnPw= > >>>> =YwUt -----END PGP SIGNATURE----- > >>>> > >>>> ------------------------------------------------------------------- > - -- > >>>> > >>>> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >>>> For additional commands, e-mail: > >>>> users-h...@tomcat.apache.org > >>>> > >>>> > >>>> > >>> > >> > >> --------------------------------------------------------------------- > >> > >> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: users-h...@tomcat.apache.org > >> > >> > > > -----BEGIN PGP SIGNATURE----- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlkUhRUACgkQHPApP6U8 > pFhTxQ/7BgctMYiMwQaSpmo7BoIGXu/k65Trdo8PhLJ1aOXfKiHduUu/4axzd4ll > x72a4clplXJ7ZNyTPxmhISb+YOVWvbJMIdRgNzeeCVJvjdpup1btJ3Mh2F7PWPsh > h74nVvOngxGbsLihe42I1dyGUcDDmj0UUdMtuGp11ewErFLY33JUxQcnizAGYfrf > 1i95vOQM7UVVWOpDWuYMveS1vCtpBn9GRSfnVnMHKvBX5cqhgavwKBJQOFqGPe++ > 9J4fRIXVWgG1YmwqxL4Kg3RX4igsmoQLZgOvFU+8LKwfUEChG+KB86eewf3C0oyd > S2cfMP3vZatYFoq5G8OdIajaTMelkucXR3Gaj5fXuWT9SWFUlyuDlQhWy3f4qLqX > LQ89RHMbnVDk5iymP/Bbf9RPrILq3UgqcgvN4xjweBtsbNBRDYdYGlk0+nw2QAHa > giiTdDdwfz2Js58CxrNIqDgZmpBsItiuTdlbfDyEAEtonMOVNeVAvsf9BusNWZgM > ffCZsiCbPJpQ4JQKMy6umxzJ6JYF162N4pDNHa+u8LeGzCI5hL+dzbMnq9iwW6yN > uaybjPDbbUEpcFmCsA0eG4sAjUw+L4ERKaU+daFus6XZHrdjF+QffzQuHqto+knH > t7JWavcnZau5oOPcCJxeLy6UqbzDbPuPe2ty2x5ZsPCQ9B/vpis= > =T9cJ > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >