I cannot comment on tomcat 5.5 but yes tomcat 5.0. Tomcat is being used
for Production and not just for testing.
You would be surprised to know the production setup, though I cannot
delve into more details here.
I am amazed by the potential it carries.
Arnab
-Original Message-
From: Kri
Hey,
Your previous instance of tomcat did not shutdown as the error clearly says:
java.net.BindException: Address already in use:
JVM_Bind:8080
You can check that using netstat command whether the port is already used by
any instance of tomcat before starting a new instance.
Hope this helps.
Hi,
Here is an example you can follow:
Hope this helps.
Arnab
-Original Message-
From: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 9:44 AM
To: Tomcat Users List
Subject: RE: Threads issues in Tomcat 5.0.28
Hey,
The connector tag in the server.xml
, subject to your configuration (see
> the maxSpareThreads
> and releated Connector configuration attributes).
>
> Yoav Shapira http://www.yoavshapira.com
>
>
> >-Original Message-
> >From: Arnab Chakravarty
> [mailto:[EMAIL PROTECTED]
> >Sent: Tue
Hey,
I see your problem similar to mine some time in the past. What you need
to is the following:
- Lower the number of threads and keep it close to 120-150 threads.
- Are you using a database, if yes, check if the DB connection pool is
the bottleneck
- Yes, you can find what the 200 threads are
found this problem by simply writing a simple jsp page without using
the framework and rendered some non-english characters successfully.
Thanks again,
Arnab
-Original Message-
From: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 4:08 PM
To: Tomcat Users
Eirik,
Does it have anything to do with UTF-8 encoding support (using different
charsets - Chinese or Japanese) on jsp page and would break (not displaying the
non-english characters) on tomcat 5.0.29.
Arnab
-Original Message-
From: Eirik Øverby [mailto:[EMAIL PROTECTED]
Sent: Wednesd
this scriptlet:
request.setCharacterEncoding("UTF-8");
at the beginning.
I hope this help you
-Mensaje original-----
De: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Enviado el: martes, 30 de noviembre de 2004 15:28
Para: Tomcat Users List
Asunto: UTF-8 Encoding in Jsp
Hi all,
I need
Are these tomcats on the same machine or different machines. I had the
same problem with my tomcat setup and as I was running the 2 tomcats on
the same machine. To get rid of the problem I added virtual host in
apache conf file for the other tomcat and then it started working fine
as there were 2 h
Hi all,
I need to make my all jsp files compatible with UTF-8 Encoding and even
though I am using the directives:
<%@ page pageEncoding="UTF-8"%>
<%@ page contentType = "text/html;charset=UTF-8"%>
in the jsp files, cannot make it work.
Using tomcat version 5. Is there any config changes I need
Hi all,
We are running 2 tomcat instances, running 2 different applications. We
are making a switchover from tomcat 1 to tomcat 2 and in this process
loosing the session information on tomcat 1 this is resulting in error
(error page) in the application.
I had disabled cookies and then again trie
To: Tomcat Users List
Subject: RE: Problem in deploying application on Tomcat 4 and 5
Hi,
See the packageless links at
http://jakarta.apache.org/tomcat/faq/classnotfound.html.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Arnab Chakravarty [mailto:
Hi,
I have migrated an existing application from tomcat 3.3 to tomcat 4.0
and 5.0. When I started the tomcat, I was thrown a lot of errors related
to the tags in the tld file.
I corrected those errors and finally got this error thrown: (Pasted
below)
Stack Trace --
HTTP Status 500 -
-
Hi all,
I want to migrate an existing application which is deployed on tomcat
3.3.1 to tomcat 4.0 or up. Can anyone help me how to go about with the
migration?
App Arch:
- Tomcat 3.3.1 (12 Tomcats)
- Apache 1.3.27 (4 Apache)
- Ajp12
- Mod jk
- Jdk1.4.2
Next, what I am looking f
Add the following line:
in Server.xml
ex-
: C:\myApp for windows
: /usr/apps/myApp for unix
Hope this helps.
-Original Message-
From: Kenneth Ho (IT Department Ltd) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 10:42 AM
To: Tomcat Users List
Subject: Application directory o
Possible problems could be:
- Connnections not getting closed
- The max concurrent request for tomcat had been reached (check the number of
connections in server.xml)
- AC
-Original Message-
From: Rudi Doku [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 2:34 PM
To: Tomcat Use
Hi Shapira,
Thanks for the answers.
>Are you sure that's K? Assuming you really mean M, how did you arrive
>at a number like 778? Maybe you mean 768?
Thats Correct its M and not K. This number is arrived assuming the total
process size might never go beyond 1GB. Would it ? (4 gb total mem, 3
t
Hi all,
We have the following version being currently used in production:
- jdk1.4.2
- Tomcat 3.3
- Apache 1.3.27
- Solaris 8 (4 Cpu's, 4 GB Ram, 4GB Swap)
- Oracle 8
- 4 Machines running 3 tomcats each (12 Tomcats in all)
Problem:
A tomcat process died on our production dumping a core file of s
?
___
NATEXIS ASSET MANAGEMENT
Meissa SAKHO
01 58 19 45 71. . . . . . . . . . . . (84571)
[EMAIL PROTECTED]
"Arnab Chakravarty" <[EMAIL PROTECTED]>
18/02/2004 10:05
Veuillez répondre à "Tomcat Users List"
Pour : "Tomca
Hi,
Can u check the total number of concurrent connections (Apache) when the problem
occurs:
The way to do this is:
ptree | grep -c httpd : Would give the number of concurrent connections.
The values of MaxClients / maxProcessor varies from application to application and the
load one would exp
Bad major version numbers are result of classes compiled on 2 different
version of jdk.
Please upgrade you jvm and then see if it helps (preferable jdk1.4 and
up).
Arnab C
-Original Message-
From: Thomas Cherry [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 5:42 PM
To: Tomc
ajp13 and ajp14 and not ajp12...correction
-Original Message-
From: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 11:32 AM
To: Tomcat Users List
Subject: RE: Urgent ! Pls help !
Can u check ur server.xml config file and check if the port is correctly set
Can u check ur server.xml config file and check if the port is correctly set for the
ajp12 connector to server the request...
-Original Message-
From: a a [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 12:28 AM
To: [EMAIL PROTECTED]
Subject: Urgent ! Pls help !
Dear all,
I
All:
I have this strange problem with my application. When I click back button on a
particulary jsp page, I get back to the Login Page. This is some idiotic problem but
it is hapenning.
But, point here to be noted is: When links are clicked on the page which does some
HTTP handover (a URL is g
All:
One more thing, back button is clicked on the old page where the URL is generated by
making the RMI call and not on the new rendered page generated at another's vendor
location.
Hope the problem is correctly understool :).
Thanks,
Arnab C
Hi,
Have you taken a thread dump and checked as what are these threads waiting for before
increasing the max-threads?
Please specify the jdk version and OS too. In case you are using any databases, please
also send in the details.
Arnab
From: alan sparago
Hi Michael/Yoav,
Thanks a lot for the suggestion. I have got it working and it seems now
openning as per the requirements.
Arnab
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 7:59 PM
To: Tomcat Users List
Subject: RE: Problem with Excel
Hi All,
While downloading/viewing a file from a jsp page, there are no problems encountered by
IE. But, when the same is opened on Netscape 7.0 (and up), the file is opened up in
the same window and all the data is improperly rendered because NS cannot interpret
the file properly.
I wish to kn
and ajp connections are = 135. (35 odd connections
would wait by default if concurrent connections are 135)
Thanks,
Arnab Chakravarty
h thread counts.
But my point is why direct all the load to a specific tomcat and not distribute it
evenly ? Then, what worth is the load balancer for. This is not understood well from
the load balancer settings or either mod_jk is not intelligent at all or better make
it intelligent / replace it.
enly ? Then, what worth is the load balancer for. This is not understood well from
the load balancer settings or either mod_jk is not intelligent at all or better make
it intelligent / replace it.
Comments???
Arnab Chakravarty
> -Original Message-
> From: Arnab Chakravarty [mailto
Hi Shapira and Tomcat Users,
Big apology to u all for this problem in a single thread again. (Its all linked,
cannot separate them)
It would be pretty obvious from the mail I have wrote in the past about the production
Issues. This time we have identified some possible areas where we think there
Hi all,
How can one ensure if the Tomcat worker thread is working or not? (If this runs as a
thread)
How do we determine if this is dead?
Thanks,
~Arnab
Hi Shapira y and tomcat users,
#You're putting too many things in one message. ;)
Can't help that...;), in fact I would like to add some more things here
:).
#So with your configuration, you'd always have between 30*12 = 360 and
#100*12 = 1200 open database connections. Is this really what you w
Hi Yoav S and Tomcat Users,
I am back with some issues again. This time have taken some good
observation and wanted all of you know such that I have some good
recommendations from the experts :-).
Oracle Connection Pool
We have observed that the number of connections during site outages are
going
Hey,
Thanks again, but I was wondering why were you so amused about the
Checklist part??? I wanted to know the best practices or some good
learned lessons if any for tomcat.
Anyways...my situation hasn't improved and all the tomcats have reached
the max heap size and they have started taking more
Hey Shapira,
First of all, thanks to you for the response.
I was surprised to see tomcat 3.x and apache 1.x with such massive
hardware and elaborate setup. Any particular reason why you don't have
more recent versions of tomcat and apache httpd?
We have a client dependency and cannot make som
ario.
One last thing, there are some occasional tomcat death (JVM crashes)
once in a while.
Thanks in Advance,
Arnab Chakravarty
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
38 matches
Mail list logo