You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2009/10/20 12:55:59 UTC

[jira] Updated: (FELIX-1778) instances/myinst/bin/karaf.bat leaks environment variables to shell

     [ https://issues.apache.org/jira/browse/FELIX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert updated FELIX-1778:
------------------------------------

    Attachment: karaf.bat

The attached version of karaf.bat is a fixed one.

> instances/myinst/bin/karaf.bat leaks environment variables to shell
> -------------------------------------------------------------------
>
>                 Key: FELIX-1778
>                 URL: https://issues.apache.org/jira/browse/FELIX-1778
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.0.2
>         Environment: Windows 
>            Reporter: David Bosschaert
>         Attachments: karaf.bat
>
>
> When launching a Karaf instance using the instances\myinst\bin\karaf.bat command the KARAF_BASE environment variable is leaked to the parent shell. This has the nasty side effect that if you try to launch the root Karaf instance again (with bin\karaf.bat) it starts myinst instead!
> This can easily be fixed by moving the setlocal call one line up as in the attached karaf.bat file

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