You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Torsten Mielke (JIRA)" <ji...@apache.org> on 2015/12/04 11:00:17 UTC
[jira] [Comment Edited] (KARAF-4150) bin/status fails if
KARAF_DEBUG is set
[ https://issues.apache.org/jira/browse/KARAF-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041363#comment-15041363 ]
Torsten Mielke edited comment on KARAF-4150 at 12/4/15 10:00 AM:
-----------------------------------------------------------------
Do we also need to update bin/karaf.bat in this part
{code}
if "%KARAF_DEBUG%" == "" goto :KARAF_DEBUG_END
if "%1" == "stop" goto :KARAF_DEBUG_END
if "%1" == "client" goto :KARAF_DEBUG_END
REM To be added
if "%1" == "status" goto :KARAF_DEBUG_END
{code}
was (Author: tmielke):
Do we also need to update bin/karaf.bat in this part
{code}
if "%KARAF_DEBUG%" == "" goto :KARAF_DEBUG_END
if "%1" == "stop" goto :KARAF_DEBUG_END
if "%1" == "client" goto :KARAF_DEBUG_END
--> if "%1" == "status" goto :KARAF_DEBUG_END <---
{code}
> bin/status fails if KARAF_DEBUG is set
> --------------------------------------
>
> Key: KARAF-4150
> URL: https://issues.apache.org/jira/browse/KARAF-4150
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.4.0
> Reporter: Torsten Mielke
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Labels: shell-script
> Fix For: 2.4.4, 3.0.6, 4.0.4
>
>
> KARAF-1410 does not set the JPDA Debug options if
> {code}
> if [ "x$MODE" = "xstop" ]; then
> return
> fi
> if [ "x$MODE" = "xclient" ]; then
> return
> fi
> {code}
> but misses out on the bin/status command
> Running bin/status with KARAF_DEBUG enabled, raises the same error as in KARAF-1410.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)