felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-1778) instances/myinst/bin/karaf.bat leaks environment variables to shell
Date Tue, 20 Oct 2009 10:55:59 GMT

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


Mime
View raw message