karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3421) Add a variable for the debug port number.
Date Thu, 25 Dec 2014 17:00:17 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258814#comment-14258814
] 

Jean-Baptiste Onofré commented on KARAF-3421:
---------------------------------------------

Fixed on master: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=5fbefba3dd0ead94227ce7879276eac93ee87407

> Add a variable for the debug port number.
> -----------------------------------------
>
>                 Key: KARAF-3421
>                 URL: https://issues.apache.org/jira/browse/KARAF-3421
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>    Affects Versions: 3.0.2
>            Reporter: Paul Spencer
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.0.0, 3.0.3, 2.4.1
>
>
> The debug port number is set to 5005 in many of the scripts located in the bin directory.
 I am requesting the creation of a variable, i.e. JAVA_DEBUG_PORT, to allow the use of different
debug port without editing script files.
> Below is an example of what to add to the script bin/shell
>   DEFAULT_JAVA_DEBUG = “5005"
>   if [ "x$JAVA_DEBUG_PORT" = "x" ]; then
>     JAVA_DEBUG_PORT="$DEFAULT_JAVA_DEBUG_PORT"
>   fi
>   DEFAULT_JAVA_DEBUG_OPTS =  “-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=$JAVA_DEBUG_PORT”



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message