Results 1 to 3 of 3

Thread: Deploy, debug and Startup of Tomcat inside of STS is extreme slow on Mac

  1. #1
    Join Date
    Jul 2011
    Posts
    2

    Default Deploy, debug and Startup of Tomcat inside of STS is extreme slow on Mac

    Dear all,

    I use a Mac (Intel Core i7 2.66GHZ, 4GB Ram, JDK 1.6.0_26).
    For running and debugging my Spring application I use a Tomcat 7.0.14.
    If I try to debug my Application (Debug As -> Debug on Server) It take about 2.5 minutes to come up and I see a lot of this messages :

    INFO: No TLD files were found in [jndi:/localhost/biz-war/WEB-INF/lib/spring-test-3.0.5.RELEASE.jar]
    This message appear with all jar's in my /localhost/biz-war/WEB-INF/lib directory.

    ------------

    Start up the Tomcat from command line with the same war it take about 10 seconds.
    Also non of this messages " No TLD files were found in" appear in the logfile.

    Any idea what is going wrong on my machine with STS ?

    Regards

    Stephan

  2. #2
    Join Date
    May 2009
    Location
    Vancouver
    Posts
    274

    Default

    Hi,

    Not quite my area but thought I'd chip in. Are you using exactly the same instances on the command line and inside STS? I noticed this issue related to TLDs which discusses recent changes:

    https://issues.apache.org/bugzilla/s...g.cgi?id=51248

    It mentions a couple of options that are described here:
    http://tomcat.apache.org/tomcat-5.5-...g/context.html

    having tldValidation on will incur a performance penalty. Looks like it is ON inside STS and off outside? Maybe search around to see if that is set on your instance inside STS?

    cheers
    Andy

  3. #3
    Join Date
    Jul 2011
    Posts
    2

    Default

    Hi Andy,

    thanks for your replay. The TDL scan has nothing to do with my problem.

    The good news is my problem disappear since I installed STS 2.7.1 (springsource-tool-suite-2.7.1.RELEASE-e3.7-macosx-carbon-installer.dmg).
    Before I used a STS 2.6.1 which was auto updated to 2.7.1.
    I guess some thing went wrong in the update process.

    Now my Tomcat Startup and redeploy work with computer speed again ;-))

    Regards

    Stephan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •