Details
Description
While trying to use the stop script in order to shut down my Karaf instance (2.2.6) with the debug option enabled I have encountered the following error:
karaf: Enabling Java debug options: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
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]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
Aborted
The problem is that stop script calls karaf script which tries to execute a new Java process with DEBUG option enabled to the same port.
Attachments
Attachments
Issue Links
- relates to
-
KARAF-4150 bin/status fails if KARAF_DEBUG is set
- Resolved