[jira] [Assigned] (KARAF-5727) [equinox] SSH port is not open after bouncycastle bundle installed
[ https://issues.apache.org/jira/browse/KARAF-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofré reassigned KARAF-5727: --- Assignee: Jean-Baptiste Onofré > [equinox] SSH port is not open after bouncycastle bundle installed > -- > > Key: KARAF-5727 > URL: https://issues.apache.org/jira/browse/KARAF-5727 > Project: Karaf > Issue Type: Bug > Components: karaf-shell >Affects Versions: 4.1.5 >Reporter: Alexey Markevich >Assignee: Jean-Baptiste Onofré >Priority: Major > > 1. update custom.properties: > karaf.framework=equinox > 2. run Karaf; SSH port 8101 is open > 3. execute > {quote} > karaf@root()> feature:repo-add > mvn:org.apache.camel.karaf/apache-camel/2.20.1/xml/features > karaf@root()> feature:install camel-box > {quote} > -> 8101 port closed. > With default Felix works fine. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5727) [equinox] SSH port is not open after bouncycastle bundle installed
[ https://issues.apache.org/jira/browse/KARAF-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16458565#comment-16458565 ] Alexey Markevich commented on KARAF-5727: - {quote} karaf@root()> refresh org.apache.sshd.core {quote} helps but unable to execute when Karaf run with 'start' script > [equinox] SSH port is not open after bouncycastle bundle installed > -- > > Key: KARAF-5727 > URL: https://issues.apache.org/jira/browse/KARAF-5727 > Project: Karaf > Issue Type: Bug > Components: karaf-shell >Affects Versions: 4.1.5 >Reporter: Alexey Markevich >Priority: Major > > 1. update custom.properties: > karaf.framework=equinox > 2. run Karaf; SSH port 8101 is open > 3. execute > {quote} > karaf@root()> feature:repo-add > mvn:org.apache.camel.karaf/apache-camel/2.20.1/xml/features > karaf@root()> feature:install camel-box > {quote} > -> 8101 port closed. > With default Felix works fine. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (KARAF-5727) [equinox] SSH port is not open after bouncycastle bundle installed
Alexey Markevich created KARAF-5727: --- Summary: [equinox] SSH port is not open after bouncycastle bundle installed Key: KARAF-5727 URL: https://issues.apache.org/jira/browse/KARAF-5727 Project: Karaf Issue Type: Bug Components: karaf-shell Affects Versions: 4.1.5 Reporter: Alexey Markevich 1. update custom.properties: karaf.framework=equinox 2. run Karaf; SSH port 8101 is open 3. execute {quote} karaf@root()> feature:repo-add mvn:org.apache.camel.karaf/apache-camel/2.20.1/xml/features karaf@root()> feature:install camel-box {quote} -> 8101 port closed. With default Felix works fine. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (KARAF-5722) Upgrade to ASM 6.1.1
[ https://issues.apache.org/jira/browse/KARAF-5722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16458155#comment-16458155 ] Lijun Liao edited comment on KARAF-5722 at 4/30/18 6:36 AM: Please also adapt the file proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/ProxyUtils.java in the aries project to support Java 10, 11, and so on. Since release 9, JDK has different release cycle. Every 6 months a new JDK with incremented main version (JDK 10, 11, ...) will be released. Please also consider it. The aries version in karaf 4.2.0 does not like JDK 10+, I got error (as in attachment karaf-4.2.0-error-in-jdk10.txt) in case of exporting a service via aries blueprint (as configured in attachment blueprint.xml). was (Author: lliao): Please also adapt the file proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/ProxyUtils.java in the aries project to support Java 10, 11, and so on. Since release 9, JDK has different release cycle. Every 6 months a new JDK with incremented main version (JDK 10, 11, ...) will be released. Please also consider it. The aries version in karaf 4.2.0 does not like JDK 10+, I got the following error in case of exporting a service via aries blueprint. > Upgrade to ASM 6.1.1 > > > Key: KARAF-5722 > URL: https://issues.apache.org/jira/browse/KARAF-5722 > Project: Karaf > Issue Type: Dependency upgrade > Components: karaf-core >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: 4.1.6, 4.2.1 > > Attachments: blueprint.xml, karaf-4.2.0-error-in-jdk10.txt > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (KARAF-5722) Upgrade to ASM 6.1.1
[ https://issues.apache.org/jira/browse/KARAF-5722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lijun Liao updated KARAF-5722: -- Attachment: blueprint.xml > Upgrade to ASM 6.1.1 > > > Key: KARAF-5722 > URL: https://issues.apache.org/jira/browse/KARAF-5722 > Project: Karaf > Issue Type: Dependency upgrade > Components: karaf-core >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: 4.1.6, 4.2.1 > > Attachments: blueprint.xml, karaf-4.2.0-error-in-jdk10.txt > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (KARAF-5722) Upgrade to ASM 6.1.1
[ https://issues.apache.org/jira/browse/KARAF-5722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lijun Liao updated KARAF-5722: -- Attachment: (was: config.xml) > Upgrade to ASM 6.1.1 > > > Key: KARAF-5722 > URL: https://issues.apache.org/jira/browse/KARAF-5722 > Project: Karaf > Issue Type: Dependency upgrade > Components: karaf-core >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: 4.1.6, 4.2.1 > > Attachments: karaf-4.2.0-error-in-jdk10.txt > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (KARAF-5722) Upgrade to ASM 6.1.1
[ https://issues.apache.org/jira/browse/KARAF-5722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lijun Liao updated KARAF-5722: -- Attachment: config.xml > Upgrade to ASM 6.1.1 > > > Key: KARAF-5722 > URL: https://issues.apache.org/jira/browse/KARAF-5722 > Project: Karaf > Issue Type: Dependency upgrade > Components: karaf-core >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: 4.1.6, 4.2.1 > > Attachments: config.xml, karaf-4.2.0-error-in-jdk10.txt > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (KARAF-5722) Upgrade to ASM 6.1.1
[ https://issues.apache.org/jira/browse/KARAF-5722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lijun Liao updated KARAF-5722: -- Attachment: karaf-4.2.0-error-in-jdk10.txt > Upgrade to ASM 6.1.1 > > > Key: KARAF-5722 > URL: https://issues.apache.org/jira/browse/KARAF-5722 > Project: Karaf > Issue Type: Dependency upgrade > Components: karaf-core >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: 4.1.6, 4.2.1 > > Attachments: karaf-4.2.0-error-in-jdk10.txt > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (KARAF-5726) Upgrade to Aries Proxy version Java 10 compliant
Jean-Baptiste Onofré created KARAF-5726: --- Summary: Upgrade to Aries Proxy version Java 10 compliant Key: KARAF-5726 URL: https://issues.apache.org/jira/browse/KARAF-5726 Project: Karaf Issue Type: Dependency upgrade Components: karaf-core Reporter: Jean-Baptiste Onofré Assignee: Jean-Baptiste Onofré Fix For: 4.2.1 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5722) Upgrade to ASM 6.1.1
[ https://issues.apache.org/jira/browse/KARAF-5722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16458340#comment-16458340 ] Jean-Baptiste Onofré commented on KARAF-5722: - That's plan, I'm working on the Aries Proxy layer (used by Blueprint). > Upgrade to ASM 6.1.1 > > > Key: KARAF-5722 > URL: https://issues.apache.org/jira/browse/KARAF-5722 > Project: Karaf > Issue Type: Dependency upgrade > Components: karaf-core >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: 4.1.6, 4.2.1 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (KARAF-5722) Upgrade to ASM 6.1.1
[ https://issues.apache.org/jira/browse/KARAF-5722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16458155#comment-16458155 ] Lijun Liao edited comment on KARAF-5722 at 4/30/18 6:07 AM: Please also adapt the file proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/ProxyUtils.java in the aries project to support Java 10, 11, and so on. Since release 9, JDK has different release cycle. Every 6 months a new JDK with incremented main version (JDK 10, 11, ...) will be released. Please also consider it. The aries version in karaf 4.2.0 does not like JDK 10+, I got the following error in case of exporting a service via aries blueprint. was (Author: lliao): Please also adapt the file proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/ProxyUtils.java in the aries project to support Java 10, 11, and so on. Since release 9, JDK has different release cycle. Every 6 months a new JDK with incremented main version (JDK 10, 11, ...) will be released. Please also consider it. The aries version in karaf 4.2.0 does not like JDK 10+, I got the following error if I want to export a service via aries blueprint. 2018-04-30T07:57:49,830 | ERROR | features-3-thread-1 | BlueprintContainerImpl | 18 - org.apache.aries.blueprint.core - 1.9.0 | Unable to start blueprint container for bundle org.xipki.password/3.1.0.SNAPSHOT org.osgi.service.blueprint.container.ComponentDefinitionException: java.lang.IllegalArgumentException: Invalid Java version 54 at org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:141) ~[?:?] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:81) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:90) ~[?:?] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:810) ~[?:?] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:784) ~[?:?] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:765) ~[?:?] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:699) ~[?:?] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:666) ~[?:?] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:81) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:90) ~[?:?] at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:360) ~[?:?] at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:338) ~[?:?] at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:162) ~[?:?] at org.apache.aries.blueprint.container.BlueprintContainerImpl.processProcessors(BlueprintContainerImpl.java:551) ~[?:?] at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:397) ~[?:?] at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:278) ~[?:?] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:299) ~[?:?] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:268) ~[?:?] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:264) ~[?:?] at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:254) ~[?:?] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) ~[?:?] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) ~[?:?] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) ~[?:?] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) ~[?:?] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) ~[?:?] at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179) ~[?:?] at org.apache.felix.framework.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:730) ~[?:?] at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:485) ~[?:?] at
[jira] [Comment Edited] (KARAF-5722) Upgrade to ASM 6.1.1
[ https://issues.apache.org/jira/browse/KARAF-5722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16458155#comment-16458155 ] Lijun Liao edited comment on KARAF-5722 at 4/30/18 6:05 AM: Please also adapt the file proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/ProxyUtils.java in the aries project to support Java 10, 11, and so on. Since release 9, JDK has different release cycle. Every 6 months a new JDK with incremented main version (JDK 10, 11, ...) will be released. Please also consider it. The aries version in karaf 4.2.0 does not like JDK 10+, I got the following error if I want to export a service via aries blueprint. 2018-04-30T07:57:49,830 | ERROR | features-3-thread-1 | BlueprintContainerImpl | 18 - org.apache.aries.blueprint.core - 1.9.0 | Unable to start blueprint container for bundle org.xipki.password/3.1.0.SNAPSHOT org.osgi.service.blueprint.container.ComponentDefinitionException: java.lang.IllegalArgumentException: Invalid Java version 54 at org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:141) ~[?:?] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:81) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:90) ~[?:?] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:810) ~[?:?] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:784) ~[?:?] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:765) ~[?:?] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:699) ~[?:?] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:666) ~[?:?] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:81) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:90) ~[?:?] at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:360) ~[?:?] at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:338) ~[?:?] at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:162) ~[?:?] at org.apache.aries.blueprint.container.BlueprintContainerImpl.processProcessors(BlueprintContainerImpl.java:551) ~[?:?] at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:397) ~[?:?] at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:278) ~[?:?] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:299) ~[?:?] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:268) ~[?:?] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:264) ~[?:?] at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:254) ~[?:?] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) ~[?:?] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) ~[?:?] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) ~[?:?] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) ~[?:?] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) ~[?:?] at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179) ~[?:?] at org.apache.felix.framework.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:730) ~[?:?] at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:485) ~[?:?] at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4579) ~[?:?] at org.apache.felix.framework.Felix.startBundle(Felix.java:2174) ~[?:?] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[?:?] at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:161) ~[?:?] at
[jira] [Updated] (KARAF-5724) Add support of JDK 10
[ https://issues.apache.org/jira/browse/KARAF-5724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lijun Liao updated KARAF-5724: -- Environment: Java Version: {{$JAVA_HOME/bin/java -version}} {{java version "10.0.1" 2018-04-17}} {{Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)}} {{Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)}} OS: {{Ubuntu 64 Bit 16.04}} Description: Due to the missing module corba in JDK 10 (tested with the serverjre-10.0.1_linux-x64), karaf cannot be started. Here is the error message: {{apache-karaf-minimal-4.2.0$ bin/karaf }} {{Error occurred during initialization of boot layer}} {{java.lang.module.FindException: Module java.corba not found}} Removing "java.corba" from the line "--add-modules java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws" in bin/karaf fixed the above error. was:Due to the missing module corba in JDK 10 (tested with the serverjre-10.0.1_linux-x64), karaf cannot be started. > Add support of JDK 10 > - > > Key: KARAF-5724 > URL: https://issues.apache.org/jira/browse/KARAF-5724 > Project: Karaf > Issue Type: New Feature >Affects Versions: 4.2.0 > Environment: Java Version: > {{$JAVA_HOME/bin/java -version}} > {{java version "10.0.1" 2018-04-17}} > {{Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)}} > {{Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)}} > OS: > {{Ubuntu 64 Bit 16.04}} >Reporter: Lijun Liao >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: 4.2.1 > > > Due to the missing module corba in JDK 10 (tested with the > serverjre-10.0.1_linux-x64), karaf cannot be started. > Here is the error message: > {{apache-karaf-minimal-4.2.0$ bin/karaf }} > {{Error occurred during initialization of boot layer}} > {{java.lang.module.FindException: Module java.corba not found}} > Removing "java.corba" from the line "--add-modules > java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws" > in bin/karaf fixed the above error. -- This message was sent by Atlassian JIRA (v7.6.3#76005)