Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3514

classpath and jvm argument are incorrect for Spring Insight 1.0 (tc Server 2.9)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.3.0.RELEASE
    • Fix Version/s: 3.4.0.M1
    • Component/s: SERVER
    • Labels:
    • Environment:
      STS 3.3.0, tc Server 2.9 (Developer) and Spring Insight Developer 1.9.
      On OSX 10.8.2

      Description

      When using Insight (v1.9) and tc Server (Dev v2.9) in STS (v3.3.0) the launch configuration is missing JVM arguments and classpath entries preventing Insight from running.

      The following jars must be added to the classpath (via the server's launch configuration), both found in the tcS instance's bin directory:
      -insight-bootstrap-tomcat-extlibs-1.9.2.SR1.jar
      -insight-weaver-1.9.2.SR1.jar

      The following JVM arguments are missing (set via the server's launch configuration) - all of them may not be required:
      -Dinsight.devedition=true -Dorg.aspectj.tracing.factory=default -Dinsight.logs=$CATALINA_BASE/logs -Dgemfire.ignoreMisses=true -javaagent:$CATALINA_BASE/bin/insight-weaver-1.9.2.SR1.jar

      Note: you must edit the JVM arguments via the run configurations and NOT via the server's launch configuration. If you open it via the launch configuration, STS will always delete the -javaagent argument.

        Attachments

          Activity

            People

            Assignee:
            ldossantos Leo Dos Santos (c) [X]
            Reporter:
            dbeauregard Derek Beauregard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: