2016-10-24 4 views
0

종료 코드와 함께 조기 종료, 디버그 모드가 갑자기 열려있는 모든 포트를 나열 다음과 같은 오류 메시지 ::글래스 피시 서버가 나는 기본 포트 구성 글래스 피시 서버 버전 4.1가 134

The server exited prematurely with exit code 134. 
Before it died, it produced the following output: 

FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) 
ERROR: transport error 202: connect failed: Connection refused 
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:750] 

와 함께 작동이 중지 내 컴퓨터에서는 디버그 포트를 찾을 수 없습니다. 포트를 변경하려고했지만 여전히 같은 오류가 발생했습니다.

나는 열린 포트 : 오픈 수세 다니지에

sockstat -l | grep 9009 
lsof -l | grep 9009 
ss -l | grep 9009 

내가 자바 1.7 (오라클 JDK)가 설치를 나열하려면 다음 명령을 사용했다.

감사합니다.

답변

1

다른 단서를 검색 한 후, 문제가 포트하지만 domain.xml 파일의 다른 디버그 옵션,

<java-config debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=n,suspend=y,address=9009" system-classpath="" classpath-suffix=""> 

<java-config debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" system-classpath="" classpath-suffix=""> 
로 변경 구체적으로 다음 줄에 없었다 보인다

가 다음 문제의 답을 고쳤습니다. Impossible to run web application in debug mode with intelliJ on ubuntu with glassfish server