Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34

Thread: STS very slow in building workspace. "Loading *-context.xml". Network activity

  1. #11
    Join Date
    May 2008
    Posts
    14

    Default

    Was this ever resolved with anything besides the workaround? I am using m2e, which sets up my project dependencies automatically. I could go in and manually change them, but I think those changes will get stepped on whenever I add new dependencies, plus I don't think it will work with tools like JRebel.

  2. #12
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hey!

    We haven't got to this one yet, but did you try to disable the Spring validations (in the project preferences) to see if that helps as well maybe?

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  3. #13
    Join Date
    May 2008
    Posts
    14

    Default

    All the validators and builders that I know about are disabled:

    Spring Validators.jpg
    Spring Builders.jpg

  4. #14
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hm, okay... Can you also take a thread dump (using jps and jstack) at the time the build is performing so badly? That would be of great help!

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  5. #15
    Join Date
    May 2008
    Posts
    14

    Default

    I run jps command while it is doing "Loading x-y-zContext.xml" and it does not return anything (except "Jps"). I'm on Mac OSX (Lion) running STS 2.9.2.RELEASE.

  6. #16
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hey!

    "jps" on the command line does not work for you? Hm, that is strange... When I run "jps" on my Mac, it returns a list of process IDs, some of them with a name, some without. When I then guess the right process ID for STS and run "jstack <pid>" with that process ID, it produces the thread dumps. Are you sure there is no process ID in front of the resulting "Jps" output? And maybe one more for the STS process?

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  7. #17
    Join Date
    May 2008
    Posts
    14

    Default

    That's right. When I was doing "jps" it just returns something like:
    20555 Jps
    I was starting STS from my doc at the bottom. Today I've started it from the command line and I am able to get at least one other line from jps, so I'll post the jstack when it happens again. (Of course, when I posted the first time, it was happening constantly - now not so much.)

  8. #18
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hey!

    Interesting, that jps doesn't show the process ID when you are starting STS from the dock, that doesn't happen for me. But anyway, I am looking forward to your thread dumps for more details on this.

    Thanks,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  9. #19
    Join Date
    May 2008
    Posts
    14

    Default

    I've tried to attach the jstack output, but it is 50763 bytes which exceeds the limit for attachments (or at least attachments of .txt files). What is the best way to include it here?

  10. #20
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hey!

    Can you add it to this issue (with a short comment when you took the thread dump, etc.)
    https://issuetracker.springsource.com/browse/STS-2634

    That would be awesome!

    Thanks,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Tags for this Thread

Posting Permissions

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