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
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
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 users@tomcat.apache.org
Sent: Sunday, March 16, 2008 8:49 PM
Subject: Re: getInputStream problem
Ofer Kalisky wrote
: Ofer Kalisky [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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 you point me
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',
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.getInputStream().read(bytes
: SHA1
Ofer,
Ofer Kalisky wrote:
| That's what I'm saying, I've been sitting on this for two days and can't
| figure it out.
Does your JSP disable sessions? It's possible that your python script is
creating millions of (unused) sessions that don't expire before you bust
your heap.
- -chris
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
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 thing and can't
Change file ext to zip...
- Original Message -
From: Ofer Kalisky [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, January 24, 2008 5:08 PM
Subject: Re: Tomcat memory leak?
I think the mailing list blocks war files...
trying with zip
= 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
Ofer.
- Original Message -
From: Ofer Kalisky [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent
:19 PM, Ofer Kalisky [EMAIL PROTECTED] wrote:
Ok, since sending an attachment doesn't work,
simply create a webapp by the name of LoadTest and create two files
inside:
something.jsp and something.html
the content of both files should be:
htmlbody//html
try the load.py with both:
import
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
13 matches
Mail list logo