"AC" <ianilc@gmail.com> said:
>Can anyone help me to see some benchmarks for Tomcat running on
>Windows. We have serious performance issues, while running a database
[quoted text clipped - 6 lines]
>
>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.

Signature
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
Pradyut - 21 Oct 2005 20:44 GMT
> "AC" <ianilc@gmail.com> said:
> >Can anyone help me to see some benchmarks for Tomcat running on
[quoted text clipped - 5 lines]
> >fails to respond back. As soon as you restart the Tomcat, everything is
> >back to normal again.
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.
> >What are the views to use Tomcat in the production servers
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
Roedy Green - 22 Oct 2005 00:48 GMT
>More likely than not, something in your application keeps (or makes
>Tomcat keep) references to obsolete objects, thus preventing GC.
see http://mindprod.com/jgloss/packratting.html
for how to detect the problem.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.