Tomcat 4 Performance Issues

A

AC

Can anyone help me to see some benchmarks for Tomcat running on
Windows. We have serious performance issues, while running a database
application on Tomcat 4.1/Win2k/JDK1.4.2.

The issue is that as number of users increase, the memory consumtion at
TOmcat increases and the reposnse time becomes slow. At some point it
fails to respond back. As soon as you restart the Tomcat, everything is
back to normal again.

What are the views to use Tomcat in the production servers

Thanks and Regards
Anil
 
J

Juha Laiho

AC said:
Can anyone help me to see some benchmarks for Tomcat running on
Windows. We have serious performance issues, while running a database
application on Tomcat 4.1/Win2k/JDK1.4.2.

The issue is that as number of users increase, the memory consumtion at
TOmcat increases and the reposnse time becomes slow. At some point it
fails to respond back. As soon as you restart the Tomcat, everything is
back to normal again.

What are the views to use Tomcat in the production servers

Tomcat pretty much performs, as long as the deployed application does.

More likely than not, something in your application keeps (or makes
Tomcat keep) references to obsolete objects, thus preventing GC.
 
P

Pradyut

maybe it's not closing the database connections to the database server.
Better check that connection class's method "close()" is called
like (i don't quite remember): -

new OdbcConnection conn;
conn.close();

i prefer to access a single webservice in which the connection is open
and access the web service for fetching any data from any page.

also the perfomance would be better as the database connection does not

have to be made everytime for fetching data.

also i would prefer ejb as they support object pooling and some
advanced concepts for load balancing and performance.

i would anytime prefer websphere, jboss, oracle
Tomcat pretty much performs, as long as the deployed application does.

More likely than not, something in your application keeps (or makes
Tomcat keep) references to obsolete objects, thus preventing GC.
--

Pradyut
http://pradyut.tk
http://spaces.msn.com/members/oop-edge/
http://groups-beta.google.com/group/oop_programming
India
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top