aspose file tools*
The moose likes Tomcat and the fly likes Low performance deployed WAR (but high performance in eclipse tomcat)? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Low performance deployed WAR (but high performance in eclipse tomcat)?" Watch "Low performance deployed WAR (but high performance in eclipse tomcat)?" New topic
Author

Low performance deployed WAR (but high performance in eclipse tomcat)?

jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Hey guys ... Im trying to deploy a complex eclipse web project that depends on other eclipse
web projects to a tomcat server.

I found this link http://www.jguru.com/faq/view.jsp?EID=123229 but im wondering wether it really is this simple...

I went ahead and followed the instructions, and they worked... But the response time for tomcat is REALLY slow.

Im running it on the exact same machine, the only difference is that im not using the eclipse embedded version of tomcat.

Any ideas on how to speed this thing up a little ?

Im running mac os x. It doesnt appear that there are any startup.sh args that can be sent to the JVM... Im assuming that would be the solution.


Ive seen a little documentation online about how to customize jvm startup args for tomcat but nothing for unix/os x.
Is there a configuration file in tomcat which I can set to increase performance ?

Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Deploying it as a WAR should not necessarily affect performance. Are you seeing performance drops in any particular area / part of code ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Not really... it just takes FOREVER to load.
jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
I fixed it by scrapping Tomcat and deploying the App on Jetty.
Wow... What everybody sais about Jetty is true : it works like a charm and is much easier to use.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Low performance deployed WAR (but high performance in eclipse tomcat)?