[jira] [Created] (KARAF-7551) Extend KarService.install() with noAutoRefreshBundles as Parameter
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)
[ 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)
[jira] [Commented] (KARAF-7550) MBeanInvocationHandler should throw the cause of InvocationTargetException, not ITE itself
[ https://issues.apache.org/jira/browse/KARAF-7550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605652#comment-17605652 ] ASF GitHub Bot commented on KARAF-7550: --- jbonofre commented on PR #1620: URL: https://github.com/apache/karaf/pull/1620#issuecomment-1248985416 Sorry, I was travelling yesterday so a bit late on this one. +1 for me. > MBeanInvocationHandler should throw the cause of InvocationTargetException, > not ITE itself > -- > > Key: KARAF-7550 > URL: https://issues.apache.org/jira/browse/KARAF-7550 > Project: Karaf > Issue Type: Bug >Affects Versions: 4.3.3 >Reporter: Grzegorz Grzybek >Assignee: Grzegorz Grzybek >Priority: Major > Fix For: 4.3.8, 4.4.2 > > > KARAF-7234 fixed KARAF-6654 by throwing the exception from MBean invocation > instead of returning null. > However, the exception thrown by > {{org.apache.karaf.management.internal.MBeanInvocationHandler#invoke()}} > should be the cause of {{java.lang.reflect.InvocationTargetException}}, not > this exception itself. > Now, jconsole gets {{UndeclaredThrowableException}} instead of the actual > exception. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (KARAF-7550) MBeanInvocationHandler should throw the cause of InvocationTargetException, not ITE itself
[ https://issues.apache.org/jira/browse/KARAF-7550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Grzybek resolved KARAF-7550. - Resolution: Fixed > MBeanInvocationHandler should throw the cause of InvocationTargetException, > not ITE itself > -- > > Key: KARAF-7550 > URL: https://issues.apache.org/jira/browse/KARAF-7550 > Project: Karaf > Issue Type: Bug >Affects Versions: 4.3.3 >Reporter: Grzegorz Grzybek >Assignee: Grzegorz Grzybek >Priority: Major > Fix For: 4.3.8, 4.4.2 > > > KARAF-7234 fixed KARAF-6654 by throwing the exception from MBean invocation > instead of returning null. > However, the exception thrown by > {{org.apache.karaf.management.internal.MBeanInvocationHandler#invoke()}} > should be the cause of {{java.lang.reflect.InvocationTargetException}}, not > this exception itself. > Now, jconsole gets {{UndeclaredThrowableException}} instead of the actual > exception. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (KARAF-7550) MBeanInvocationHandler should throw the cause of InvocationTargetException, not ITE itself
[ https://issues.apache.org/jira/browse/KARAF-7550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605647#comment-17605647 ] Grzegorz Grzybek commented on KARAF-7550: - Fixed [here|https://github.com/apache/karaf/commit/488d676f796ad3e3bb60818cc7d25edddf2b8576] in main branch. > MBeanInvocationHandler should throw the cause of InvocationTargetException, > not ITE itself > -- > > Key: KARAF-7550 > URL: https://issues.apache.org/jira/browse/KARAF-7550 > Project: Karaf > Issue Type: Bug >Affects Versions: 4.3.3 >Reporter: Grzegorz Grzybek >Assignee: Grzegorz Grzybek >Priority: Major > > KARAF-7234 fixed KARAF-6654 by throwing the exception from MBean invocation > instead of returning null. > However, the exception thrown by > {{org.apache.karaf.management.internal.MBeanInvocationHandler#invoke()}} > should be the cause of {{java.lang.reflect.InvocationTargetException}}, not > this exception itself. > Now, jconsole gets {{UndeclaredThrowableException}} instead of the actual > exception. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (KARAF-7550) MBeanInvocationHandler should throw the cause of InvocationTargetException, not ITE itself
[ https://issues.apache.org/jira/browse/KARAF-7550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Grzybek updated KARAF-7550: Fix Version/s: 4.3.8 4.4.2 > MBeanInvocationHandler should throw the cause of InvocationTargetException, > not ITE itself > -- > > Key: KARAF-7550 > URL: https://issues.apache.org/jira/browse/KARAF-7550 > Project: Karaf > Issue Type: Bug >Affects Versions: 4.3.3 >Reporter: Grzegorz Grzybek >Assignee: Grzegorz Grzybek >Priority: Major > Fix For: 4.3.8, 4.4.2 > > > KARAF-7234 fixed KARAF-6654 by throwing the exception from MBean invocation > instead of returning null. > However, the exception thrown by > {{org.apache.karaf.management.internal.MBeanInvocationHandler#invoke()}} > should be the cause of {{java.lang.reflect.InvocationTargetException}}, not > this exception itself. > Now, jconsole gets {{UndeclaredThrowableException}} instead of the actual > exception. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (KARAF-7550) MBeanInvocationHandler should throw the cause of InvocationTargetException, not ITE itself
[ https://issues.apache.org/jira/browse/KARAF-7550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605645#comment-17605645 ] ASF subversion and git services commented on KARAF-7550: Commit 8f7b8dfc6c3da5718b4922b7c92b11b43e978898 in karaf's branch refs/heads/karaf-4.3.x from Grzegorz Grzybek [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=8f7b8dfc6c ] [KARAF-7550] Throw the actual target exception of InvocationTargetException in MBean invocation (cherry picked from commit 488d676f796ad3e3bb60818cc7d25edddf2b8576) > MBeanInvocationHandler should throw the cause of InvocationTargetException, > not ITE itself > -- > > Key: KARAF-7550 > URL: https://issues.apache.org/jira/browse/KARAF-7550 > Project: Karaf > Issue Type: Bug >Affects Versions: 4.3.3 >Reporter: Grzegorz Grzybek >Assignee: Grzegorz Grzybek >Priority: Major > > KARAF-7234 fixed KARAF-6654 by throwing the exception from MBean invocation > instead of returning null. > However, the exception thrown by > {{org.apache.karaf.management.internal.MBeanInvocationHandler#invoke()}} > should be the cause of {{java.lang.reflect.InvocationTargetException}}, not > this exception itself. > Now, jconsole gets {{UndeclaredThrowableException}} instead of the actual > exception. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (KARAF-7550) MBeanInvocationHandler should throw the cause of InvocationTargetException, not ITE itself
[ https://issues.apache.org/jira/browse/KARAF-7550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605646#comment-17605646 ] ASF subversion and git services commented on KARAF-7550: Commit 22ad8829d75fac7dd5bc9ec3657e64dc6a4f2988 in karaf's branch refs/heads/karaf-4.2.x from Grzegorz Grzybek [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=22ad8829d7 ] [KARAF-7550] Throw the actual target exception of InvocationTargetException in MBean invocation (cherry picked from commit 488d676f796ad3e3bb60818cc7d25edddf2b8576) > MBeanInvocationHandler should throw the cause of InvocationTargetException, > not ITE itself > -- > > Key: KARAF-7550 > URL: https://issues.apache.org/jira/browse/KARAF-7550 > Project: Karaf > Issue Type: Bug >Affects Versions: 4.3.3 >Reporter: Grzegorz Grzybek >Assignee: Grzegorz Grzybek >Priority: Major > > KARAF-7234 fixed KARAF-6654 by throwing the exception from MBean invocation > instead of returning null. > However, the exception thrown by > {{org.apache.karaf.management.internal.MBeanInvocationHandler#invoke()}} > should be the cause of {{java.lang.reflect.InvocationTargetException}}, not > this exception itself. > Now, jconsole gets {{UndeclaredThrowableException}} instead of the actual > exception. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (KARAF-7550) MBeanInvocationHandler should throw the cause of InvocationTargetException, not ITE itself
[ https://issues.apache.org/jira/browse/KARAF-7550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605643#comment-17605643 ] ASF subversion and git services commented on KARAF-7550: Commit 488d676f796ad3e3bb60818cc7d25edddf2b8576 in karaf's branch refs/heads/main from Grzegorz Grzybek [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=488d676f79 ] [KARAF-7550] Throw the actual target exception of InvocationTargetException in MBean invocation > MBeanInvocationHandler should throw the cause of InvocationTargetException, > not ITE itself > -- > > Key: KARAF-7550 > URL: https://issues.apache.org/jira/browse/KARAF-7550 > Project: Karaf > Issue Type: Bug >Affects Versions: 4.3.3 >Reporter: Grzegorz Grzybek >Assignee: Grzegorz Grzybek >Priority: Major > > KARAF-7234 fixed KARAF-6654 by throwing the exception from MBean invocation > instead of returning null. > However, the exception thrown by > {{org.apache.karaf.management.internal.MBeanInvocationHandler#invoke()}} > should be the cause of {{java.lang.reflect.InvocationTargetException}}, not > this exception itself. > Now, jconsole gets {{UndeclaredThrowableException}} instead of the actual > exception. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (KARAF-7550) MBeanInvocationHandler should throw the cause of InvocationTargetException, not ITE itself
[ https://issues.apache.org/jira/browse/KARAF-7550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605644#comment-17605644 ] ASF subversion and git services commented on KARAF-7550: Commit 527e0e777818601be95a0903625d9a9eb36b4ceb in karaf's branch refs/heads/main from Grzegorz Grzybek [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=527e0e7778 ] Merge pull request #1620 from grgrzybek/KARAF-7550 [KARAF-7550] Throw the actual target exception of InvocationTargetExc… > MBeanInvocationHandler should throw the cause of InvocationTargetException, > not ITE itself > -- > > Key: KARAF-7550 > URL: https://issues.apache.org/jira/browse/KARAF-7550 > Project: Karaf > Issue Type: Bug >Affects Versions: 4.3.3 >Reporter: Grzegorz Grzybek >Assignee: Grzegorz Grzybek >Priority: Major > > KARAF-7234 fixed KARAF-6654 by throwing the exception from MBean invocation > instead of returning null. > However, the exception thrown by > {{org.apache.karaf.management.internal.MBeanInvocationHandler#invoke()}} > should be the cause of {{java.lang.reflect.InvocationTargetException}}, not > this exception itself. > Now, jconsole gets {{UndeclaredThrowableException}} instead of the actual > exception. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (KARAF-7550) MBeanInvocationHandler should throw the cause of InvocationTargetException, not ITE itself
[ https://issues.apache.org/jira/browse/KARAF-7550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605642#comment-17605642 ] ASF GitHub Bot commented on KARAF-7550: --- grgrzybek merged PR #1620: URL: https://github.com/apache/karaf/pull/1620 > MBeanInvocationHandler should throw the cause of InvocationTargetException, > not ITE itself > -- > > Key: KARAF-7550 > URL: https://issues.apache.org/jira/browse/KARAF-7550 > Project: Karaf > Issue Type: Bug >Affects Versions: 4.3.3 >Reporter: Grzegorz Grzybek >Assignee: Grzegorz Grzybek >Priority: Major > > KARAF-7234 fixed KARAF-6654 by throwing the exception from MBean invocation > instead of returning null. > However, the exception thrown by > {{org.apache.karaf.management.internal.MBeanInvocationHandler#invoke()}} > should be the cause of {{java.lang.reflect.InvocationTargetException}}, not > this exception itself. > Now, jconsole gets {{UndeclaredThrowableException}} instead of the actual > exception. -- This message was sent by Atlassian Jira (v8.20.10#820010)