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

[jira] Resolved: (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 ]

Guillaume Nodet resolved FELIX-1778.
------------------------------------

       Resolution: Fixed
    Fix Version/s: karaf-1.0.2
         Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	karaf/shell/admin/src/main/resources/org/apache/felix/karaf/shell/admin/bin/karaf.bat
Committed r827424


> 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
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.0.2
>
>         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.