• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?

 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not really... it just takes FOREVER to load.
 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic