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-3420) Java Debug options are Pre Java 5.0
Date Thu, 25 Dec 2014 17:00:17 GMT

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

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

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

> Java Debug options are Pre Java 5.0
> -----------------------------------
>
>                 Key: KARAF-3420
>                 URL: https://issues.apache.org/jira/browse/KARAF-3420
>             Project: Karaf
>          Issue Type: Bug
>          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
>
>
> When debugging I noticed the debugger option are Pre Java 5.0.  Since Karaf requires
Java 7 or greater, the options need to be updated.
> I was expecting DEFAULT_JAVA_DEBUG_OPTS =  “-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005”
> sparrow:bin paul$ grep DEFAULT_JAVA_DEBUG_OPTS= *
> instance:    DEFAULT_JAVA_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
> instance:    #DEFAULT_JAVA_DEBUG_OPTS="-Xrunyjpagent"
> instance.bat:set DEFAULT_JAVA_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005
> karaf:    DEFAULT_JAVA_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
> karaf:    #DEFAULT_JAVA_DEBUG_OPTS="-Xrunyjpagent"
> karaf.bat:set DEFAULT_JAVA_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
> shell:    DEFAULT_JAVA_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
> shell:    #DEFAULT_JAVA_DEBUG_OPTS="-Xrunyjpagent"
> shell.bat:set DEFAULT_JAVA_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005



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

Mime
View raw message