[jira] [Created] (KARAF-7551) Extend KarService.install() with noAutoRefreshBundles as Parameter

2022-09-16 Thread annor (Jira)
annor created KARAF-7551:


 Summary: Extend KarService.install() with noAutoRefreshBundles as 
Parameter
 Key: KARAF-7551
 URL: https://issues.apache.org/jira/browse/KARAF-7551
 Project: Karaf
  Issue Type: New Feature
  Components: karaf
Affects Versions: 4.3.7
 Environment: Karaf 4.3.7
Reporter: annor


We had an issue, that a running Bundle is refreshed, because new Feature is 
installed.
In Karaf console we can use -r option e.g. feature:install -v -r eventadmin

But we use org.apache.karaf.kar.KarService.install(URI) to install a new 
Feature.
Please extend this API to support the same feature like in karaf console.

Suggestion:
* void install(URI karUri, boolean noAutoStartBundles, boolean 
noAutoRefreshBundles) throws Exception;*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (KARAF-7259) Karaf Server can't start if space in path (KARAF_HOME)

2022-09-16 Thread annor (Jira)


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

annor closed KARAF-7259.


> Karaf Server can't start if space in path (KARAF_HOME)
> --
>
> Key: KARAF-7259
> URL: https://issues.apache.org/jira/browse/KARAF-7259
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.3.3
> Environment: Java 11
> 4.3.3
> Karaf is installed under eg. C:\Program Files\Karaf
>Reporter: annor
>Assignee: Jean-Baptiste Onofré
>Priority: Critical
> Fix For: 4.4.0, 4.3.4, 4.2.16
>
>
> Recent commit in  karaf.bat 
> [https://github.com/apache/karaf/commit/33174f7c6980795de9829b42f98d8b9903948f6f]
> caused our Karaf can't start.
> If space in %KARAF_HOME% and Java Version > 8
> {code:java}
> WARNING: package org.apache.karaf.specs.locator not in java.base
> Error: Could not find or load main class Files\Karaf
> Caused by: java.lang.ClassNotFoundException: Files\Karaf{code}
> Solutions for us:
> {code}
> --patch-module 
> java.base="%KARAF_HOME%\lib\endorsed\org.apache.karaf.specs.locator-4.3.3.jar"
>  ^
> --patch-module 
> java.xml="%KARAF_HOME%\lib\endorsed\org.apache.karaf.specs.java.xml-4.3.3.jar"
>  ^
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)