Hi Charles,
This seems to be a new option for TC 5.5. Do you know of anything
similar for 5.0?
Thanks
Andrew
On Nov 22, 2005, at 4:52 PM, Caldarale, Charles R wrote:
From: Kiarna Boyd [mailto:[EMAIL PROTECTED]
Subject: suppress tomcat version numbers
Hi I'm trying to suppress the
Hi Bob,
Kill -3 TOMCAT PID
Will produce a stack trace in catalina.out
This problem is VERY most probably your code, and not tomcat, but a
stacktrace should show this.
ps auxwh
will also give you an indication, its probably just 1 thread pushing
you to such a high load.
As for walking
On 08/11/2007, at 4:51 PM, Jim Cox wrote:
On Nov 8, 2007 10:41 AM, [EMAIL PROTECTED] wrote:
In resolving our current bottleneck i used JProfiler to see what the
tomcat applications were doing and when under high load there are a
lot of
threads which are blocked on this:
On 08/11/2007, at 6:29 PM, Bob Riaz wrote:
Thanks. StringBuilder seems to be the most popular suggestion! I'm
going to implement this and report on any changes I see in Tomcat's
behavior.
I'm also looking at other possiblities, such as Tomcat's I/O
activities causing thrashing if I/O is
On 13/11/2007, at 6:47 AM, nirmala wrote:
hi
I have one question I want to installation procedure for the apache
tomcat5.5 version in windows XP
Cick, then click, then click, then click.
Andrew
smime.p7s
Description: S/MIME cryptographic signature
On 15/11/2007, at 4:31 PM, Palat, Anil wrote:
-Tomcat 5.0.16
-Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 2.4.21
32.0.1.ELsmp (32-bit)
When I give ps -ef | grep tomcat, it shows multiple processes
running
all of them grabbing majority of the available memory
You are running
On 16/11/2007, at 4:09 PM, Martin Gainty wrote:
2 options-Tried and true Ant which is rock solid reliable, easily
configurable and a user-friendly user-list where a resource will
respond in 24 hoursmore information available athttp://ant.apache.org/Maven..complex
environment with heavy
Dear Tomcat users,
I was wondering if there are any out of the box release management and
deployment solutions available for Tomcat.
It is not a problem to create scripts/ web pages to do all of this,
but is there a better solution out there, so that people with command
line allergy can
On 06/12/2007, at 5:12 PM, Peter Crowther wrote:
From: Sean Carnes [mailto:[EMAIL PROTECTED]
The back-end
servers seem to be responding in a timely fashion right now. We have
performance data from the time period and nothing seems
abnormal.
I unfortunately missed the first part of this
Do you also have performance data for the front end machines?
What OS are you running?
Would definitely recommending installing sar (or sysstat package) if
you are running linux.
If Linux, which kernel?
If it really is heap, have a look at:
http://hausheer.osola.com/docs/5 for a simple
On 06/12/2007, at 10:34 PM, Sean Carnes wrote:
The highest that we could set the heap was to 1200. I tried higher
and it
would not start. It also seemed somewhat unstable above 1024 which
was the
previous setting, slowness updating the client and other things. The
company that develops
On 22/12/2007, at 3:45 PM, Pid wrote:
Richard Reyes wrote:
Hi All,
Please send suggestions on how to improve the tomcat performance.
Do you mean that you want to improve Tomcat's performance, or the web
application(s) you are deploying on Tomcat?
I think he wants us to do his
On 02/01/2008, at 3:43 PM, Gregor Schneider wrote:
The official Apache-solution is imho
- get the sources at
http://ftp.hosting-studio.de/pub/linux/apache/tomcat/tomcat-6/v6.0.14/src/apache-tomcat-6.0.14-src.zip
- compile it on your 64bit-platform using a 64bit-JDK using the
provided
On 26/07/2007, at 10:57 AM, Joe Nathan wrote:
I would discourage to use such machine! 8GB means you are using 64 bit
machine which will be much slower than 32 bit machines. Big memory
is useful
ONLY if you have applications that can benefit big memory such as
database
systems. In Java, if
On 27/07/2007, at 12:19 PM, Joe Nathan wrote:
Christopher Schultz-2 wrote:
Joe Nathan wrote:
I would discourage to use such machine! 8GB means you are using
64 bit
machine which will be much slower than 32 bit machines.
Huh? Why would a 64-bit machine run slower than a 32-bit machine?
On 29/07/2007, at 9:08 PM, David Smith wrote:
...but people advice that 64bit are 20 - 30% slower than the
32bit ...
Could these people offer any evidence to this? Cite any
benchmarks? I would like to see the evidence of this before
believing it to be true.
We did test with out
On 30/07/2007, at 8:02 AM, Peter Stavrinides wrote:
Apologies Ron this was supposed to be directed at Andrew Miehs!
Peter Stavrinides wrote:
From your comments Ron you obviously didn't understand a thing I
wrote, because you have just repeated me!
Dear Peter,
Obviously! :-)
On 29/07
On 31/07/2007, at 2:04 PM, Mohan2005 wrote:
so now we have to identify if our application is 64bit compatible
or 32bit
compatible.
If your application is only JAVA, then no porting is required.
Andrew
-
To start a new
On 31/07/2007, at 6:52 PM, Craig Berry wrote:
Fixing the bug would be cool, but the bug is actually just too many
users contending for the same heap space, so that's going to be tough.
I'd thought of the log watcher, but that seems a rather blunt
instrument; I was thinking there might be some
On 31/07/2007, at 7:19 PM, Caldarale, Charles R wrote:
From: Craig Berry [mailto:[EMAIL PROTECTED]
Subject: RE: Recovery from OutOfMemoryError?
It depends on what the user chooses to do during
the session.
Again, try another point of view. It's what the webapps choose to
do in
response to
On 31/07/2007, at 7:39 PM, Marco wrote:
Dear Craig,
You are familiar with, even with enough systemmemory, JVM uses limited
memory?
I your application consumes much memory, you could change settings
in the
tomcat6.conf file:
#JAVA_OPTS=-Xminf0.1 -Xmaxf0.3
JAVA_OPTS=-Xmx1024M -Xms512M
mx
On 01/08/2007, at 3:44 PM, Christopher Schultz wrote:
I'm guessing he's running a webapp, and that one of the request worker
threads got an OOME. Most webapp requests are idempotent (or should
be),
and those that aren't are generally wrapped around database or other
transactions. Assuming
On 01/08/2007, at 6:50 PM, Mark H. Wood wrote:
Would you (or anyone) care to provide a link to where I can learn more
about swatch? Everything I've turned up so far points to a wanna-be
replacement for UTC called internet time promoted by a watchmaker.
http://swatch.sourceforge.net/
Are you using Log4j in your application?
It has the option to do daily (midnight) rotates on log files...
Oh - and you may want to have a serious talk with the cleaning lady,
not that she unplugs the server for the vacuum cleaner.. ^^
Cheers
Andrew
On 26/09/2007, at 6:11 PM, Christopher
On Mon, 2008-03-24 at 19:00 +0530, karthikn wrote:
Problem
Load on this single TOMCAT is building up the CPU for 100% ,as the
subscribers are increasing.
How many users are we talking about here?!
That is a a LOT of users for the 5 or 6 requests before they are
authenticated?
How many
On 24/03/2008, at 3:09 PM, karthikn wrote:
Hi
Thx for the reply
We need to Configure TOMCAT 's ROOT to APCHE2.x for Load balancing.
mod_proxy_ajp
Problem
Load on this single TOMCAT is building up the CPU for 100% ,as the
subscribers are increasing.
Read other mail from me.
Solution
On 24/03/2008, at 3:14 PM, karthikn wrote:
How many users are we talking about here?!
About 500+ users and increasing every month
Total users online - ok - not a probelm
How many authentications are you doing a second?!
Since this is a WIFI / AAA application for Students locally on
On 25/03/2008, at 6:47 AM, karthikn wrote:
Users 500+ ( Traffic increasing day by day )
You mentioned these were WLAN users - This number is irrelevant for
your performance
info - what was much more important was the 25/ 30 logins per second.
O/s Unix 11
JSDK =1.6
TOMCAT 5.5.23
On 28/03/2008, at 8:47 PM, Srivastava, Abhay wrote:
Thanks a lot Guys.
So is Exim better than Sendmail in terms of robustness and faster
service?
It very much depends on what you want to do.
I am a big postfix fan - exim is supposedly also great.
qmail is also very good.
But these are only
On 28/03/2008, at 10:40 PM, Srivastava, Abhay wrote:
Hi Andrew,
I dn't have experience with either of them. SO which one do you
suggest should be a good selection to start with ?
I prefer postfix - simple and fast and its what I know.
My users don't be reading the mails right now. But,
Dear List,
How does enabling keep-alives effect the number of threads required by
tomcat?
Assuming:
maxKeepAliveRequest = -1
1000 online users - each with 2 connections
Does this mean that I will have 2000 threads open - one per connection?
ie: Is the the connection assigned a thread
On 02/04/2008, at 5:51 PM, Caldarale, Charles R wrote:
From: Andrew Miehs [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.5 and keep-alive and http connector
The only thing I could find related to this was from the
Tomcat 6.0 documentation on
http://people.apache.org/~fhanik/http.html
It appears
On 02/04/2008, at 6:02 PM, Andrew Miehs wrote:
On 02/04/2008, at 5:51 PM, Caldarale, Charles R wrote:
It appears that the chart at the bottom of the above page answers
your
question, unless I'm misreading it. Since there is no NIO
connector in
5.5, it looks like you'll need a very large
From: Stephen Caine [mailto:[EMAIL PROTECTED]
I have a process that generates hundreds of threads. Running on Mac
OS X 10.5.2 Server, the thread count tops out at approximately 2500.
After which, the process is terminated. The heap size is set to 1
gigabyte. My question is how to increase the
On 03/04/2008, at 7:14 PM, Christopher Schultz wrote:
Alan Chaney wrote:
| Actually another question is what is it in your application that
NEEDS
| 2500 threads?
Ooh! I know... it's a ray-tracer that goes ral fast if you give
each
output pixel its own thread. More threads = faster,
Dear List,
has anyone else tried to compile apr and the native tomcat libraries
on etch?
debian40-64:/usr/local/src/tomcat-native-1.1.12-src/jni/native# ./
configure --with-apr=/usr/local/apr --with-java-home=/usr/local/java
I get loads of messages including
./configure: line 5472:
On 28/04/2008, at 4:59 PM, Alan Chaney wrote:
David Smith wrote:
No, I have at most 20 idle connections, that's goes right, but my
boss want
less idle connections to avoid to overload the database server. So
there
isn't way to close an idle connection to remove the relative
process?
If
On 04/06/2008, at 4:15 PM, karthikn wrote:
We notice Constantly JAVA is 100% CPU utilization.
I am coming in late on this - what OS are u running?
How are you seeing the 100% CPU utilization, with top?
If you have a multiprocessor machine, you may find that top always
shows 100% when
On 25/06/2008, at 17:43, Steve Ochani [EMAIL PROTECTED] wrote:
I know this may sound naïve but is it possible to have tomcat and
apache running off the same port - 8080.
No, TCP only allows one port per service.
You can let apache httpd use 8080, move tomcat to something else and
On 07/07/2008, at 4:11 PM, Piller Sébastien wrote:
Yes, we're running Linux. I'm not sure what's my distrib. I'm using
our dedicated hosting, administrated via ssh. When I need to start
tomcat, I just use the startup.sh script (the one in /bin/). Same to
shutdown: use shutdown.sh.
It's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear List,
I have an application where I need to use tomcat as a reverse proxy
for certain URLs.
Yes - I know normally it is the other way around, but not in this case.
Is there a reverse proxy solution already out there for tomcat? or do
I
Dear Chris,
I am well aware of this - which is why I said it is NORMALLY the
other way around.
In our case though, our static content - images, etc are handled by
stand alone
image servers - ie: image.mydomain.com and our dynamic content comes
from www.mydomain.com.
I have the issue that
://www.javaworld.com/javaworld/jw-02-2005/jw-0228-pippo_p.html
Last year at google summer camp
http://j2ep.sourceforge.net/
But Apache mod_proxy has very much good perfomance and configure
options :-)
Regards
Peter
Am 03.05.2006 um 17:08 schrieb Andrew Miehs:
-BEGIN PGP SIGNED MESSAGE-
Hash
Do you have an Apache up front as a reverse proxy?
If so, you could make a separate mapping there...
Andrew
On 03/05/2006, at 6:12 PM, Dong, Roland wrote:
Is there a way to have web access to /WEB-INF? I want to have this
capability to access a directory under /WEB-INF by URL. Is there a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I missed the start of this thread...
- - And the whole path is readable?
ie:
ls -l /
ls -l /nextdir
ls -l /nextdir/nextdir ?
Andrew
On 31/05/2006, at 10:38 AM, ks.foong wrote:
No problems. Hoping maybe others can give a hand on this...:-)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
echo $JAVA_HOME
what does this return?
cd /Project/Tomcat
./bin/startup.sh
But no idea what is installed where on FreeBSD
Why don't you just pull the package from Apache directly?
Especially if you are not installing in the FreeBSD paths?
If you are running a big site with multiple servers, you do NOT want
to run
Apache in front of your Tomcats -
All that you do is increase latency, and half your performance. The HTTP
connector in TC 5.x is more than adequate to deal with heavy traffic
loads.
To be honest, I try not to use
In both tomcat/conf directories do a
grep 'port=' server.xml
Regards
Andrew
On 06/06/2006, at 4:25 PM, Christian Jean wrote:
JDK 1.5 (AMD 64-bit) had been installed for several months already
with
JAVA_HOME configured correctly.
Jeach!
On 6/6/06, Bob Hall [EMAIL PROTECTED] wrote:
.
Thanks,
Jeach!
On 6/6/06, Andrew Miehs [EMAIL PROTECTED] wrote:
In both tomcat/conf directories do a
grep 'port=' server.xml
Regards
Andrew
On 06/06/2006, at 4:25 PM, Christian Jean wrote:
JDK 1.5 (AMD 64-bit) had been installed for several months already
with
JAVA_HOME configured
@Mark,
as Peter wrote, have a look in /etc/hosts.
It probably looks like
127.0.0.1 localhost
192.168.0.2 testmachine.domain.com testmachine
You should change this to
127.0.0.1 localhost testmachine
192.168.0.2 testmachine.domain.com
Just be careful if you are using
The configuration in the connector is so that java know on which
interface to 'BIND' to on the machine.
Do a
netstat -anp |grep LISTEN
on your machine. This shows which interface which processes are bound
to.
The only process (generally speaking) that can connect to 127.0.0.1
is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Doesn't this only work if your application replaces the 'ROOT'
application?
Andrew
On 02/11/2006, at 9:56 AM, Stephan Schöffel wrote:
if you map them to one app in your web.xml you can have different
paths link to one app.
like:
servlet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I hope that this is not really the reason why you want two paths to
the application?
Tomcat has user authentication built in!? Why not use it?! Otherwise,
some smart user is
going to have the idea of connecting directly to your tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
As a quick hack
If you only want to partition between 2 webapps you could always use
the nasty method of using 2 tomcats. The other alternative would be
to configure a second HTTP connector, and then use one for the one
webapp, and the
Why not, as i asked before, just start two tomcats? - not pretty but
it works...
ie:
Tomcat1 (webapp1) - Port 8080
Tomcat2 (webapp2) - Port 8081
- Then setup tomcat1 with 70 threads, and tomcat2 with 30 threads
Cheers
Andrew
On 04/11/2006, at 9:56 PM, David Smith wrote:
Quoting the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Which kernel are you running? If you are running 2.4 I could imagine
that it could be an out of process/ thread limit.
Java used to report - out of memory - even for out of processes/
threads problems
I think 2.4 had a default limit of 256
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear List,
JSP is designed to be used for Websites. Depending what you do with
it, changes where it can be used for a Large Web Site.
As for the questions.
1a. Who cares if JSP is not supported by web hosting companies -
Large web sites have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is this a troll?
You will need some copy of Java to use Tomcat - either the JVM from
Sun, IBM or Blackdown (which I think is based on Sun's)
As for ?! commercial = crap ?! Glad to see you are using a free non-
commercial machine to write these
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Do yourself a favour and do NOT use Tomcat and Java from your linux
distribution.
Download Tomcat from Apache.org
Download Java from
http://java.sun.com/javase/downloads/index.jsp
Either the JDK, or JRE
Install them both in /usr/local
ln -s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This however is a Gentoo packaging problem and not a user problem.
If you want to get tomcat working as quickly as possible - download
it directly from
apache.org and IGNORE the gentoo packages.
If you want it to work properly as a gentoo
Hi Andreas,
Why not just pack an Apache Httpd out front, and use access rules?
Regards,
Andrew
On 23/12/2006, at 1:22 PM, Andreas Schildbach wrote:
Hi everyone,
Is it possible with Tomcat to hide an application behind a Basic
Authentication (or something similar), without modifying the web
| | i remember when websites like friendster.com came out, it was
really
| slow.
| | now it is much faster, do you guys know where does a student learn
| | about how to handle high traffic web applications? is there any
| | classes?
http://www.kegel.com/c10k.html
is a good place to start
On 09/01/2007, at 5:20 PM, Christopher Schultz wrote:
Leon Rosenberg wrote:
Also by using apache in front of tomcat you rather loose[sic]
security than gain it. At least this is my personal opinion :-)
Would you care to defend that argument? Security in layers is
typically
an advantage.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/01/2007, at 11:50 AM, Mikolaj Rydzewski wrote:
Leon Rosenberg wrote:
Sure, I could write my own filters and pass the static content
through
them first, but that'd slow down the whole app (tested).
Could you explain this a little more?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
curl http://localhost:8080/manager/reload?path=/examples ?
Andrew
On 17/01/2007, at 11:01 PM, Boemio, Neil (FGIC) wrote:
I know I can reload a webapp using:
http://localhost:8080/manager/reload?path=/examples
But is there a way to do this from
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear J'
What do you mean you are hitting connection limits?! Are you getting
errors? What are you seeing that makes you think that is slow?
Is there a database involved in this application?
I assume you are running linux on your server, with a
allocation or cpu on the box.
Thanks,
J
On 2/15/07, Andrew Miehs [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear J'
What do you mean you are hitting connection limits?! Are you getting
errors? What are you seeing that makes you think that is slow?
Is there a database
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi JR,
Based on your description of the problem, as you have looked at
everything else, MaxThreads is the only option you have left us with.
Further below however you let slip that mod_jk is also involved.
Why? This is a really great way to kill
Biernatowski Bartosz J wrote:
I am about 90% sure the bottleneck is Tomcat or what's running on top of
Tomcat. Application uses JDBC queries to MS SQL server
Chips are Intel Xeon. My monitoring data:
Why are you 90% sure?! Your SQL server is running on a seperate machine?
or the same
Ooops - forgot to add the rest
Andrew Miehs wrote:
Could be anything - the database
could be the indexes in the database, could be deadlocks, could be a
badly programmed application, could be high packet loss on the ethernet
interfaces, could even be tomcat -
As for the 90% guess
Now that we are moving to the theoretical discussion, you will
probably want to have a look at
http://www.kegel.com/c10k.html
Regards
Andrew
On 21/06/2006, at 4:56 PM, Mladen Adamovic wrote:
I spoke recently with guy from Microsoft (project manager from
server division).
He said that
The monitoring component works for the first hour after the VM is
started in the free version. In the commercial version, the monitoring
information is availble the whole time - as for pricing - no idea..
There as an article about JRocket in one of the last IX magazines (DE)
Andrew
Leon
Dear List,
I have an simple application that I would like to have cached by a squid
server. My question is, is it possible to disable the Tomcat generating
JSESSIONIDs, as these requests are all stateless.
Thanks in advance,
Regards
Andrew
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
More stupid question...
1 - Why are you using perl when you have tomcat - can't you just use
a jsp?
2 - why can't you use an img tag? and have tomcat deliver the page...
3 - You are using tomcat aren't you?
Confused
Andrew
On 11/07/2006,
Hi Jennifer,
Very strange! Tomcat and perl cgi! cool - didn't know it worked...
Are you sure you are not using Apache with mod_jk, or mod_proxy?
As for the perl. Where is the page that prints the HTML?
why don't you just add
print 'img src='.$IMAGE_DIRECTORY.$image.'';
Very
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/07/2006, at 11:53 PM, Mead, Jennifer L - VSCM wrote:
What this does is draw the box where the image should be. When I
right
click on it and look at the properties and it finds the right file.
Just thought someone else would have ran
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ahhh...
and in webapps/ROOT/
create a directory called WEB-INF (please note capitals) that should
fix your problem...
Regards
Andrew
On 11/07/2006, at 11:53 PM, Mead, Jennifer L - VSCM wrote:
What this does is draw the box where the image
On 12/07/2006, at 4:01 PM, Mead, Jennifer L - VSCM wrote:
I already have that. I really don't understand but I bet it turns out
to be something stupid (on my part). It is pretty frustrating but for
now they get no images! Thanks for the reply.
Jen
Does http://server/images/myimage.gif
?
-Original Message-
From: Andrew Miehs [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 7:08 AM
To: Tomcat Users List
Subject: Re: Simple question, but can't figure out answer
On 12/07/2006, at 4:01 PM, Mead, Jennifer L - VSCM wrote:
I already have that. I really don't understand
Rob wrote:
Hi Barry,
It's only IE that has the problem. I've checked the URLs and they're fine.
Sometimes the images appear and other times they don't, like there's a
timeout problem in the https connector or something like that. Images under
http work fine - haven't see any broken images
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html
This is per default installed with Tomcat 5.0
You will need to add a role to tomcat/conf/users.xml
Regards
Andrew
On 25/07/2006, at 2:51 PM, Jan Line wrote:
Thanks Leon for the
I do not really understand what you are trying to do here...
But you may get more information from http://myserver/manager/status
As for 'maxUsers' in web.xml - no idea what that command does - never
seen it before.
Regards
Andrew
On 25/07/2006, at 4:03 PM, Jan Line wrote:
Andrew,
On 28/07/2006, at 6:55 PM, [EMAIL PROTECTED] wrote:
Anyone know of website which has a step by step procedure to upgrade?
What exactly is your problem with upgrading? The 'webapp' or the
installation of tomcat 5?
I would just install a new version of tomcat, with the JVM that you
Hi Ibrahim,
What do you mean you don't want to do a parallel installation?!
How do you want to check if it works?!
Install TC 5.5 and java 1.4+compat libs or JVM 1.5 on the test machine,
copy the stuff across, and start it and see what happens.
You do have a test system? don't you?!
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear anonymous
You may want to invest a few dollars and buy yourself this book...
http://www.oreilly.com/catalog/headservletsjsp/
Regards
Andrew
On 14/08/2006, at 2:40 PM, Tomcat wrote:
Hello
what is the difference between thread and session
No you do not need Apache, unless your static content is MUCH greater
than your dynamic content - And even then, with a low volume site, it
really doesnt make any difference
Regards
Andrew
Nolan Johnson wrote:
I've got a webapp that's entirely dynamic. That is, all of the content is
You can only have 1 ssl certificate per IP address
Andrew
On 25/08/2006, at 11:09 AM, teknokrat wrote:
I am trying to set up tomcat with multiple virtual hosts, each with
their own SSL certificate. Is this possible? Do I add each
certificate to the main keystore as per one host?
Peter is correct - I was just being a bit lazy in my answer...
The ssl connection is setup BEFORE any 'hostname' information is
passed over the link, and therefore the server would not know 'which'
virtual hostname's ssl certificate to use.
Therefore - 1 certificate per IP Address/ Port
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What is this supposed to become?
Do you want 10,000 domains on the tomcat? or do you want 10,000 webapps?
The JVM will die if you do this with 10,000 webapps
Andrew
On 26/08/2006, at 11:36 AM, Mladen Turk wrote:
KEGan wrote:
Hi,
I am
Ok - Theoretically it may work...
Who do you know that has a machine with Terabytes of memory? And is
using it for web hosting?!
The JVM will spend all its time doing context switching and garbage
collection...
Andrew
On 26/08/2006, at 11:49 AM, Mladen Turk wrote:
Andrew Miehs wrote
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If you are only delivering static content, then use Apache or Lighttpd
http://www.lighttpd.net/
This is NOT what tomcat is designed for
As for how much memory, no idea - but it cant be good
Andrew
On 26/08/2006, at 12:00 PM, KEGan wrote:
Dear Mladen,
Are we referring to 10,000 Virtual servers or 10,000 Connections?
And the answer is yes to 1 connections.
Yes I would use worker-mpm or better still an epoll based httpd
daemon, like lighttpd or zeus.
Regards
Andrew
On 26/08/2006, at 12:18 PM, Mladen Turk wrote:
Andrew
Stupid question,
Why don't you implement the 'virtual' hosts inside the one 'webapp'?
And not create 10,000 web apps?
That the App itself deals with the virtual hosts (by reading the host
header), and not tomcat?
Andrew
On 26/08/2006, at 12:30 PM, KEGan wrote:
I tried to use only Tomcat
Why do you need c?
Works with perl and shell scripts...
You could even use java if you wanted
Andrew
On 30/08/2006, at 10:36 AM, Bruno M Luque wrote:
I would use Nagios, its worth the effort of dealing with C, you
dont have
that meny choices!,
cheers
From http://tomcat.apache.org/tomcat-5.5-doc/apr.html
When APR is enabled, the HTTP connector will use sendfile for hadling
large static files (all such files will be sent ansychronously using
high performance kernel level calls), and will use a socket poller for
keepalive, increasing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Which kernel are you using? 2.6 or 2.4?
Andrew
On 05/09/2006, at 3:34 PM, José Manuel Molina Pascual wrote:
Hello, I just installed Tomcat APR on a SUSE 9 and found that the
performance has fallen dramatically (I fact, performance with APR it's
I discovered no difference in performance between running 1 tomcat, or 4
tomcats on the one machine - same performance.
The machine was a 4x Opteron 870 with 8GB RAM, running Java 1.5.6 32bit.
Andrew
Boris Unckel wrote:
Hello,
can I move to 2048mb without any problem ?
Leon Rosenberg
Hi Rodrigo,
How long is a piece of string?
The 'Brand' of linux only really makes a difference for
administration purposes. Performance will be about the same on all,
depending mainly on which version of the kernel you are running.
Should you decide to go Linux, I would look at something
Hi Nicolas,
Tomcat works best with large hardware. I have found that using a Sun
Enterprise 15K with 1 processor per online user gives me the best
performance.
Regards
Andrew
PS: Maybe you should give us slightly more detailed information about
your requirements if you want someone to
You may want to try turning off keepalives in your tomcat. (I assume
you are only using tomcat, and not proxying through mod_jk and
apache/ IIS).
In your connector settings have a look at 'maxKeepAliveRequests=1'
If you really have that many threads, you will probably be best of
using
1 - 100 of 125 matches
Mail list logo