karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolaos Dimos (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-1410) Error in stop script if KARAF_DEBUG is enabled
Date Thu, 26 Apr 2012 15:14:15 GMT
Nikolaos Dimos created KARAF-1410:

             Summary: 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-os-integration
    Affects Versions: 2.2.6
         Environment: Tested under Linux but problem exists also under Windows
            Reporter: Nikolaos Dimos
         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)

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


View raw message