2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

NetBeans で Tomcat の「デバッグモードで起動」が失敗する

Posted at

現象

NetBeans から tomcat を「デバッグモードで起動」をしようとすると
「Tomcatの起動に失敗しました。」というダイアログと、下記のエラーログが出て起動に失敗しました。

error.png

ERROR: transport error 202: failed to create shared memory listener: 既に存在するファイルを作成することはできません。
ERROR: JDWP Transport dt_shmem failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

解決

サーバープロパティで [起動]タブ > 「ソケットポート」を選択して起動するとうまくいきました。

nb-property.png

何が原因かさっぱりわからないままです。。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?