Chris,Martin,
On Wed, Mar 19, 2014 at 12:59 AM, Christopher Schultz < [email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Randeep, > > On 3/18/14, 10:27 AM, Randeep wrote: > >> I'm not sure about what kind of connector I'm using. This is my > >> configuration. > > > >> httpd-2.2.3-65.el5.centos + tomcat-connectors-1.2.28-src + > >> tomcat-connectors-1.2.28-src > > > >> [root@server tomcat-connectors-1.2.28-src]# cat > >> /etc/httpd/conf.d/mod_jk.conf JkWorkersFile > >> /etc/httpd/conf.d/workers.properties JkLogFile > >> /var/log/httpd/mod_jk.log JkLogLevel info JkLogStampFormat "[%a > >> %b %d %H:%M:%S %Y] " JkOptions +ForwardKeySize +ForwardURICompat > >> -ForwardDirectories JkRequestLogFormat "%w %V %T" JkMount /* > >> worker1 JkShmFile /etc/httpd/logs/jk-runtime-status > > Assuming that this is the only configuration you have in httpd.conf, > then you are using mod_jk (and not mod_proxy_ajp or mod_proxy_http). > > >> [root@server tomcat-connectors-1.2.28-src]# cat > >> /etc/httpd/conf.d/workers.properties > >> workers.tomcat_home=/usr/share/apache-tomcat-6.0.37/ > >> workers.java_home=/usr/java/default > > You don't need "java_home". > > >> ps=/ > > You don't need "ps". > > I have removed both. Its working without them. > >> worker.list=worker1 worker.default.port=8009 > >> worker.default.host=localhost worker.default.type=ajp13 > > > >> Is there anyway to check which type is this NIO or BIO? > > The <Connector> from Tomcat's server.xml will tell you that, unless > you have left the default in which case it depends upon whether you > have APR available or not. Since the whole thread started with you > saying you didn't have APR, it's likely that it's /not/ available and > therefore you likely have the default BIO connector. > > - -chris > These are the connectors I can see in my server.xml <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> - Randeep > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJTKJ6dAAoJEBzwKT+lPKRYpi8QAKrcux1ROhOTnlB4zhnobLFK > BjYrggkOddrzQoncePN/4vcZeKssBlzNNNu2JD6OzDmax3vhms/y6Fhn9x3dYwFm > MKDySqHdNiPqe5b33n/vIPg5gqiZlHDh+AzOwW3mG83rI0S8NFt2zIq3EY5pX915 > uu31kISNWR7/W4nFGqngg8lGT6VH0qLXOpjLKCe+AwMIhtgIarfoZ1UZkZbbgBXq > wE0gKC7xO+nCs+nC0Rovadne9nQRLIBjxtqfl8w2+YfuSmanpZ/ar+utAh51xi7X > XCeJP6gKXh+gYZLcauHEyKKVwdHPquJn/p0k8HMNoEkNTYauykwIBcU2GPxlqcPI > 4rE80edoCkIth+RuccnD9xG5Db8QiYDT9Q5Fea9klbs3VwK36FXeLAHiKo3UV4Xg > yZDO2yqEDTdQwNXI1IldMUh9yA7jatvYUg83vL1C11W45dCm7ZHmKeb3GBIF6ze6 > mmmd0aBQ6xle9ghEU57ComPKxcJke+XST7UybIu24Ug29ig9UvgjoortMTmKJaQY > 8kwwPLkfRJKsf3XZa4pMwpY3bhb2o5u6ugz7qcQz318hZUnaWi5kRsS3BJzl4H1u > IXCaD1cVm8sPNWFWJexnJvwY+bLgjCI/zvyz21BwGYqkc4Z8OgQdzGkwPAzPBj9G > DFQAkuNV4BK29jwuRWnl > =onNP > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Randeep Mob: +919447831699[kerala] Mob: +919880050349[B'lore] I blog here: http://www.randeeppr.me/ Follow me Here: http://twitter.com/Randeeppr Poke me here! http://www.facebook.com/Randeeppr A little Linux Help http://www.linuxhelp.in/ Work profile: http://in.linkedin.com/in/randeeppr
