You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Chris Custine (JIRA)" <ji...@apache.org> on 2009/06/08 17:14:07 UTC

[jira] Commented: (FELIX-1202) Windows variable of servicemix/karaf debug not reseted !!!

    [ https://issues.apache.org/jira/browse/FELIX-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717286#action_12717286 ] 

Chris Custine commented on FELIX-1202:
--------------------------------------

The script is testing for *any* value, or no value.  So we are not currently recognizing true or false (or 0 or 1 for that matter).  To get the results you are looking for you would need to unset the variable (how to do this depends on your platform).  Would this work for you?

> Windows variable of servicemix/karaf debug not reseted !!!
> ----------------------------------------------------------
>
>                 Key: FELIX-1202
>                 URL: https://issues.apache.org/jira/browse/FELIX-1202
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Charles Moulliard
>            Assignee: Chris Custine
>
> It seems to have an issue on windows machine when we want to set the debug mode :
> D:\Dvlpt\Java\workspace-ganymede\x3s\server\apache-felix-karaf-1.2.0-SNAPSHOT\bin>set KARAF_DEBUG=true
> D:\Dvlpt\Java\workspace-ganymede\x3s\server\apache-felix-karaf-1.2.0-SNAPSHOT\bin>karaf
> karaf.bat: Enabling Java debug options: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
> Listening for transport dt_socket at address: 5005
>         __ __                  ____
>        / //_/____ __________ _/ __/
>       / ,<  / __ `/ ___/ __ `/ /_
>      / /| |/ /_/ / /  / /_/ / __/
>     /_/ |_|\__,_/_/   \__,_/_/
>  Apache Felix Karaf (1.2.0-SNAPSHOT)
> Type 'help' for more information.
> ----------------------------------------------------------------------------------------------------------------------------------------------------
> karaf@root:/> exit
> Everything is ok
> Next we will try to reste the flag KARAF_DEBUG=false and we can see that karaf (idem in servicemix) enables again the option even if we set KARAF_DEBUG=false
> D:\Dvlpt\Java\workspace-ganymede\x3s\server\apache-felix-karaf-1.2.0-SNAPSHOT\bin>set KARAF_DEBUG=false
> D:\Dvlpt\Java\workspace-ganymede\x3s\server\apache-felix-karaf-1.2.0-SNAPSHOT\bin>karaf
> karaf.bat: Enabling Java debug options: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
> Listening for transport dt_socket at address: 5005
> Terminate batch job (Y/N)? y
> D:\Dvlpt\Java\workspace-ganymede\x3s\server\apache-felix-karaf-1.2.0-SNAPSHOT\bin>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.