2016-10-24 2 views
0

終了コードで途中で終了し、デバッグモードでは、突然、私はすべての開いているポートをリストされている次のエラーメッセージ::Glassfishのサーバが、私は、デフォルトのポート設定とGlassfishのサーバV4.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 

私は、Java 1.7(OracleのJDK)のopenSUSEタンブルウィードにインストールされています。

ありがとうございました。

答えて

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

関連する問題