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

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

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.
----------------------------------------------------------------------------------------------------------------------------------------------------
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.


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

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721211#action_12721211 ] 

Charles Moulliard commented on FELIX-1202:
------------------------------------------

Hi Chris,

Yes. I have found that using under windows : 

set karaf_debug=

resolves the problem.

So, the issue can be closed

> 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.


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

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Custine resolved FELIX-1202.
----------------------------------

    Resolution: Won't Fix

> 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.


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

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ 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.
> ----------------------------------------------------------------------------------------------------------------------------------------------------
> 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.


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

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Custine reassigned FELIX-1202:
------------------------------------

    Assignee: Chris Custine

> 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.


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

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ 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.