Re: Apache/Tomcat mod_jk connector config issue ?

2015-06-16 Thread Felix Schumacher
Am 16.06.2015 13:42, schrieb André Warnier: Hi. Can I too ? Why not? mod_jk log (debug) : ... [Tue Jun 16 13:26:21.928 2015] [16334:140682714515200] [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1134): Attempting to map URI '/hudson' from 5 maps [Tue Jun 16 13:26:21.928 2015]

AW: Brand new to Tomcat

2015-06-16 Thread Thomas Rohde
Hi Larry, of course you can add several Connector elements in server.xml. But notice that the value of the port attribute (not proxyPort) must be unique. Otherwise the second connector cannot be established at Tomcat startup. Regards Thomas -Ursprüngliche Nachricht- Von: Cohen,

Re: Threads is it equal to no. of open sockets

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vicky, On 6/16/15 10:34 AM, vicky wrote: In tomcat does the no . of open sockets on http port (netstat -anlp|grep 8080) is it equal to number of threads in use in tomcat . Actually i want to understand how when i can say that the all

Re: Threads is it equal to no. of open sockets

2015-06-16 Thread vicky
Hi Chris-  I;ve below config :-   Connector port=8080 protocol=HTTP/1.1                 connectionTimeout=2                redirectPort=8443 / - vicky On Tuesday, 16 June 2015 9:37 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE-

Re: Brand new to Tomcat

2015-06-16 Thread Mark Thomas
On 16/06/2015 16:32, Cohen, Laurence wrote: Hi, I find myself in a position where I am the only system administrator on a project that uses tomcat appserver and apache webeserver with a postgres backend. We have two applications, and before and changeover from mod_ssl to mod_nss we were

Brand new to Tomcat

2015-06-16 Thread Cohen, Laurence
Hi, I find myself in a position where I am the only system administrator on a project that uses tomcat appserver and apache webeserver with a postgres backend. We have two applications, and before and changeover from mod_ssl to mod_nss we were able to go over port 80 to grab files out of the

Tomcat https redirect for other host

2015-06-16 Thread Andre Gomes
Hi, I am using tomcat 7.0.52.0 and I am trying to redirect the request from http to https so I added to /etc/tomcat7/web.xml: security-constraint web-resource-collection web-resource-nameProtected Context/web-resource-name url-pattern/*/url-pattern

Re: Brand new to Tomcat

2015-06-16 Thread André Warnier
Cohen, Laurence wrote: Hi, I find myself in a position where I am the only system administrator on a project that uses tomcat appserver and apache webeserver with a postgres backend. I am going to do some guesswork here, and you'll tell us if I'm wrong. Presumably, considering what you are

Threads is it equal to no. of open sockets

2015-06-16 Thread vicky
Team, In tomcat does the no . of open sockets on http port (netstat -anlp|grep 8080) is it equal to number of threads in use in tomcat . Actually i want to understand how when i can say that the all threads in a tomcat are fully utilized that why it is responding slow. Please help in

Re: Brand new to Tomcat

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Laurence, On 6/16/15 1:02 PM, Cohen, Laurence wrote: Thanks for everyone's response. to Andre' Warnier, yes. There are many ProxyPass statements in nss.conf on the Apache webserver. They appear to have taken the place of redirect statements in

Re: Brand new to Tomcat

2015-06-16 Thread Felix Schumacher
Am 16. Juni 2015 19:54:40 MESZ, schrieb Cohen, Laurence lco...@novetta.com: On the old instance, represented in these files by prodweb01, ssl.conf and rewrite.conf were included from httpd.conf On the new instance represented by testweb01, nss.conf and rewrite.conf are included from httpd.conf,

Re: Brand new to Tomcat

2015-06-16 Thread Cohen, Laurence
Yeah, I'm going to have to figure this out. If I paste the text in the email it will be very long. On Tue, Jun 16, 2015 at 2:00 PM, Felix Schumacher felix.schumac...@internetallee.de wrote: Am 16. Juni 2015 19:54:40 MESZ, schrieb Cohen, Laurence lco...@novetta.com: On the old instance,

RE: Brand new to Tomcat

2015-06-16 Thread Caldarale, Charles R
From: Cohen, Laurence [mailto:lco...@novetta.com] Subject: Re: Brand new to Tomcat Sorry, I sent that last post before I sent this one. I'm assuming this is what you were meaning about top posting? I should just post after all previous posts? Yes, but trimming out the fluff (e.g.,

Re: Threads is it equal to no. of open sockets

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vicky, On 6/16/15 12:25 PM, vicky wrote: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / Also, what Tomcat version? I'm guessing 6.0.x or 7.0.x. Can you give us the whole version number, including the x at the

Re: Issues porting application from tomcat 5.0.28 to tomcat 7.0.57

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Raj, On 6/15/15 6:22 PM, RAJ wrote: Can anyone please help me with the below. I even posted this in struts users group but no reply. I am facing this issue after porting my application from the existing Tomcat 5.0.28 to the new tomcat 7.0.57.

Re: Tomcat https redirect for other host

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 6/16/15 12:02 PM, Andre Gomes wrote: I am using tomcat 7.0.52.0 and I am trying to redirect the request from http to https so I added to /etc/tomcat7/web.xml: security-constraint web-resource-collection web-resource-nameProtected

Re: Brand new to Tomcat

2015-06-16 Thread Cohen, Laurence
*** nss.conf.testweb01 *** Listen 443 AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl.crl NSSPassPhraseDialog file:/etc/httpd/.password.conf #NSSPassPhraseDialog builtin NSSPassPhraseHelper /usr/sbin/nss_pcache NSSSessionCacheSize 1

Re: Brand new to Tomcat

2015-06-16 Thread Cohen, Laurence
On Tue, Jun 16, 2015 at 2:39 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Cohen, Laurence [mailto:lco...@novetta.com] Subject: Re: Brand new to Tomcat Sorry, I sent that last post before I sent this one. I'm assuming this is what you were meaning about top posting?

RE: Brand new to Tomcat

2015-06-16 Thread Caldarale, Charles R
From: Cohen, Laurence [mailto:lco...@novetta.com] Subject: Re: Brand new to Tomcat I apologize everyone. No apology needed - you're doing much better than many. Are there some instructions that I'm supposed to have read through. I'd be happy to review anything that will provide

Re: Threads is it equal to no. of open sockets

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vicky, On 6/16/15 12:50 PM, vicky wrote: Server version: Apache Tomcat/7.0.22 Server built: Sep 27 2011 09:40:50 Oh, wow, you really need to upgrade. There are a number of really *really* important security updates that need to be applied.

Re: Threads is it equal to no. of open sockets

2015-06-16 Thread vicky
Thanks Chris for an insight. When you say the number of open sockets and the number of Tomcatrequest-processing threads will be the same. Does that mean all sockets states whether its in Closed_wait,listening, stop etc... will consume a thread individually.If yes then does that imply if i count

Re: Brand new to Tomcat

2015-06-16 Thread Cohen, Laurence
On the old instance, represented in these files by prodweb01, ssl.conf and rewrite.conf were included from httpd.conf On the new instance represented by testweb01, nss.conf and rewrite.conf are included from httpd.conf, and ssl.conf is no longer used. You'll see that there was an attempt to move

Re: Brand new to Tomcat

2015-06-16 Thread Felix Schumacher
Am 16. Juni 2015 20:10:52 MESZ, schrieb Cohen, Laurence lco...@novetta.com: Yeah, I'm going to have to figure this out. If I paste the text in the email it will be very long. Maybe you could look for the changes yourself (diff might be your friend) and just paste the things that are

Re: Brand new to Tomcat

2015-06-16 Thread Cohen, Laurence
On Tue, Jun 16, 2015 at 2:26 PM, Felix Schumacher felix.schumac...@internetallee.de wrote: Am 16. Juni 2015 20:10:52 MESZ, schrieb Cohen, Laurence lco...@novetta.com: Yeah, I'm going to have to figure this out. If I paste the text in the email it will be very long. Maybe you could look

Re: [OT] Brand new to Tomcat

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 6/16/15 2:39 PM, Caldarale, Charles R wrote: From: Cohen, Laurence [mailto:lco...@novetta.com] Subject: Re: Brand new to Tomcat Sorry, I sent that last post before I sent this one. I'm assuming this is what you were meaning about

Re: Threads is it equal to no. of open sockets

2015-06-16 Thread vicky
Chirs - Below are the required details as your requested :- Server version: Apache Tomcat/7.0.22Server built:   Sep 27 2011 09:40:50Server number:  7.0.22.0OS Name:        LinuxOS Version:     3.4.48-45.46.amzn1.x86_64Architecture:   amd64JVM Version:    1.6.0_24-b24JVM Vendor:     Sun

Re: Threads is it equal to no. of open sockets

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vicky, On 6/16/15 1:38 PM, vicky wrote: When you say the number of open sockets and the number of Tomcatrequest-processing threads will be the same. Does that mean all sockets states whether its in Closed_wait,listening, stop etc... will

Re: Brand new to Tomcat

2015-06-16 Thread Cohen, Laurence
Thanks for everyone's response. to Andre' Warnier, yes. There are many ProxyPass statements in nss.conf on the Apache webserver. They appear to have taken the place of redirect statements in ssl.conf, which is no longer in use. Your configuration assumption is correct, except that the users

Re: Brand new to Tomcat

2015-06-16 Thread Cohen, Laurence
I am most definitely confused. :-) I'm gathering and sanitizing configuration files now. Thanks, Larry On Tue, Jun 16, 2015 at 1:26 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Laurence, On 6/16/15 1:02 PM, Cohen, Laurence

Re: Brand new to Tomcat

2015-06-16 Thread Cohen, Laurence
On Tue, Jun 16, 2015 at 4:06 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Larry, On 6/16/15 3:34 PM, Cohen, Laurence wrote: On Tue, Jun 16, 2015 at 3:13 PM, Christopher Schultz ch...@christopherschultz.net wrote:

Re: Issues porting application from tomcat 5.0.28 to tomcat 7.0.57

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Raj, On 6/16/15 4:15 PM, RAJ wrote: Is there any reason not to simply remove the double-slash? We see that in the source of the page. In the jsp its html:form action=/calculators/Calculator onsubmit=return validateForm(); So the

Re: Brand new to Tomcat

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Larry, On 6/16/15 3:34 PM, Cohen, Laurence wrote: On Tue, Jun 16, 2015 at 3:13 PM, Christopher Schultz ch...@christopherschultz.net wrote: Larry, BTW, you're doing great. Thanks for battling-through. See below. On 6/16/15 2:29 PM,

Re: Brand new to Tomcat

2015-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Larry, BTW, you're doing great. Thanks for battling-through. See below. On 6/16/15 2:29 PM, Cohen, Laurence wrote: *** nss.conf.testweb01 *** Listen 443 AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl

Re: Brand new to Tomcat

2015-06-16 Thread Cohen, Laurence
On Tue, Jun 16, 2015 at 3:13 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Larry, BTW, you're doing great. Thanks for battling-through. See below. On 6/16/15 2:29 PM, Cohen, Laurence wrote: *** nss.conf.testweb01 ***

Re: Issues porting application from tomcat 5.0.28 to tomcat 7.0.57

2015-06-16 Thread RAJ
Hi Christopher, Thanks for your reply. To your question Is there any reason not to simply remove the double-slash? We see that in the source of the page. In the jsp its html:form action=/calculators/Calculator onsubmit=return validateForm(); Thanks Raj On Jun 16, 2015, at 11:53 AM,

redirect to website not working

2015-06-16 Thread Ankur Gupta
I have apache tomacat 7.0.61 and linux server 6.1 enterprise. There is a requirment of sending sms to the customers, but the request to send sms to the vendor is throught this sftp linux server. Now, when i redirect to the page it does not respond.But when i access the same website through command

Re: TCP connections reuse

2015-06-16 Thread Maxim Neshcheret
Hi Christopher, We actually found what was the problem with keep-alive. It is caused by the fact that Tomcat didn’t specify parameters ‘Keep-Alive: timeout=60,max=100’, in HTTP header. In this case Java uses parameters by default, ie ‘Keep-Alive: timeout=0,max=5’ and that is why connection

Re: TCP connections reuse

2015-06-16 Thread Mark Thomas
On 16/06/2015 11:26, Maxim Neshcheret wrote: Hi Mark We are using HTTP/1.1. Then why are you expecting Tomcat to provide a Keep-alive header? That is not part of HTTP/1.1. Mark BR, Maxim From: Mark Thomas Reply-To: Tomcat Users List Date: Tuesday 16 June 2015 16:18 To:

Re: TCP connections reuse

2015-06-16 Thread Mark Thomas
On 16/06/2015 09:25, Maxim Neshcheret wrote: Hi Christopher, We actually found what was the problem with keep-alive. It is caused by the fact that Tomcat didn’t specify parameters ‘Keep-Alive: timeout=60,max=100’, in HTTP header. In this case Java uses parameters by default, ie

Re: TCP connections reuse

2015-06-16 Thread Maxim Neshcheret
Hi Mark We are using HTTP/1.1. BR, Maxim From: Mark Thomas Reply-To: Tomcat Users List Date: Tuesday 16 June 2015 16:18 To: Tomcat Users List Subject: Re: TCP connections reuse On 16/06/2015 09:25, Maxim Neshcheret wrote: Hi Christopher, We actually found what was the problem with

Apache/Tomcat mod_jk connector config issue ?

2015-06-16 Thread André Warnier
Hi. Can I too ? mod_jk log (debug) : ... [Tue Jun 16 13:26:21.928 2015] [16334:140682714515200] [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1134): Attempting to map URI '/hudson' from 5 maps [Tue Jun 16 13:26:21.928 2015] [16334:140682714515200] [debug] find_match::jk_uri_worker_map.c