Re: Tomcat clustering in a server with SSL

2010-11-21 Thread rujin raj
Dear mario, You mean, you have configured your single Tomcat to use SSL? Right? Yes. What exactly do you mean with SSL is installed in that machine. Machine = Tomcat or Machine = windows Server 2008? windows 2008 machine Can i install multiple tomcat instance in same system and

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread André Warnier
rujin raj wrote: Hi, I am having a windows 2008 ent server and tomcat 6.0.29 64 bit,JVM 1.6.0 64 bit installed and SSL is configured in my server. I need to configure tomcat clustering in same machine, because SSL certificate is installed in that machine. Give some idea to install tomcat

Two way long running servlet connection problem

2010-11-21 Thread Paritosh Patel
I apologize if this question has been asked before, but I could not find the question in this list. My client makes what I call long running servlet request. By that what I mean is that the client makes a servlet request and the server keeps the ServletOutputStream open for a long time. I use

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread Mario Kleinsasser
As André wrote, there is a lot of documentation around. But for a starting point, some informations: 1. You can install multiple Tomcats in a single OS by defining the uses TCP/IP ports through the server.xml 2. To make this clear to the outside world (your users), use an Apache with mod_jk and

RE: Two way long running servlet connection problem

2010-11-21 Thread Caldarale, Charles R
From: xygnu...@gmail.com [mailto:xygnu...@gmail.com] On Behalf Of Paritosh Patel Subject: Two way long running servlet connection problem What am I doing wrong? For starters, you're not telling us the version of Tomcat in use, the JVM level it's running in, the platform you're running on,

Re: Two way long running servlet connection problem

2010-11-21 Thread André Warnier
Caldarale, Charles R wrote: From: xygnu...@gmail.com [mailto:xygnu...@gmail.com] On Behalf Of Paritosh Patel Subject: Two way long running servlet connection problem What am I doing wrong? For starters, you're not telling us the version of Tomcat in use, the JVM level it's running in, the

RE: Two way long running servlet connection problem

2010-11-21 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Two way long running servlet connection problem In HTTP 1.1, a change was made, with the objective of avoiding the overhead of establishing/destroying a connection for each request. Careful here. The connection described above is

Re: Several hosts within one tomcat / catch-all problem

2010-11-21 Thread David Fisher
Hi Konstantin, BTW, you can put those names in an external file and use it in the server.xml as an XML entity. Like the example in http://wiki.apache.org/tomcat/FAQ/Password Inspired by this thread and having a similar issue in maintaining virtual host aliases I edited my server.xml as

Re: Two way long running servlet connection problem

2010-11-21 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Two way long running servlet connection problem In HTTP 1.1, a change was made, with the objective of avoiding the overhead of establishing/destroying a connection for each request. Careful here. The

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread Pid *
On 21 Nov 2010, at 07:44, Mario Kleinsasser mario.kleinsasser+tom...@gmail.com wrote: Hi, On Sun, Nov 21, 2010 at 7:02 AM, rujin raj rujin...@gmail.com wrote: Hi, I am having a windows 2008 ent server and tomcat 6.0.29 64 bit,JVM 1.6.0 64 bit installed and SSL is configured in my server.

Re: Two way long running servlet connection problem

2010-11-21 Thread Paritosh Patel
Sorry about that. Here is the system description: Platform: Intel/Mac, Intel Linux, Windows 32bit. All 3 platforms have the same Tomcat/Java as below. Tomcat 6.0.26 (no web server installed) Sun Java: 1.6.0.22 Let me try to describe the code flow a bit more so that it may give a better

RE: Two way long running servlet connection problem

2010-11-21 Thread Caldarale, Charles R
From: xygnu...@gmail.com [mailto:xygnu...@gmail.com] On Behalf Of Paritosh Patel Subject: Re: Two way long running servlet connection problem I hope this makes it more clear. Pretty much what I thought you were doing. Should I be doing something explicitly to keep the connection alive

Re: Two way long running servlet connection problem

2010-11-21 Thread Mark Thomas
On 21/11/2010 13:24, Paritosh Patel wrote: What am I doing wrong? You are trying to get the HTTP protocol to do something it was never intended to support. Is this not supported? Yes, this is not supported. Use Comet. Mark

Re: Two way long running servlet connection problem

2010-11-21 Thread Paritosh Patel
OK. I understand. Thank you very much for your help. I will look into WebDAV and Comet. Sincerely, Tosh On Sun, Nov 21, 2010 at 3:37 PM, Mark Thomas ma...@apache.org wrote: On 21/11/2010 13:24, Paritosh Patel wrote: What am I doing wrong? You are trying to get the HTTP protocol to do

OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
hi: I've wrote an app with jsp and servlet, and I used four libs commons.logging common.httpclient jdom commons.codec the app works pretty well on my pc, and the tomcat is apache-tomcat-6.0.29 however , when I put this app on to another computer with the same tomcat it throws this exception

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: OutOfMemoryError some time on some tomcat1 the app works pretty well on my pc, and the tomcat is apache-tomcat-6.0.29 however , when I put this app on to another computer with the same tomcat it throws this exception Java

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
hi: thanks for replying the app is running on a powerful server and the memory is suppose to be enough I'll check if there is a memory leak,(althouth the app is suppose to use only a few memory) thanks 2010/11/22 Caldarale, Charles R chuck.caldar...@unisys.com From: xu cheng

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
by the way, it doesn't throws this exception while running on my computer it is only when the app is deploy on another computer that this problem occur 2010/11/22 xu cheng xcheng@gmail.com hi: thanks for replying the app is running on a powerful server and the memory is suppose to be

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread Mario Kleinsasser
This isn't a good idea. You can run multiple HTTPD and Tomcat instances on a Windows server. Installing linux virtual machines is just adding unnecessary overhead. To quote myself: If you like, you could do it also with windows. Therefore I wrote that line Mario --

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
after tracing the app with jprofiler for several hours , I still cannot figure the problem. it seems that the app doesn't use a lot of memory. and it still run pretty well in my computer.and after it is deployed in the server, it crash the problem of the environment? but the tomcat on the