Application mornitoring tool - Spring Insight

[download]
http://gopivotal.com/products/pivotal-tc-server

[forum]
http://forum.spring.io/forum/spring-projects/management/insight


개요 - What is Spring insight?


http://www.youtube.com/watch?v=nA4SXDl2EFU
http://www.youtube.com/watch?v=nBqSh7nVNzc
어플리케이션 모니터링 도구임.

설치

  • tcServer?

Spring insight는 Pivotal의 tcServer에 내장되어 있다고 하며 tcServer는 Tomcat을 개선하여 기능을 추가한 것이라 함. 여기서 기능은 Spring 어플리케이션의 리로드, 모니터링 도구인 Spring insight 내장이라함.  리로드는 소스 수정후 서버재시작이 없이 반영하여 개발 효율성을 높인 것이라함.  발췌 [Spring tc Server와 Spring Insight 소개 - Tistory]

tcServer에 내장됬다고 하는 Insight만을 뽑아서 익숙한 Tomcat에 설치하는 방법

  • tomcat에 설치

       1. download
          http://gopivotal.com/products/pivotal-tc-server 에 접속하여 간단한 회원가입후

         Pivotal tc Server Developer Edition Runtime (zip) 파일을 다운받음

       2. 압축을 풀고 아래 파일을 Tomcat이 설치된 폴더로 옮김
           [tcServer]/templates/insight/bin/*.jar -> [tomcat]/bin/
           [tcServer]/templates/insight/insight   -> [tomcat]/insight
           [tcServer]/templates/insight/lib          -> [tomcat]/lib/
           [tcServer]/templates/insight/webapps/insight.war   -> [tomcat]/webapps/

       3. 환경설정
           [tomcat]/bin/catalina.bat 파일의 117라인정도
            ~~~~~setenv.bat"
            :setenvDone  이 항목 아래에 아래 내용을 추가해준다.
            (또는 아래내용을 setenv.bat 파일로 만들어 bin아래 위치시킨다)
             -----------------------------------------------------------------
set JAVA_AGENTS=-javaagent:"%CATALINA_BASE%/bin/insight-weaver-1.9.2.SR3.jar"
set JVM_OPTS=-Xss256K -Dinsight.devedition=true -Daspectj.overweaving=true -Dorg.aspectj.tracing.factory=default -Dinsight.base=%CATALINA_BASE%/insight -Dinsight.logs=%CATALINA_BASE%/logs -Xmx1024m -Djava.awt.headless=true -XX:MaxPermSize=256m -Dgemfire.disableShutdownHook=true -Dgemfire.ignoreMisses=true
set JAVA_OPTS=%JVM_OPTS% %JAVA_AGENTS%
set CLASSPATH=%CATALINA_BASE%/bin/insight-bootstrap-tomcat-extlibs-1.9.2.SR3.jar
             --------------------------------------------------------------------
                                     
     4. tomcat을 실행시키고 http://localhost:8080/insight로 접근






댓글

이 블로그의 인기 게시물

Charset 변환 ( EUC-KR, UTF-8, MS949, CP933 )

GZipUtils- gzip을 통한 압축시 charset처리

ESAPI ( XSS, Sql Injection )