You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rujin raj <ru...@gmail.com> on 2010/10/23 07:44:59 UTC
Upgradtion of tomcat and java version
Hi,
My Company gave one assignment to upgrade the present setup. Herewith I
explained my present setup. I am expecting your help and suggestion to
finish this job.
I have a HP Blade server with 2 CPU (Quad Core 3.166 GHz), 32 GB RAM and
Windows 2008 Enterprise Server 64 bit with SP2. At present applications are
running in tomcat 5.5 version and Java 1.6 32 bit edition and SSL in
enabled. At present in my application the number of sessions is crossing
more than 4500 in peak hours.
I have a plan to upgrade the tomcat version form 5.5 to 6.0.29 and JAVA JRE
6U22 64 bit..
Please clarify my following doubts.
1) How can I check the Version of Tomcat is 32 bit or 64 bit version?
2) I downloaded and Installed Java 64 bit and tomcat 6.0.29 executable file.
Also I downloaded tomcat 6.0.29 64 bit ZIP files IS it necessary to copy the
extracted file into the tomcat existing directory?
3) How Can I tune the tomcat to give pest performance?
4) What is the ideal vale for a) Maximum threads b) Maximum spare threads c)
Min spare threads in Server.xml file for the port SSL Port 443?
5) What is the Ideal value for a) Initial memory pool b) Max memory pool c)
Thread stack size for JAVA 64 bit version for more loads?
6) What is the use of thread dump in tomcat 6 and how to use that?
7) How can I found the memory leak in applications using tomcat manager?
Regards,
Rujinraj
Re: Upgradtion of tomcat and java version
Posted by Pid <pi...@pidster.com>.
On 23/10/2010 06:44, rujin raj wrote:
> Hi,
>
> My Company gave one assignment to upgrade the present setup. Herewith I
> explained my present setup. I am expecting your help and suggestion to
> finish this job.
I'm a little behind on the list today, because I choked on my cornflakes
earlier when I read the above. I'm OK now though, in case you were worried.
Really, breakfast manufacturers should put warnings on their product
packaging.
> I have a HP Blade server with 2 CPU (Quad Core 3.166 GHz), 32 GB RAM and
> Windows 2008 Enterprise Server 64 bit with SP2. At present applications are
> running in tomcat 5.5 version and Java 1.6 32 bit edition and SSL in
> enabled. At present in my application the number of sessions is crossing
> more than 4500 in peak hours.
>
> I have a plan to upgrade the tomcat version form 5.5 to 6.0.29 and JAVA JRE
> 6U22 64 bit..
>
> Please clarify my following doubts.
>
> 1) How can I check the Version of Tomcat is 32 bit or 64 bit version?
>
> 2) I downloaded and Installed Java 64 bit and tomcat 6.0.29 executable file.
> Also I downloaded tomcat 6.0.29 64 bit ZIP files IS it necessary to copy the
> extracted file into the tomcat existing directory?
>
> 3) How Can I tune the tomcat to give pest performance?
>
> 4) What is the ideal vale for a) Maximum threads b) Maximum spare threads c)
> Min spare threads in Server.xml file for the port SSL Port 443?
>
> 5) What is the Ideal value for a) Initial memory pool b) Max memory pool c)
> Thread stack size for JAVA 64 bit version for more loads?
>
> 6) What is the use of thread dump in tomcat 6 and how to use that?
>
> 7) How can I found the memory leak in applications using tomcat manager?
Phew. This is quite a list of things you need to get through. What's
the deadline for this? It's quite a lot of work.
p
RE: Upgradtion of tomcat and java version
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: André Warnier [mailto:aw@ice-sa.com]
> Subject: Re: Upgradtion of tomcat and java version
> rujin raj wrote:
> >
> > My Company gave one assignment to upgrade the present setup.
> > Herewith I explained my present setup. I am expecting your
> > help and suggestion to finish this job.
>
> ...
> What, all of us ?
> How much are you paying ?
Better be a lot, for all the stuff he's asking for.
I especially like this one:
> > 3) How Can I tune the tomcat to give pest performance?
We all need faster bugs...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Upgradtion of tomcat and java version
Posted by André Warnier <aw...@ice-sa.com>.
rujin raj wrote:
> Please help
>
> On 23 October 2010 11:38, André Warnier <aw...@ice-sa.com> wrote:
>
>> rujin raj wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> My Company gave one assignment to upgrade the present setup. Herewith I
>>> explained my present setup. I am expecting your help and suggestion to
>>> finish this job.
>>>
>>> ...
>> What, all of us ?
>> How much are you paying ?
>>
>>
rujin raj,
You have so far received 3 rather sarcastic answers to your message.
It is Saturday, business is slow, so let me explain.
Tomcat is an open-source and free (in the sense of cost = 0 $) product.
The people developing Tomcat, and the people on this list answering questions about
Tomcat, are all volunteers, who do this on their own private time (well, most of us anyway).
So we tend to react badly to a request like your opening paragraph above.
That is because, if your company gave this job to someone who is obviously not (yet)
competent enough to do this job, then that company is abusing you. And if this is against
a deadline, then that company should be prepared to pay someone competent to do the work.
For further information, let me refer you to this page, which is recommended reading for
anyone posting here :
http://www.catb.org/esr/faqs/smart-questions.html
But maybe your opening paragraph was just poorly phrased, and you did not really mean it
that way.
Then comes the second part :
Most of the questions you asked do not really make sense at all, at least in the context
in which you are asking them, and seem to indicate that you have not even bothered to read
the Tomcat documentation, which is on-line for all to see, here :
http://tomcat.apache.org/tomcat-6.0-doc/index.html
Then comes the third part :
Even for the questions that do make some sense in the context, really answering them
properly would require pages and pages of explanations, starting with some basic concepts
which you do not seem to be aware of.
And nobody here feels quite up to the task, or has the time, to do that.
Let me try anyway, if not to answer your questions, at least to give you some pointers.
Then maybe you can read the corresponding documentation, and comeback here with one smart
question at a time.
Q: 1) How can I check the Version of Tomcat is 32 bit or 64 bit version?
A: Tomcat is Java code, and there is only one version. What matters is the Java JVM under
which it runs.
Under a Windows OS, it also matters which "service wrapper" you are using.
But that is clearly indicated on the download page at :
http://tomcat.apache.org/download-60.cgi
Please follow the README link on that page, just above "Binary Distributions". It tells
you exactly what each download contains, and what it should be used for.
2) I downloaded and Installed Java 64 bit and tomcat 6.0.29 executable file.
Also I downloaded tomcat 6.0.29 64 bit ZIP files
...
Which means that you did not really read the README, did you ?
IS it necessary to copy the
extracted file into the tomcat existing directory?
No. Not if you just want to run Tomcat as a Windows Service.
3) How Can I tune the tomcat to give pest performance?
A: Assuming that you meant "best" instead of "pest",
that is still an unanswerable question.
Or let me ask you : can you define for us what you mean by "best performance" ?
4) What is the ideal vale for a) Maximum threads b) Maximum spare threads c)
Min spare threads in Server.xml file for the port SSL Port 443?
A: This shows again that you have not really looked at the documentation.
The only relevant attribute I see for the HTTP connector is "maxThreads".
And again, the question cannot be answered, like for #3 above.
5) What is the Ideal value for a) Initial memory pool b) Max memory pool c)
Thread stack size for JAVA 64 bit version for more loads?
A: See answer #3 above.
6) What is the use of thread dump in tomcat 6 and how to use that?
A: http://lmgtfy.com/?q=thread+dump
7) How can I found the memory leak in applications using tomcat manager?
A:
Do you mean : How can I found (the memory leak in applications) using tomcat manager?
Or : How can I found the memory leak (in applications using tomcat manager) ?
Either way, considering that you have not yet set up this server, what makes you think
that these applications have memory leaks ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Upgradtion of tomcat and java version
Posted by rujin raj <ru...@gmail.com>.
Please help
On 23 October 2010 11:38, André Warnier <aw...@ice-sa.com> wrote:
> rujin raj wrote:
>
>> Hi,
>>
>>
>>
>> My Company gave one assignment to upgrade the present setup. Herewith I
>> explained my present setup. I am expecting your help and suggestion to
>> finish this job.
>>
>> ...
> What, all of us ?
> How much are you paying ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Upgradtion of tomcat and java version
Posted by André Warnier <aw...@ice-sa.com>.
rujin raj wrote:
> Hi,
>
>
>
> My Company gave one assignment to upgrade the present setup. Herewith I
> explained my present setup. I am expecting your help and suggestion to
> finish this job.
>
...
What, all of us ?
How much are you paying ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Upgradtion of tomcat and java version
Posted by Mark Thomas <ma...@apache.org>.
On 23/10/2010 06:44, rujin raj wrote:
> Hi,
>
> My Company gave one assignment to upgrade the present setup. Herewith I
> explained my present setup. I am expecting your help and suggestion to
> finish this job.
So let me see if I understand the situation.
- Your company is *paying* you to do a job you don't know how to do.
- You are expecting us to help you for *free*
Hmm. I must confess I'm not really feeling the urge to be particularly
helpful right now. That said, I suggest you start with this:
http://www.catb.org/esr/faqs/smart-questions.html
Then this:
http://slash7.com/2006/12/22/vampires/
> Please clarify my following doubts.
To pick on something that continually drives me mad. You don't have
doubts (well you might, but what you then list are not doubts). You have
questions.
Read http://tomcat.apache.org carefully. I suggest you pay particular
attention to the list of links down the left-hand side. Two of them are
particularly relevant.
> 1) How can I check the Version of Tomcat is 32 bit or 64 bit version?
http://www.lmgtfy.com/?q=64-bit+version+of+Tomcat+for+Windows
etc.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org