I thought there used to be link at the download site for the connector
source to compile it, but all I see are a few binaries, which doesn't
include a binary for what I need...
http://jakarta.apache.org/site/binindex.cgi
What happened to the source for the connectors?
The only binaries
To: Tomcat Users List
Subject: RE: How to limit time for Connector threads?
Hi,
What the original poster meant is not that there is a race condition
in
Tomcat, but in his own web application.
I don't think so, but either one of us could be misinterpreting the
original post.
Yoav Shapira
AM
To: 'Tomcat Users List'
Subject: RE: How to limit time for Connector threads?
Hi Yoav and Antonio,
I am not absolutely sure, but I think (with high probability) that the
bug is in our application. I am not original author of this
application
but I have to take care about it. Now I know
On Fri, 7 May 2004, rlipi wrote:
| So, let's go back to my original question. I think that it is common
| situation that, due to the some mistake in source code, the execution of
| a request thread is very long or infinite. And the server should not to
| go down by this kind of mistakes.
You are
rlipi wrote:
I am going to try Antonio's proposal. Also I would like to try some
profiling tool. But it will take a lot of time to find and repair
something, I think.
If you are dealing with a programming error like an infinite loop or a
deadlock, you may have better luck using a debugger,
PROTECTED]
Gesendet: Freitag, 7. Mai 2004 12:27
An: Tomcat Users List
Betreff: Re: How to limit time for Connector threads?
rlipi wrote:
I am going to try Antonio's proposal. Also I would like to try some
profiling tool. But it will take a lot of time to find and repair
something, I think.
If you
I haven't done this myself, but here is a link:
http://marc.theaimsgroup.com/?l=tomcat-userm=107373227524598w=2
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 6:33 AM
To: [EMAIL PROTECTED]
Subject: AW: How to limit time for Connector
Message-
From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 12:27 PM
To: Tomcat Users List
Subject: Re: How to limit time for Connector threads?
rlipi wrote:
I am going to try Antonio's proposal. Also I would like to try some
profiling tool. But it will take a lot
informations about this technique or a
little bit time to explain it for me?
Thanx
Jens
-Ursprüngliche Nachricht-
Von: Rodrigo Ruiz [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. Mai 2004 12:27
An: Tomcat Users List
Betreff: Re: How to limit time for Connector threads?
rlipi wrote:
I am going
the current thread
if it takes to long and dump some data.
-Original Message-
From: rlipi [mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 2:20 PM
To: 'Tomcat Users List'
Subject: RE: How to limit time for Connector threads?
Maybe I have wrong idea about possibilities
() {
oEndTime = 0;
}
public void timeout() {
oStartingThread.interrupt();
}
}
-Original Message-
From: Ralph Einfeldt
Sent: Friday, May 07, 2004 7:12 PM
To: Tomcat Users List
Subject: RE: How to limit time for Connector threads?
- Extend the filter to interrupt
Hallo,
is it possible in any way to limit time for threads that realize user
requests?
Sometimes (once a day in average), the Tomcat 5.0.19 server doesn't
answers. The reason is in error message All threads are currently
busy. Probably there is a bug in the web application. Some kind of
Maybe you should increase the number of threads in your connector.
check attribut maxProcessors in your server.xml
In this example, I set it to 500 instead of 75 (default value)
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=80 minProcessors=30
that the problem is some death lock.
Lipi
-Original Message-
From: STOCKHOLM, Raymond [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 8:56 AM
To: Tomcat Users List
Subject: RE: How to limit time for Connector threads?
Maybe you should increase the number of threads in your
:
Vedr.: RE: How to limit time for Connector threads?
Yes, I did it.
But it is not solution. Server doesn't answer slowly or for only some
requests. It doesn't answer at all. It means that treads are not
terminated and resources are not released. Sometimes, server doesn't
answer without All
Hi,
I highly doubt you've stumbled on a race condition in the tomcat connector
implementation. Nonetheless, if you can supply a small WAR that leads to the problem
you've described, we'll be glad to test it, and if your problem is reproducible rest
assured it will be fixed immediately
[mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 9:51 AM
To: Tomcat Users List
Subject: Vedr.: RE: How to limit time for Connector threads?
Hi Lipi,
are you by any chance integrating Tomcat with IIS using JK2? And does
the
death lock occur whether you use port 80 or 8080?
/Thomas
highly doubt you've stumbled on a race condition in the tomcat connector
implementation. Nonetheless, if you can supply a small WAR that leads to the problem
you've described, we'll be glad to test it, and if your problem is reproducible rest
assured it will be fixed immediately, as that would
Hi,
What the original poster meant is not that there is a race condition in
Tomcat, but in his own web application.
I don't think so, but either one of us could be misinterpreting the
original post.
Yoav Shapira
This e-mail, including any attachments, is a confidential business
that the alternative is to run Tomcat via a
connector from Apache.
I have no particular need to run Apache - nearly everything on the site
I'm putting together requires Tomcat. Is running Tomcat as a root
process really impossible and/or problematic (under Linux)? Are there
any other downsides to running
that is an upper case S
or it will be ignored.
Good luck and watch for typos.
Doug
www.parsonstechnical.com
- Original Message -
From: Barnet Wagman [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 4:45 PM
Subject: (newbie q) Connector vs running standalone
that the alternative is to run Tomcat via a
: connector from Apache.
That's one of several options.
Others range from proxying to f/w redirects to commons-daemon ...
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
The easier way is just leave tomcat listening on 8080 and add a port
redirection rule using netfilter.
- You just have to redirect incoming conections on port 80 to port 8080.
- Add proxyPort=80 on the Connector tag in server.xml.
Voila!
You're done.
Bytes
DAC
Barnet Wagman escribió:
I'd like
-
From: JoAnn Lemm [mailto:[EMAIL PROTECTED]
Sent: 16 April 2004 18:17
To: 'Tomcat Users List'
Subject: RE: JK connector -- isapi2 -- file upload
Importance: High
While we're discussing this ... has anyone developed a work-around for this
problem? I have beta product clients calling me, so
til Tomcat Users List
Til:[EMAIL PROTECTED]
cc:
Vedr.: RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED
Hm,
I just decided to test the stream terminated unexpectedly upload bug
with JK2/IIS/TC5 and your statement that adding DEBUG to JK2 removes
I've been following this thread for a while now in hopes someone would
come up with something to help resolve it. My issue is not with big
files, as i have that working, but sending PNG files from the application
server to the client. the connection dies between the tomcat5 server and
the
-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 12:20
To: Tomcat Users List
Subject: RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED
I've been following this thread for a while now in hopes someone would
come up with something to help resolve
-Original Message-
From: Allistair Crossley
Nevertheless my tests and the chap who previously mentioned
logger helped his case both show that logger being switched
on has _some_ effect in relation to this issue, although your
case now shows that it is not the _complete_
connector -- isapi2 -- file upload - BUG HACK PROVED
-Original Message-
From: Allistair Crossley
Nevertheless my tests and the chap who previously mentioned
logger helped his case both show that logger being switched
on has _some_ effect in relation to this issue, although your
]
To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED
I have been using JK 2.0.4 since 26th March, just after it got released and also
this morning in my tests that reveal the bug is still present. Sorry! :)
ADC
: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 14:01
To: 'Tomcat Users List'
Subject: RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED
-Original Message-
From: Allistair Crossley
Nevertheless my tests and the chap who previously mentioned
logger helped his
-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]
I do believe the link provided below is an updated dll.
Yes.
I've
implemented it however I see no changes / differences.
See the bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=15278
I'd be glad to se your
]
Sent: 20 April 2004 12:20
To: Tomcat Users List
Subject: RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED
I've been following this thread for a while now in hopes someone would
come up with something to help resolve it. My issue is not with big
files, as i have that working
: Allistair Crossley [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED
Alex don't ask me where I saw this but I read that your SHM size causes issues - I
cannot remember what
I use a workaround - my upload form uploads to port 8080 directly and then Tomcat
redirects the user back to port IIS port 80 after the upload.
ADC.
-Original Message-
From: JoAnn Lemm [mailto:[EMAIL PROTECTED]
Sent: 16 April 2004 18:17
To: 'Tomcat Users List'
Subject: RE: JK connector
, the requirements would be
apt-get install apache
apt-get install apache-dev (requires libdb2-dev)
apt-get install libtool
apt-get install automake
For the connector
tar -xzvf jakarta-tomcat-connectors-jk2-src-current.tar.gz
cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
sh buildconf.sh
Christoph P. Kukulies said:
On Fri, Apr 16, 2004 at 07:31:40AM +0800, Eric Noel wrote:
On 4/15/2004 10:28 PM, C. Kukulies wrote:
In the vein of getting tomcat 5 apache 1.3.29 integration working
I'm now at the point where I came to the conclusion that I need to
build
We verified this using Tomcat 4.1.30 not 5.x.
Therein may be the problem. The connector code
in Tomcat.
Let's ask this then.
Is there a dependency between JK2 and Tomcat?
When they started to release separately one would
think that any JK2 would work with any Tomcat?
Does JK2 need to include
-
From: E Cunningham [mailto:[EMAIL PROTECTED]
Sent: Friday, April 16, 2004 9:59 AM
To: Tomcat Users List
Subject: Re: JK connector -- isapi2 -- file upload
We verified this using Tomcat 4.1.30 not 5.x.
Therein may be the problem. The connector code
in Tomcat.
Let's ask
In the vein of getting tomcat 5 apache 1.3.29 integration working
I'm now at the point where I came to the conclusion that I need to build
jakarta-tomcat-connectors-jk-1.2.5-src/jk/native
Correct me if I'm wrong but I came there by reading and skimming the web.
Noone could help me in this list so
Hi All,
I've search the archives and I've seen several posts indicating that there
is a bug in the isapi connector in regards to large file uploads (or not
that large, since the error seems to occur at or around 50Kb.) The problem
being that the stream ended unexpectedly.
The strange thing
For the connector
tar -xzvf jakarta-tomcat-connectors-jk2-src-current.tar.gz
cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
sh buildconf.sh
./configure --with-apxs=/usr/bin/apxs
make
make all
cp ../build/jk2/apache13/mod_jk2.so /usr/lib/apache/1.3
Hello,
I am using Tomcat-4.1.29 and the jk1.2 connector (isapi_redirect.dll)
to interface with IIS 6.
Everything works wonderfully, except that IIS logs the cs-uri-stem as
the redirect dll (/jakarta/isapi_redirect.dl). Is it possible to log
the actual redirected URL (i.e index.jsp)? Without
April 2004 00:22
To: [EMAIL PROTECTED]
Subject: JK2 connector built and installed but is there something wrong?
After downloading the source and building it, I
finally have mod_jk2 at least loaded into Apache Web
Server 2.0.48.
However, in the docs, it says to add these 2
directives to workers2
kwilding wrote:
Hi,
This is a minimalistic workers2.properties. Remember to change to
your ip address. It works for me on SuSE.
Kevan
# comment these lines out in production
[logger.apache2]
level=DEBUG
[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576
Is this neccessary?
#
connector built and installed but is there something wrong?
After downloading the source and building it, I
finally have mod_jk2 at least loaded into Apache Web
Server 2.0.48.
However, in the docs, it says to add these 2
directives to workers2.properties:
[uri:/examples/*]
worker=ajp13:localhost:8009
the
webapps folder by default.
Mark
-Original Message-
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 8:28 AM
To: Tomcat Users List
Subject: RE: JK2 connector built and installed but is there something wrong?
try doing this
[uri:/jsp-examples/*]
worker
-
From: Hamilton, Andrew
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 8:28 AM
To: Tomcat Users List
Subject: RE: JK2 connector built and installed but
is there something wrong?
try doing this
[uri:/jsp-examples/*]
worker=ajp13:localhost:8009
There is no examples structure
After downloading the source and building it, I
finally have mod_jk2 at least loaded into Apache Web
Server 2.0.48.
However, in the docs, it says to add these 2
directives to workers2.properties:
[uri:/examples/*]
worker=ajp13:localhost:8009
When I send the browser to
I have been using both Tomcat and Apache for a couple of year now and
finding and configuring the connector continues to be the most
frustrating thing that I have ever encountered. I am running Apache
2.0.49 and Tomcat 5.0.19 on a Suse 8.0 server. I have both Apache and
Tomcat working
On Mon, Apr 05, 2004 at 10:42:18AM -0400, Myles Moutoux wrote:
: Does anyone know where the connectors for
: other linux platforms are located? Does anyone have a functional
: configuration that I could use as an example.
Have you checked the archives yet?
I'm pretty sure this has been
Moutoux [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 10:42 AM
To: Tomcat Users List
Subject: Apache 2 Tomcat 5 connector location and configuration
I have been using both Tomcat and Apache for a couple of year now and
finding and configuring the connector continues to be the most
QM wrote:
On Mon, Apr 05, 2004 at 10:42:18AM -0400, Myles Moutoux wrote:
: Does anyone know where the connectors for
: other linux platforms are located? Does anyone have a functional
: configuration that I could use as an example.
Have you checked the archives yet?
I'm pretty sure this has
Tomcat 5 connector location and configuration
QM wrote:
On Mon, Apr 05, 2004 at 10:42:18AM -0400, Myles Moutoux wrote:
: Does anyone know where the connectors for
: other linux platforms are located? Does anyone have a functional
: configuration that I could use as an example.
Have you checked
On Mon, Apr 05, 2004 at 11:08:26AM -0400, Myles Moutoux wrote:
: I have checked the archives and there is nothing for tomcat 5, which is
: supposed to be the newest release. I have also seen quite a few of the
: post, but, again they all refer to prior versions and I've tried using
: the
On Mon, 2004-04-05 at 16:08, Myles Moutoux wrote:
I have checked the archives and there is nothing for tomcat 5, which is
supposed to be the newest release. I have also seen quite a few of the
I agree that tomcat5 + mod_jk2 documentation is very lacking, yes,
there's discussions on the
[mailto:[EMAIL PROTECTED]
Sent: 05 April 2004 15:42
To: Tomcat Users List
Subject: Apache 2 Tomcat 5 connector location and configuration
I have been using both Tomcat and Apache for a couple of year now and
finding and configuring the connector continues to be the most
frustrating thing
Hi,
I am trying to connect tomcat 5.0 and Apache 2.0.48 through JK2
connector using JNI on Windows 2000. The channel.jni:jni init is failing.
I greatly appreciate any help with this.
Thanks,
Sreeni
Following are the errors from the log file mod_jk2.log
Correct, and it is commented out in the sample you posted already so is not actually
being used.
Ta
Matt
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 31 March 2004 07:15
To: Tomcat Users List
Subject: Re: What is the use of this connector
Bill,
So
Is there any reason that you are not using the JK2 connector, as it was written for
apache 2?
-Original Message-
From: Salvador Santander Gutierrez [mailto:[EMAIL PROTECTED]
Sent: 31 March 2004 08:49
To: Tomcat List
Subject: I can´t compile the jk connector source for apache 2.0.40
Hi All,
I am receiving HTTP Status 404 - /logion.jsp error while trying to send
request to apache using jk connector.
Jk connector version: 1.2
apache: 1.3.29
tomcat : 5.0.19
I am trying to access a site http://localhost/shoestore/login.jsp
kept under the location of webapps folder in tomcat.
I
to compile a JK2 connector on Tru64 :
Hello, blood brother :-) I compiled it on Tru64 UNIX 4.0D
You're not missing anything. The JK2 code is making an assumption of
what va* (variable argument list) implementation looks like. It
could be that on most other systems (or should I say, C compiler
On Tue, Mar 30, 2004 at 11:33:37AM +0200, Salvador Santander Gutierrez wrote:
Hello, I want to pass the next jvm parameters to the ajp13 connector to
improve the performance.
-server -xms64m -Xmx384m
How can get this? With worker.inprocess.sysprops=server?
As far as I know, you can't just
Eulogio Robles wrote:
You are right, it worked... almost :-)
I get this error :
libtool: install: warning: remember to run `libtool --finish
/usr/local/apache2/modules'
/sbin/cp
../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so
../../../build/jk2/apache2/mod_jk2.so
cp:
Hi
The primary benefit is, that using mod_jk, the request is not pushed to a
proxy.
Having a proxy in between gives serveral problems:
- Authentication issues (as David mentioned)
- Logging issues
- Security issues
All the last two come from the point, that each and every request is done by
the
Hello, I want to pass the next jvm parameters to the ajp13 connector to
improve the performance.
-server -xms64m -Xmx384m
How can get this? With worker.inprocess.sysprops=server?
I'm using apache 1.3.29, tomcat 4.1.27 and jk connector 1.2
Thanks in advance
I've noticed that the performance through tomcat directly ( by port 8080,
coyote connector) is much better than request the same page to the apache
with ajp13 connector. Is there any way to improve the performance of the
ajp13 connector?
I'm using apache 1.3.26, tomcat 4.1.27, and jk connector 1.2
I'm trying to compile a JK2 connector on Tru64 :
I cd to /usr/local/src/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2
./configure --with-apxs2=/usr/local/apache2/bin/apxs
make
I get this :
/bin/ksh /usr/local/apache2/build/libtool --silent --mode=compile cc
-g -pthread-DOSF1 -I
Hi,
May I know the exact use of this connector. What happens if I remove this?
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector port=8009
enableLookups=false redirectPort=443 debug=0
protocol=AJP/1.3 /
Thank you,
Best Regards,
Uma
Eulogio Robles wrote:
I'm trying to compile a JK2 connector on Tru64 :
Hello, blood brother :-) I compiled it on Tru64 UNIX 4.0D
I cd to /usr/local/src/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2
./configure --with-apxs2=/usr/local/apache2/bin/apxs
make
I get this :
/bin/ksh /usr/local
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
May I know the exact use of this connector. What happens if I remove this?
You'll no longer be able to talk to Apache/IIS/SunOne using mod_jk :).
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector port
Bill,
So, if the Tomcat doesn't talk to Apache/IIS/etc.. there is no need of this
connector?
Thank you,
Best Regards,
Uma
Bill Barker
I'm trying to compile the source of jk connector 1.2.5 in a RedHat 9.0 with
apache 2.0.40 and tomcat 4.1.24. I've installed all required (httpd-devel
and all the developing tools) and I do:
./builconf.sh
./configure --with-apxs=/usr/sbin/apxs
./make
all goes well but then make gives some errors
Hi,
I'd like to have our Tomcat servers monitored, in order to get an alarm
if one of them stops responding.
But they are not using HTTP at all. We are using the Coyote AJP
connector because we have Apache in front of them, in a balanced
configuration.
So I'd like to load a page directly
Antonio Fiol Bonnín said:
Hi,
I'd like to have our Tomcat servers monitored, in order to get an alarm
if one of them stops responding.
But they are not using HTTP at all. We are using the Coyote AJP
connector because we have Apache in front of them, in a balanced
configuration.
If you
benefits of this connector approach?
Thanks in advance...
Frank
John Sidney-Woollett wrote:
Antonio Fiol Bonnín said:
Hi,
I'd like to have our Tomcat servers monitored, in order to get an alarm
if one of them stops responding.
But they are not using HTTP at all. We are using the Coyote AJP
connector because we have Apache in front of them, in a balanced
someone here tell me why this might not be a good idea? It is easy to setup and work great, however what are the additional benefits of this connector approach?
Thanks in advance...
Frank
-
To unsubscribe, e-mail: [EMAIL
!
Andrew.. I couldn't find a valid download link in the docs and thought maybe
they were old.
Thanks,
Mark
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 9:50 AM
To: Tomcat Users List
Subject: RE: new apache to tomcat connector for linux
I use Mars to monitor Tomcat instances that are front-ended with
Apache. To insure that my back-end logic is working correctly, I
connect to Apache and look for a particular string of characters in a
page. Mars also contains a HTTPS and JDBC probes so you can monitor SSL
sites and database
It's a very nice software, but it still has not an AJP probing client.
Antonio Fiol
Scott Ahten wrote:
I use Mars to monitor Tomcat instances that are front-ended with
Apache. To insure that my back-end logic is working correctly, I
connect to Apache and look for a particular string of
Message -
From: David Smith [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 29, 2004 9:04 AM
Subject: Re: JK Connector versus mod_proxy
I use mod_proxy all the time with no problem well that is until my
last webapp project. The good is you can map your
]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 29, 2004 9:04 AM
Subject: Re: JK Connector versus mod_proxy
I use mod_proxy all the time with no problem well that is until my
last webapp project. The good is you can map your webapp in anywhere
and even in several places
Hi
Right now, I have the folloing more or less working:
Connector port=8889 enableLookups=false protocol=AJP/1.3 /
My problem is, how to tell the connector to use unix sockets instead of tcp
sockets?
I've read to set port to 0, but where to specify wich socket to use?
cu,
Steffen
Hi,
I spend about half a day looking for the jk flavor of the week. It seems
the documentation is running in circles. I currently use apache 2 with
tomcat 3. (tomcat 3 is the only tomcat that we have been succesfull at
installing with apache) I would like to use the new tomcat with apache
This may not live there for much longer but is the best tutorial about
http://cymulacrum.net/writings/tomcat5/book1.html
Ta
Matt
-Original Message-
From: Mark Nye [mailto:[EMAIL PROTECTED]
Sent: 26 March 2004 14:32
To: [EMAIL PROTECTED]
Subject: new apache to tomcat connector for linux
Mark,
I use apache2, Tomcat 5 and JK2. It is far better for you to compile the
JK2 connector yourself. It is a lot easier to do than you might think.
Make sure you configure your apache2 for DSO and it is extremely simple to
set it all up.
Drew
-Original Message-
From: Mark Nye
]
Sent: Friday, March 26, 2004 9:32 AM
To: [EMAIL PROTECTED]
Subject: new apache to tomcat connector for linux
Hi,
I spend about half a day looking for the jk flavor of the week. It
seems
the documentation is running in circles. I currently use apache 2 with
tomcat 3. (tomcat 3 is the only
Shapira, Yoav writes:
I think your testing, servlets, configuration is all fine. The
maxProcessors-1 observation is something I've noticed in the past, but
as you say I don't think many people care because they deal with ~75
maxProcessors (the default value).
Thanks - glad to know I'm not off
The second observation: two requests to the same servlet always
handled serially. Tomcat normally creates one instance of a servlet
for every declaration in web.xml. The exception is SingleThreadModel
(deprecated, don't use this) servlets. There's no provision in tomcat
to create more
V4.1.29 Coyote Connector / minProcessors maxProcessors
/
Confusion
The second observation: two requests to the same servlet always
handled serially. Tomcat normally creates one instance of a servlet
for every declaration in web.xml. The exception is SingleThreadModel
(deprecated, don't use
Hi,
Actually I have 512MB RAM plus 756MB page size(virtual memory).
1.So i can use -Xmx 512m right?
Not unless you want threashing.
2.what is this -XX:NewRatio?does this help?
Read the docs.
Experiment.
Yoav Shapira
This e-mail, including any attachments, is a confidential business
Hi,
This suggested to me that with minProcessors=1 and
maxProcessors=2, the server would allow 2 concurrent connections.
Yup.
Seems maximum_concurrent_connections=(maxProcessors - minProcessors),
a slightly different relationship than I gathered from the docs.
I was hoping someone could
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0/
Service name=Tomcat-Standalone
Connector port=8100
className=org.apache.coyote.tomcat4.CoyoteConnector
connectionTimeout=12
enableLookups=false disableUploadTimeout=false
acceptCount=10
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 1:56 PM
To: [EMAIL PROTECTED]
Subject: RE: TC V4.1.29 Coyote Connector / minProcessors maxProcessors
/
Confusion
Yoav,
Thanks for the quick reply...
Create a servlet that takes a long time to process, so
Windows 2000 Timcat4.x
Below is my Sever.xml connector configuration.
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8080 minProcessors=25 maxProcessors=200
enableLookups=true redirectPort=8443
acceptCount=1 debug=0 connectionTimeout=2
useURIValidationHack
Hi,
My Questions:
1.How do i determine how many concurrent users can hit my application.?
You analyze the business requirements for the system, and then you run a
stress test tool like JMeter to see how many concurrent users your
system can handle before becoming unresponsive or crashing. You
to proceed further..
Thanks.,
MALAI
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 1:55 PM
Subject: RE: Server.xml - Connector configuration problem
Hi,
My Questions:
1.How do i determine how many concurrent
Hi,
2.In Jmeter right now i'm able to handle 75 concurrent users.How do i
increase the users?
By increasing the memory allocated to your JVM (-Xmx) along with your
hardware to match. By increasing and maxThreads number as well.
3.I have the JVM options, -Xms 256 -Xmx 512 and My RAM is 512K is
Hello,
Shapira, Yoav wrote: (in part)
Also please try to be accurate when you specify these numbers: you have
512MB, not 512K of RAM available. You're using -Xms256m and -Xmx512m as
java vm options. Note that the latter is someone misleading: you're
telling the JVM it can use 512MB of RAM for
301 - 400 of 1439 matches
Mail list logo