Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
karaf-1.2.0
-
None
-
Windows
Description
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