[
https://issues.apache.org/jira/browse/FELIX-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721015#action_12721015
]
Chris Custine commented on FELIX-1202:
--------------------------------------
As stated in my previous comment, we are checking for any value or no value so
an unset of the environment variable should do the trick. If there are any
other issues you can reopen this or create another issue and we'll be happy to
take a look.
> 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.
> ----------------------------------------------------------------------------------------------------------------------------------------------------
> ka...@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.