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


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.

Reply via email to