• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
jay vas
Ranch Hand
Posts: 407
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deploying it as a WAR should not necessarily affect performance. Are you seeing performance drops in any particular area / part of code ?
 
jay vas
Ranch Hand
Posts: 407
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not really... it just takes FOREVER to load.
 
jay vas
Ranch Hand
Posts: 407
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic