Re: Tomcat failover

2008-08-11 Thread Ofer Kalisky
Is there a reason why no one is answering this? - Original Message - From: Ofer Kalisky To: Tomcat Users List Sent: Monday, August 11, 2008 3:26 PM Subject: Tomcat failover Hi, I have a Tomcat that has a thread that reads entries from a DB and handles them. In each

Tomcat failover

2008-08-11 Thread Ofer Kalisky
Hi, I have a Tomcat that has a thread that reads entries from a DB and handles them. In each cycle, it reads all the entries (to a certain limit). I would like to set up a configuration that has a failover Tomcat, that when the first one crashes the second starts to read from the same DB (or a

Re: getInputStream problem

2008-03-18 Thread Ofer Kalisky
: "Ofer Kalisky" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, March 18, 2008 10:01 AM Subject: Re: getInputStream problem I took test.jsp and put it in a new project (working with eclipse) and it does work. In my original project it doesn't. Can yo

Re: getInputStream problem

2008-03-18 Thread Ofer Kalisky
ault there. the server.xml is the same for both projects, where can it be? What is a valve? Thanks. - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, March 16, 2008 8:49 PM Subject: Re: getInputStream problem

Re: getInputStream problem

2008-03-16 Thread Ofer Kalisky
etting anything from it? - Original Message - From: Ofer Kalisky To: Tomcat Users List Sent: Sunday, March 16, 2008 11:53 AM Subject: getInputStream problem I have a JSP that looks like this: <% byte[] bytes = new byte[100]; int n = request.get

getInputStream problem

2008-03-16 Thread Ofer Kalisky
I have a JSP that looks like this: <% byte[] bytes = new byte[100]; int n = request.getInputStream().read(bytes); System.out.println("Bytes len: " + n); %> and a python script that looks like this: import httplib h1 = httplib.HTTPConnection('localhost', 8080) h1.putrequest('POST', '/SendM9/

Re: Tomcat memory leak?

2008-01-26 Thread Ofer Kalisky
Hi guys, Indeed session disabling did the job. Thanks! - Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, January 24, 2008 9:26 PM Subject: Re: Tomcat memory leak? -BEGIN PGP SIGNED MESSAGE---

Re: Tomcat memory leak?

2008-01-24 Thread Ofer Kalisky
try the load.py with both: import httplib i = 0 while 1: conn = httplib.HTTPConnection("localhost:8080") conn.request("GET", "/LoadTest/something.jsp") r1 = conn.getresponse() if (i % 500 == 0): print i i = i + 1 conn.close() sorry for any inconvenience Of

Re: Tomcat memory leak?

2008-01-24 Thread Ofer Kalisky
;localhost:8080") conn.request("GET", "/LoadTest/something.jsp") r1 = conn.getresponse() if (i % 500 == 0): print i i = i + 1 conn.close() sorry for any inconvenience Ofer. ----- Original Message - From: "Ofer Kalisky" <[EMAIL PROTECTED]> To: &quo

Re: Tomcat memory leak?

2008-01-24 Thread Ofer Kalisky
Change file ext to zip... - Original Message - From: "Ofer Kalisky" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, January 24, 2008 5:08 PM Subject: Re: Tomcat memory leak? I think the mailing list blocks war files... trying with zip.

Re: Tomcat memory leak?

2008-01-24 Thread Ofer Kalisky
I think the mailing list blocks war files... trying with zip... - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, January 24, 2008 5:00 PM Subject: Re: Tomcat memory leak? Good Morning Ofer I dont see attachement of /LoadTest/something.jsp Mart

Re: Tomcat memory leak?

2008-01-24 Thread Ofer Kalisky
I think one of the files wasn't attached for some reason... - Original Message - From: Ofer Kalisky To: users@tomcat.apache.org Sent: Thursday, January 24, 2008 4:51 PM Subject: Tomcat memory leak? Hi, I know it's weird, but I'm doing the simplest

Tomcat memory leak?

2008-01-24 Thread Ofer Kalisky
Hi, I know it's weird, but I'm doing the simplest thing and can't believe there such a leak that I'm the first one to notice. I bet it's my bad, please someone explain, what I'm doing wrong... I created the simplest JSP and when I load test it - tomcat (6.0.14, jre1.6.0_03) goes to 99.9% memor

Tomcat memory leak?

2008-01-24 Thread Ofer Kalisky
Hi, I know it's weird, but I'm doing the simplest thing and can't believe there such a leak that I'm the first one to notice. I bet it's my bad, please someone explain, what I'm doing wrong... I created the simplest JSP and when I load test it - tomcat (6.0.14, jre1.6.0_03) goes to 99.9% memory

Encrypt password in server.xml

2007-08-02 Thread Ofer Kalisky
Is there a way to encrypt the password in server.xml, so that people can't see the cleartext password when they open the server.xml file? I mean the connectionPassword attribute in the Realm element. Thanks, Ofer. - To start a n