You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2012/08/18 16:32:38 UTC

[jira] [Closed] (KARAF-1410) Error in stop script if KARAF_DEBUG is enabled

     [ https://issues.apache.org/jira/browse/KARAF-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-1410.
---------------------------------

    
> Error in stop script if KARAF_DEBUG is enabled
> ----------------------------------------------
>
>                 Key: KARAF-1410
>                 URL: https://issues.apache.org/jira/browse/KARAF-1410
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core, karaf-os-integration
>    Affects Versions: 2.2.6
>         Environment: Tested under Linux but problem exists also under Windows
>            Reporter: Nikolaos Dimos
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.8, 2.3.0, 3.0.0
>
>         Attachments: unix-karaf-diff.txt
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira