Eclipse (디버그 용 : jpda)를 시작하고 Tomcat을 프로그램으로 중지 할 수 있도록 Eclipse를 구성했습니다. 내가 처음/종료 Tomcat 일식에서 성공하면 처음. 그러나 나는 다음과 같은 오류가 바람둥이 시작하려고 두 번째 : 나는 일식에서 종료 바람둥이을 실행하면 포트가 폐쇄되지 않습니다 생각Eclipse 내에서 외부 도구로 tomcat을 시작할 수 없습니다.
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
합니다. 컴퓨터를 다시 시작하면 포트가 해제되고 Eclipse에서 Eclipse 시작을 다시 실행할 수 있습니다. 하지만 때마다 그것을 작동하도록 컴퓨터를 다시 시작할 수 없습니다 ... 덜 급진적 인 해결책을 찾고 ...
이것은 어떻게 내가 프로그램으로 바람둥이를 실행 내 일식을 구성합니다.
Configured the external tool configuration in eclipse
catalina script points to catalina.bat on my Windows machine
under arguments : jpda run
In the Environment tab.
"JPDA_ADDRESS" as the name and "8000" as the value
"JPDA_TRANSPORT" as the name and "dt_socket" as the value
"JAVA_OPTS" as the name and -server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true as the value