http://antop.tistory.com/135
Eclipse 3.6 (Helios) 이상.
Installing TPTP prerequisites
TPTP 설치 전에 필요로 하는 플러그인들이 있습니다.
1. WTP (Web Tools Platform) - http://eclipse.org/webtools/
이클립스를 J2EE 버전으로 설치했다면 포함되어 있습니다.
2. EMF (Eclipse Modeling Framework) - http://www.eclipse.org/modeling/emf/
help -> Install New Software
: http://download.eclipse.org/releases/helios
: Modeling -> EMF - Eclipse Modeling Framework SDK 2.6.1
3. GEF (Graphical Editing Frame work) - http://www.eclipse.org/gef/
help -> Install New Software
: http://download.eclipse.org/releases/helios
: Modeling -> Graphical Editing Framework GEF SDK 3.6.2
4. Installing TPTP
이클립스를 이용하여 다운로드 하면 다운로드 진행이 안되서 전 플러그인을 다운로드 받아서 설치했습니다.
- http://www.eclipse.org/downloads/download.php?file=/tptp/4.7.2/TPTP-4.7.2/tptp.sdk-TPTP-4.7.2.zip
5. Downloading and installing the Agent Controller
TPTP 를 사용하기 위해선 AC(Agent Controller)라는 것을 심어놔야 하는데 로컬 서버는 필요 없습니다.
그냥 톰켓 7.0 으로 테스트 하겠습니다.
서버(WAS)를 시작할 때 프로파일 모드(?)로 실행하면 됩니다.
팝업이 뜹니다
- Profile on Server
실행시간(Execuion Time), 메모리(Memory), 쓰래드(Thread)를 분석Analysis할 수 있습니다.
3개중 하나를 선택 하고 "Finish" 버튼을 클릭 하면 WAS 가 기동됩니다.
기동된 후 아래와 같이 창이 뜹니다.
- Confirm Perspective Switch -> Yes
D:\javadev\programs\agntctrl.win_ia32-TPTP-4.7.2\plugins\org.eclipse.tptp.javaprofiler:D:\javadev\programs\agntctrl.win_ia32-TPTP-4.7.2\bin
%JAVA_HOME%
%JAVA_PROFILER_HOME%;%TPTP_AC_HOME%\lib;
JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.javaprofiler
./SampleClient: error while loading shared libraries: libtptpClient.so.4: cannot open shared object file: No such file or directory
export TEMP="/home/tmp"
export TMP="/home/tmp"
export TPTP_AC_HOME="/home/install/tptp"
export JAVA_PROFILER_HOME="${TPTP_AC_HOME}/plugins/org.eclipse.tptp.javaprofiler"
export PATH="${JAVA_PROFILER_HOME}:${TPTP_AC_HOME}/bin:${PATH}"
export LD_LIBRARY_PATH="${JAVA_PROFILER_HOME}:${TPTP_AC_HOME}/lib:${LD_LIBRARY_PATH}"
/usr/local/tomcat/5.5.23/bin/Tomcat5.sh
- CATALINA_OPTS="-Xms128m -Xmx384m -XX:MaxPermSize=128m -agentlib:JPIBootLoader=JPIAgent:server=enabled;HeapProf"
'프로그래밍 > Java' 카테고리의 다른 글
[spring] request life cycle (0) | 2014.03.24 |
---|---|
이클립스 단축키 (0) | 2014.03.24 |
spring exception handler (0) | 2014.03.24 |
[java 7] copy file, delete file/directory (0) | 2014.03.21 |
[MyBatis] null parameter 에러. (0) | 2014.03.19 |