Two Laptop Bag*
The moose likes Tomcat and the fly likes Java Application too slow Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Java Application too slow" Watch "Java Application too slow" New topic
Author

Java Application too slow

Devan Brahma
Ranch Hand

Joined: Jul 07, 2009
Posts: 46

hi all,

i'm doing a java web application,
here the problem is when i run the application it is very slow
going from one page to another page takes so much time.
Earlier it was not so slow but i don't know what happened that made it so slow.
i'm running it on localhost .
i'm using tomcat 6.0.16
and java v1.6.
please anyone help me out.
thanks
Devan


->R§H<-
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
You should start by finding out what takes up that time: client-side processing, network communication, server-side processing, access of other systems (like the DB) from the server, etc. Or maybe there are other processes on your machine that eat up CPU time?


Ping & DNS - my free Android networking tools app
Devan Brahma
Ranch Hand

Joined: Jul 07, 2009
Posts: 46

Hi,
firstly thanks Ulf Dittmer,
actually i found that server processing is taking too much time .
But there was no problem till yesterday. today only it started and
this is getting me sick.

is there any problem wit tomcat ??
that cause the prob.But i tried wit tomcat 5.5 also stil the problem perisists.

Thanks
Devan
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

Have a look at our Enterprise Performance FAQ. There is no substitute for actually measuring the performance of your application under realistic conditions.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
It's highly unlikely that Tomcat's performance changed from yesterday to today. I'd start by measuring the various parts of the server-side processing in order to find out which part is taking a longer time than it did before. Also look into any code and configuration changes you may have made recently.
Devan Brahma
Ranch Hand

Joined: Jul 07, 2009
Posts: 46

hi all,
thanks everyone,
i found it !.
actually i everytime was re writing a file when out is called and that is where the problem was.


anyway thanks
,
Devan
 
Consider Paul's rocket mass heater.
 
subject: Java Application too slow
 
Similar Threads
Help needed for XML' ing simple database operation !
determining which jvm
see this
Application Slow Performance - Using WAS 7.0
Debug problems