[jira] [Commented] (KARAF-5962) Regression when installing some features containing fragments 4.2.0 -> 4.2.1

2018-12-11 Thread JIRA


[ 
https://issues.apache.org/jira/browse/KARAF-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717339#comment-16717339
 ] 

Jean-Baptiste Onofré commented on KARAF-5962:
-

I'm testing a fix on Felix Utils.

> Regression when installing some features containing fragments 4.2.0 -> 4.2.1
> 
>
> Key: KARAF-5962
> URL: https://issues.apache.org/jira/browse/KARAF-5962
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.2.1
> Environment: java.specification.name Java Platform API Specification
> java.specification.vendor Oracle Corporation
> java.specification.version 1.8
> java.runtime.name OpenJDK Runtime Environment
> java.runtime.version 1.8.0_181-8u181-b13-1~deb9u1-b13
>Reporter: rg chi
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.2
>
>
> Bug reproduction uses Apache Ignite karaf feature with JDK 8. In this case 
> org.apache.ignite.ignite-core plays host to fragment 
> org.apache.ignite.ignite-indexing.
> 1) Expose
> {noformat}
> com.sun.management, \
> sun.misc, \
> sun.nio.ch
> {noformat}
> in system bundle
> (for some reason ignite uses Import-Package to wire these so boot delegation 
> is not enough; we need to append packages to system bundle)
> 2)
> {noformat}
> karaf@root()> feature:repo-add 
> mvn:org.apache.ignite/ignite-osgi-karaf/2.6.0/xml/features
> karaf@root()> feature:install ignite-core
> karaf@root()> feature:install ignite-indexing
> {noformat}
> Works fine in 4.2.0 but in 4.2.1 this generates exception:
> {noformat}
> java.lang.ArrayIndexOutOfBoundsException: -1
>   at java.util.ArrayList.elementData(ArrayList.java:422)
>   at java.util.ArrayList.set(ArrayList.java:450)
>   at org.apache.felix.resolver.util.ShadowList.replace(ShadowList.java:74)
>   at org.apache.felix.resolver.Candidates.prepare(Candidates.java:941)
>   at 
> org.apache.felix.resolver.ResolverImpl.getInitialCandidates(ResolverImpl.java:505)
>   at 
> org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:390)
>   at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
>   at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
>   at 
> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
>   at 
> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388)
>   at 
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1025)
>   at 
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:964)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>   at java.lang.Thread.run(Thread.java:748)
> Error executing command: -1
> {noformat}
> Now this does not seem to happen with all fragment-host combinations. But the 
> above example is a reliable way to reproduce the faulty behavior in Karaf 
> 4.2.1. 
> This might be related to changes introduced in KARAF-5706 but as of yet 
> undetermined.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5925) Error while installing custom feature

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5925:

Fix Version/s: (was: 4.2.2)
   4.2.3

> Error while installing custom feature
> -
>
> Key: KARAF-5925
> URL: https://issues.apache.org/jira/browse/KARAF-5925
> Project: Karaf
>  Issue Type: Question
>  Components: karaf
>Affects Versions: 4.2.1
> Environment: OS: CentOS 7 (64-bit)
> Java: 1.8
> Karaf-4.2.1
>Reporter: Gaurav Patil
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>  Labels: features, spring
> Fix For: 4.2.3
>
> Attachments: exception_log.txt, module_context.xml, pom.xml
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I've created a OSGi bundle for handling the database utilities. I tried to 
> install this bundle in karaf-3.0.0 running on java 1.7 where it is installed 
> correctly and the bundle was in ACTIVE state.
>  But, when I tried to install the same feature in karaf-4.2.1 with Java 1.8 
> then the bundle is throwing an exception. The details about the exception are 
> added to the attached file (exception_log.txt) [^exception_log.txt].
> I've also attached the pom.xml file [^pom.xml] and the spring bean xml file 
> (module_context.xml).[^module_context.xml]
> 
>  The spring feature installed is:
> spring │ 5.0.8.RELEASE_1 │ x │ Started │ spring-4.2.1 │ Spring 5.0.x support
>  spring-jdbc │ 5.0.8.RELEASE_1 │ │ Started │ spring-4.2.1 │ Spring 5.0.x JDBC 
> support
>  spring-jms │ 5.0.8.RELEASE_1 │ x │ Started │ spring-4.2.1 │ Spring 5.0.x JMS 
> support
>  spring-test │ 5.0.8.RELEASE_1 │ x │ Started │ spring-4.2.1 │ Spring 5.0.x 
> Test support
>  spring-oxm │ 5.0.8.RELEASE_1 │ │ Started │ spring-4.2.1 │ Spring 5.0.x OXM 
> support
>  spring-tx │ 5.0.8.RELEASE_1 │ x │ Started │ spring-4.2.1 │ Spring 5.0.x 
> Transaction (TX) support
>  spring-web │ 5.0.8.RELEASE_1 │ x │ Started │ spring-4.2.1 │ Spring 5.0.x Web 
> support
> ===
>  
> Can you please help me out to understand and resolve this issue?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KARAF-6046) Upgrade to Felix Utils 1.11.1

2018-12-11 Thread JIRA
Jean-Baptiste Onofré created KARAF-6046:
---

 Summary: Upgrade to Felix Utils 1.11.1
 Key: KARAF-6046
 URL: https://issues.apache.org/jira/browse/KARAF-6046
 Project: Karaf
  Issue Type: Dependency upgrade
  Components: karaf
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
 Fix For: 4.2.2






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KARAF-6045) Upgrade to Pax Web 7.2.5

2018-12-11 Thread JIRA
Jean-Baptiste Onofré created KARAF-6045:
---

 Summary: Upgrade to Pax Web 7.2.5
 Key: KARAF-6045
 URL: https://issues.apache.org/jira/browse/KARAF-6045
 Project: Karaf
  Issue Type: Dependency upgrade
  Components: karaf
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
 Fix For: 4.2.2


I'm working Pax Web 7.2.5, especially with contract capability in 
pax-web-runtime instead of features (allowing to work with Aries JAXRS 
Whiteboard for instance).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (KARAF-6041) Upgrade to Aries Proxy Impl 1.1.3

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré resolved KARAF-6041.
-
Resolution: Fixed

> Upgrade to Aries Proxy Impl 1.1.3
> -
>
> Key: KARAF-6041
> URL: https://issues.apache.org/jira/browse/KARAF-6041
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Fix For: 4.2.2
>
>
> When I try to deploy a camel (2.23.0) route using the blueprint DSL, I have 
> the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: 
> org.objectweb.asm.commons.AdviceAdapter not found by org.apache.aries.proxy 
> [50]
> at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
>  ~[?:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
> at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
> at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2410)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2194)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1607)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
>  ~[?:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
> at 
> org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:153)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:97)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:80)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:77)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:42)
>  ~[?:?]
> at 
> org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createProxy(AbstractServiceReferenceRecipe.java:332)
>  ~[?:?]
> at 
> org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:125)
>  ~[?:?]
> ... 32 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-6041) Upgrade to Aries Proxy Impl 1.1.3

2018-12-11 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KARAF-6041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717927#comment-16717927
 ] 

ASF subversion and git services commented on KARAF-6041:


Commit 0ed0aeb8fdc89211a8b0fe4a32009a344aba68cd in karaf's branch 
refs/heads/master from [~j...@nanthrax.net]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=0ed0aeb ]

Merge pull request #690 from jbonofre/KARAF-6041

[KARAF-6041] Upgrade to Aries Proxy Impl 1.1.3

> Upgrade to Aries Proxy Impl 1.1.3
> -
>
> Key: KARAF-6041
> URL: https://issues.apache.org/jira/browse/KARAF-6041
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Fix For: 4.2.2
>
>
> When I try to deploy a camel (2.23.0) route using the blueprint DSL, I have 
> the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: 
> org.objectweb.asm.commons.AdviceAdapter not found by org.apache.aries.proxy 
> [50]
> at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
>  ~[?:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
> at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
> at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2410)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2194)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1607)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
>  ~[?:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
> at 
> org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:153)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:97)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:80)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:77)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:42)
>  ~[?:?]
> at 
> org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createProxy(AbstractServiceReferenceRecipe.java:332)
>  ~[?:?]
> at 
> org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:125)
>  ~[?:?]
> ... 32 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-6041) Upgrade to Aries Proxy Impl 1.1.3

2018-12-11 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KARAF-6041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717928#comment-16717928
 ] 

ASF subversion and git services commented on KARAF-6041:


Commit 0ed0aeb8fdc89211a8b0fe4a32009a344aba68cd in karaf's branch 
refs/heads/master from [~j...@nanthrax.net]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=0ed0aeb ]

Merge pull request #690 from jbonofre/KARAF-6041

[KARAF-6041] Upgrade to Aries Proxy Impl 1.1.3

> Upgrade to Aries Proxy Impl 1.1.3
> -
>
> Key: KARAF-6041
> URL: https://issues.apache.org/jira/browse/KARAF-6041
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Fix For: 4.2.2
>
>
> When I try to deploy a camel (2.23.0) route using the blueprint DSL, I have 
> the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: 
> org.objectweb.asm.commons.AdviceAdapter not found by org.apache.aries.proxy 
> [50]
> at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
>  ~[?:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
> at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
> at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2410)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2194)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1607)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
>  ~[?:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
> at 
> org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:153)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:97)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:80)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:77)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:42)
>  ~[?:?]
> at 
> org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createProxy(AbstractServiceReferenceRecipe.java:332)
>  ~[?:?]
> at 
> org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:125)
>  ~[?:?]
> ... 32 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-6041) Upgrade to Aries Proxy Impl 1.1.3

2018-12-11 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KARAF-6041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717926#comment-16717926
 ] 

ASF subversion and git services commented on KARAF-6041:


Commit d71c8130dd0fde7cf9a62e70583d6ae3d8123699 in karaf's branch 
refs/heads/master from [~j...@nanthrax.net]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=d71c813 ]

[KARAF-6041] Upgrade to Aries Proxy Impl 1.1.3


> Upgrade to Aries Proxy Impl 1.1.3
> -
>
> Key: KARAF-6041
> URL: https://issues.apache.org/jira/browse/KARAF-6041
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Fix For: 4.2.2
>
>
> When I try to deploy a camel (2.23.0) route using the blueprint DSL, I have 
> the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: 
> org.objectweb.asm.commons.AdviceAdapter not found by org.apache.aries.proxy 
> [50]
> at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
>  ~[?:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
> at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
> at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2410)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2194)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1607)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
>  ~[?:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
> at 
> org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:153)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:97)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:80)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:77)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:42)
>  ~[?:?]
> at 
> org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createProxy(AbstractServiceReferenceRecipe.java:332)
>  ~[?:?]
> at 
> org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:125)
>  ~[?:?]
> ... 32 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-6041) Upgrade to Aries Proxy Impl 1.1.3

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/KARAF-6041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717924#comment-16717924
 ] 

ASF GitHub Bot commented on KARAF-6041:
---

jbonofre closed pull request #690: [KARAF-6041] Upgrade to Aries Proxy Impl 
1.1.3
URL: https://github.com/apache/karaf/pull/690
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/pom.xml b/pom.xml
index 5cf95e22fd..8d9604d95f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -236,7 +236,7 @@
 1.1.0
 1.0.2
 1.1.0
-1.1.2
+1.1.3
 1.1.0
 1.2
 2.0.10


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Upgrade to Aries Proxy Impl 1.1.3
> -
>
> Key: KARAF-6041
> URL: https://issues.apache.org/jira/browse/KARAF-6041
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Fix For: 4.2.2
>
>
> When I try to deploy a camel (2.23.0) route using the blueprint DSL, I have 
> the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: 
> org.objectweb.asm.commons.AdviceAdapter not found by org.apache.aries.proxy 
> [50]
> at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
>  ~[?:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
> at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
> at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2410)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2194)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1607)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
>  ~[?:?]
> at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
>  ~[?:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
> at 
> org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:153)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:97)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:80)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:77)
>  ~[?:?]
> at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:42)
>  ~[?:?]
> at 
> org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createProxy(AbstractServiceReferenceRecipe.java:332)
>  ~[?:?]
> at 
> org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:125)
>  ~[?:?]
> ... 32 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (KARAF-5909) Starting Karaf 4.2.1 won't start as Windows service

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré resolved KARAF-5909.
-
Resolution: Fixed

> Starting Karaf 4.2.1 won't start as Windows service
> ---
>
> Key: KARAF-5909
> URL: https://issues.apache.org/jira/browse/KARAF-5909
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.2.1
>Reporter: Scott Leschke
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.2
>
>
> Karaf 4.2.1 won't start as a service (Windows) with Java 10 (and 9 I assume) 
> because the JVM won't start.  Runs fine when started with karaf.bat
> STATUS | wrapper | 2018/09/12 14:20:55 | --> Wrapper Started as Service
> STATUS | wrapper | 2018/09/12 14:20:55 | Launching a JVM...
> INFO | jvm 1 | 2018/09/12 14:20:55 | -Djava.endorsed.dirs=C:\Program is not 
> supported. Endorsed standards and standalone APIs
> INFO | jvm 1 | 2018/09/12 14:20:55 | in modular form will be supported via 
> the concept of upgradeable modules.
> INFO | jvm 1 | 2018/09/12 14:20:55 | Error: Could not create the Java Virtual 
> Machine.
> INFO | jvm 1 | 2018/09/12 14:20:55 | Error: A fatal exception has occurred. 
> Program will exit.
> ERROR | wrapper | 2018/09/12 14:20:55 | JVM exited while loading the 
> application.
> STATUS | wrapper | 2018/09/12 14:21:00 | Launching a JVM...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5909) Starting Karaf 4.2.1 won't start as Windows service

2018-12-11 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KARAF-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718410#comment-16718410
 ] 

ASF subversion and git services commented on KARAF-5909:


Commit 01f58d139c36de9139af149dede1ea0fba703d1d in karaf's branch 
refs/heads/master from [~j...@nanthrax.net]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=01f58d1 ]

[KARAF-5909] Add support of karaf.log and java 11 in wrapper


> Starting Karaf 4.2.1 won't start as Windows service
> ---
>
> Key: KARAF-5909
> URL: https://issues.apache.org/jira/browse/KARAF-5909
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.2.1
>Reporter: Scott Leschke
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.2
>
>
> Karaf 4.2.1 won't start as a service (Windows) with Java 10 (and 9 I assume) 
> because the JVM won't start.  Runs fine when started with karaf.bat
> STATUS | wrapper | 2018/09/12 14:20:55 | --> Wrapper Started as Service
> STATUS | wrapper | 2018/09/12 14:20:55 | Launching a JVM...
> INFO | jvm 1 | 2018/09/12 14:20:55 | -Djava.endorsed.dirs=C:\Program is not 
> supported. Endorsed standards and standalone APIs
> INFO | jvm 1 | 2018/09/12 14:20:55 | in modular form will be supported via 
> the concept of upgradeable modules.
> INFO | jvm 1 | 2018/09/12 14:20:55 | Error: Could not create the Java Virtual 
> Machine.
> INFO | jvm 1 | 2018/09/12 14:20:55 | Error: A fatal exception has occurred. 
> Program will exit.
> ERROR | wrapper | 2018/09/12 14:20:55 | JVM exited while loading the 
> application.
> STATUS | wrapper | 2018/09/12 14:21:00 | Launching a JVM...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5909) Starting Karaf 4.2.1 won't start as Windows service

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/KARAF-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718409#comment-16718409
 ] 

ASF GitHub Bot commented on KARAF-5909:
---

jbonofre closed pull request #695: [KARAF-5909] Add support of karaf.log and 
java 11 in wrapper
URL: https://github.com/apache/karaf/pull/695
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/shell/core/pom.xml b/shell/core/pom.xml
index 577c3bb051..8411f0c92a 100644
--- a/shell/core/pom.xml
+++ b/shell/core/pom.xml
@@ -121,6 +121,18 @@
 
 
 
+
+org.apache.maven.plugins
+maven-jar-plugin
+
+
+
+
true
+
true
+
+
+
+
 
 org.codehaus.mojo
 exec-maven-plugin
diff --git 
a/shell/core/src/main/java/org/apache/karaf/shell/impl/console/standalone/Main.java
 
b/shell/core/src/main/java/org/apache/karaf/shell/impl/console/standalone/Main.java
index ee29c8283e..322b986aea 100644
--- 
a/shell/core/src/main/java/org/apache/karaf/shell/impl/console/standalone/Main.java
+++ 
b/shell/core/src/main/java/org/apache/karaf/shell/impl/console/standalone/Main.java
@@ -52,6 +52,10 @@
 private String user = "karaf";
 
 public static void main(String args[]) throws Exception {
+Package p = 
Package.getPackage("org.apache.karaf.shell.impl.console.standalone");
+if (p != null && p.getImplementationVersion() != null) {
+System.setProperty("karaf.version", p.getImplementationVersion());
+}
 Main main = new Main();
 main.run(args);
 }
diff --git 
a/wrapper/src/main/java/org/apache/karaf/wrapper/internal/WrapperServiceImpl.java
 
b/wrapper/src/main/java/org/apache/karaf/wrapper/internal/WrapperServiceImpl.java
index 8bb764046a..dcb58b5160 100644
--- 
a/wrapper/src/main/java/org/apache/karaf/wrapper/internal/WrapperServiceImpl.java
+++ 
b/wrapper/src/main/java/org/apache/karaf/wrapper/internal/WrapperServiceImpl.java
@@ -61,6 +61,8 @@ public void install() throws Exception {
 props.put("${karaf.base}", base.getPath());
 props.put("${karaf.data}", System.getProperty("karaf.data"));
 props.put("${karaf.etc}", System.getProperty("karaf.etc"));
+props.put("${karaf.log}", System.getProperty("karaf.log"));
+props.put("${karaf.version}", System.getProperty("karaf.version"));
 props.put("${name}", name);
 props.put("${displayName}", displayName);
 props.put("${description}", description);
@@ -80,7 +82,14 @@ public void install() throws Exception {
 serviceFile = new File(bin, name + "-service.bat");
 wrapperConf = new File(etc, name + "-wrapper.conf");
 
-copyFilteredResourceTo(wrapperConf, 
"windows64/karaf-wrapper.conf", props, envs, includes);
+if (!System.getProperty("java.version").startsWith("1.")) {
+// we are on Java > 8 (Java 9, 10, 11, ...)
+copyFilteredResourceTo(wrapperConf, 
"windows64/karaf-wrapper-java11.conf", props, envs, includes);
+} else {
+// we are on Java 8
+copyFilteredResourceTo(wrapperConf, 
"windows64/karaf-wrapper-java8.conf", props, envs, includes);
+}
+
 copyFilteredResourceTo(serviceFile, 
"windows64/karaf-service.bat", props, envs, includes);
 
 mkdir(lib);
@@ -93,7 +102,14 @@ public void install() throws Exception {
 serviceFile = new File(bin, name + "-service.bat");
 wrapperConf = new File(etc, name + "-wrapper.conf");
 
-copyFilteredResourceTo(wrapperConf, 
"windows/karaf-wrapper.conf", props, envs, includes);
+if (!System.getProperty("java.version").startsWith("1.")) {
+// we are on Java > 8 (Java 9, 10, 11, ...)
+copyFilteredResourceTo(wrapperConf, 
"windows/karaf-wrapper-java11.conf", props, envs, includes);
+} else {
+// we are on Java 8
+copyFilteredResourceTo(wrapperConf, 
"windows/karaf-wrapper-java8.conf", props, envs, includes);
+}
+
 copyFilteredResourceTo(serviceFile, 
"windows/karaf-service.bat", props, envs, includes);
 
 mkdir(lib);
@@ -111,7 +127,14 @@ public void install() throws Exception {
 chmod(serviceFile, "a+x");
 
 wrapperConf = new File(etc, name + 

[jira] [Commented] (KARAF-5909) Starting Karaf 4.2.1 won't start as Windows service

2018-12-11 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KARAF-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718411#comment-16718411
 ] 

ASF subversion and git services commented on KARAF-5909:


Commit a99ede8370a782cb2a154f3d99588fb7a1f77f3c in karaf's branch 
refs/heads/master from [~j...@nanthrax.net]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=a99ede8 ]

Merge pull request #695 from jbonofre/KARAF-5909

[KARAF-5909] Add support of karaf.log and java 11 in wrapper

> Starting Karaf 4.2.1 won't start as Windows service
> ---
>
> Key: KARAF-5909
> URL: https://issues.apache.org/jira/browse/KARAF-5909
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.2.1
>Reporter: Scott Leschke
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.2
>
>
> Karaf 4.2.1 won't start as a service (Windows) with Java 10 (and 9 I assume) 
> because the JVM won't start.  Runs fine when started with karaf.bat
> STATUS | wrapper | 2018/09/12 14:20:55 | --> Wrapper Started as Service
> STATUS | wrapper | 2018/09/12 14:20:55 | Launching a JVM...
> INFO | jvm 1 | 2018/09/12 14:20:55 | -Djava.endorsed.dirs=C:\Program is not 
> supported. Endorsed standards and standalone APIs
> INFO | jvm 1 | 2018/09/12 14:20:55 | in modular form will be supported via 
> the concept of upgradeable modules.
> INFO | jvm 1 | 2018/09/12 14:20:55 | Error: Could not create the Java Virtual 
> Machine.
> INFO | jvm 1 | 2018/09/12 14:20:55 | Error: A fatal exception has occurred. 
> Program will exit.
> ERROR | wrapper | 2018/09/12 14:20:55 | JVM exited while loading the 
> application.
> STATUS | wrapper | 2018/09/12 14:21:00 | Launching a JVM...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5909) Starting Karaf 4.2.1 won't start as Windows service

2018-12-11 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KARAF-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718412#comment-16718412
 ] 

ASF subversion and git services commented on KARAF-5909:


Commit a99ede8370a782cb2a154f3d99588fb7a1f77f3c in karaf's branch 
refs/heads/master from [~j...@nanthrax.net]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=a99ede8 ]

Merge pull request #695 from jbonofre/KARAF-5909

[KARAF-5909] Add support of karaf.log and java 11 in wrapper

> Starting Karaf 4.2.1 won't start as Windows service
> ---
>
> Key: KARAF-5909
> URL: https://issues.apache.org/jira/browse/KARAF-5909
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.2.1
>Reporter: Scott Leschke
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.2
>
>
> Karaf 4.2.1 won't start as a service (Windows) with Java 10 (and 9 I assume) 
> because the JVM won't start.  Runs fine when started with karaf.bat
> STATUS | wrapper | 2018/09/12 14:20:55 | --> Wrapper Started as Service
> STATUS | wrapper | 2018/09/12 14:20:55 | Launching a JVM...
> INFO | jvm 1 | 2018/09/12 14:20:55 | -Djava.endorsed.dirs=C:\Program is not 
> supported. Endorsed standards and standalone APIs
> INFO | jvm 1 | 2018/09/12 14:20:55 | in modular form will be supported via 
> the concept of upgradeable modules.
> INFO | jvm 1 | 2018/09/12 14:20:55 | Error: Could not create the Java Virtual 
> Machine.
> INFO | jvm 1 | 2018/09/12 14:20:55 | Error: A fatal exception has occurred. 
> Program will exit.
> ERROR | wrapper | 2018/09/12 14:20:55 | JVM exited while loading the 
> application.
> STATUS | wrapper | 2018/09/12 14:21:00 | Launching a JVM...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Deleted] (KARAF-5782) Check if the kar create plugin recursively include all resources (bundles, configs)

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré deleted KARAF-5782:



> Check if the kar create plugin recursively include all resources (bundles, 
> configs)
> ---
>
> Key: KARAF-5782
> URL: https://issues.apache.org/jira/browse/KARAF-5782
> Project: Karaf
>  Issue Type: Bug
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> When a "closed" feature contains a repository and inner features like:
> {code}
> 
>   foo_repo
>   
> foo
> ...
>   
> 
> {code}
> The resulting kar should contain {{foo_repo}} features XML and all resources 
> (bundles, configs) defined in {{foo}} feature.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Deleted] (KARAF-5855) Package extra is "small" in etc/config.properties

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré deleted KARAF-5855:



> Package extra is "small" in etc/config.properties
> -
>
> Key: KARAF-5855
> URL: https://issues.apache.org/jira/browse/KARAF-5855
> Project: Karaf
>  Issue Type: Bug
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> Karaf 4.1.x defines several extra packages in {{etc/config.properties}},  
> like Xerces for instance.
> It's not the case of Karaf 4.2.x where extra package is small. I would like 
> to double check the loading of extra packages.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5782) Check if the kar create plugin recursively include all resources (bundles, configs)

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5782:


> Check if the kar create plugin recursively include all resources (bundles, 
> configs)
> ---
>
> Key: KARAF-5782
> URL: https://issues.apache.org/jira/browse/KARAF-5782
> Project: Karaf
>  Issue Type: Bug
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> When a "closed" feature contains a repository and inner features like:
> {code}
> 
>   foo_repo
>   
> foo
> ...
>   
> 
> {code}
> The resulting kar should contain {{foo_repo}} features XML and all resources 
> (bundles, configs) defined in {{foo}} feature.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5875) JpaExampleTest is flacky

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5875:

Labels: jenkins test  (was: )

> JpaExampleTest is flacky
> 
>
> Key: KARAF-5875
> URL: https://issues.apache.org/jira/browse/KARAF-5875
> Project: Karaf
>  Issue Type: Test
>  Components: karaf
>Affects Versions: 4.2.1
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>  Labels: jenkins, test
> Fix For: 4.2.3
>
>
> {{JpaExampleTest}} sometimes fails with:
> {code}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 40.928 s <<< FAILURE! - in org.apache.karaf.itests.examples.JpaExampleTest
> [ERROR] test(org.apache.karaf.itests.examples.JpaExampleTest)  Time elapsed: 
> 35.118 s  <<< FAILURE!
> java.lang.AssertionError:
> Should contain 'AF520' but was : ID │ Flight │ Customer
> ───┼┼─
> at 
> org.apache.karaf.itests.examples.JpaExampleTest.testCommand(JpaExampleTest.java:74)
> at 
> org.apache.karaf.itests.examples.JpaExampleTest.test(JpaExampleTest.java:49)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures: 
> [ERROR]   
> JpaExampleTest.test:49->testCommand:74->KarafTestSupport.assertContains:652 
> Should contain 'AF520' but was : ID │ Flight │ Customer
> ───┼┼─
> [INFO]
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> {code}
> That's probably a race condition in the commands chain. I will fix that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5875) JpaExampleTest is flacky

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5875:

Fix Version/s: (was: 4.2.2)
   4.2.3

> JpaExampleTest is flacky
> 
>
> Key: KARAF-5875
> URL: https://issues.apache.org/jira/browse/KARAF-5875
> Project: Karaf
>  Issue Type: Test
>  Components: karaf
>Affects Versions: 4.2.1
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>  Labels: jenkins, test
> Fix For: 4.2.3
>
>
> {{JpaExampleTest}} sometimes fails with:
> {code}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 40.928 s <<< FAILURE! - in org.apache.karaf.itests.examples.JpaExampleTest
> [ERROR] test(org.apache.karaf.itests.examples.JpaExampleTest)  Time elapsed: 
> 35.118 s  <<< FAILURE!
> java.lang.AssertionError:
> Should contain 'AF520' but was : ID │ Flight │ Customer
> ───┼┼─
> at 
> org.apache.karaf.itests.examples.JpaExampleTest.testCommand(JpaExampleTest.java:74)
> at 
> org.apache.karaf.itests.examples.JpaExampleTest.test(JpaExampleTest.java:49)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures: 
> [ERROR]   
> JpaExampleTest.test:49->testCommand:74->KarafTestSupport.assertContains:652 
> Should contain 'AF520' but was : ID │ Flight │ Customer
> ───┼┼─
> [INFO]
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> {code}
> That's probably a race condition in the commands chain. I will fix that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5874) ConfigManagedServiceFactoryTest is flaky

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5874:

Fix Version/s: (was: 4.2.2)
   4.2.3

> ConfigManagedServiceFactoryTest is flaky
> 
>
> Key: KARAF-5874
> URL: https://issues.apache.org/jira/browse/KARAF-5874
> Project: Karaf
>  Issue Type: Test
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>  Labels: jenkins, test
> Fix For: 4.2.3
>
>
> There's a race condition on {{ConfigManagedServiceFactoryTest}}. I will do 
> the same fix as I did in security test.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5874) ConfigManagedServiceFactoryTest is flaky

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5874:

Labels: jenkins test  (was: )

> ConfigManagedServiceFactoryTest is flaky
> 
>
> Key: KARAF-5874
> URL: https://issues.apache.org/jira/browse/KARAF-5874
> Project: Karaf
>  Issue Type: Test
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>  Labels: jenkins, test
> Fix For: 4.2.3
>
>
> There's a race condition on {{ConfigManagedServiceFactoryTest}}. I will do 
> the same fix as I did in security test.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5772) HTTP proxy should be able to support several addresses with round-robin

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5772:

Fix Version/s: (was: 4.2.2)
   4.2.3

> HTTP proxy should be able to support several addresses with round-robin
> ---
>
> Key: KARAF-5772
> URL: https://issues.apache.org/jira/browse/KARAF-5772
> Project: Karaf
>  Issue Type: Improvement
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>  Labels: http, proxy
> Fix For: 4.2.3
>
>
> The Karaf HTTP proxy servlet should be able to round-robin or random pick up 
> a target destination if several are provided.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5823) Upgrade to sshd 2.1.0

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5823:

Fix Version/s: (was: 4.2.2)
   4.3.0

> Upgrade to sshd 2.1.0
> -
>
> Key: KARAF-5823
> URL: https://issues.apache.org/jira/browse/KARAF-5823
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>  Labels: shell, sshd
> Fix For: 4.3.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5876) Examples path too long when extracting zip on Windows

2018-12-11 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5876:

Fix Version/s: (was: 4.2.2)
   4.2.3

> Examples path too long when extracting zip on Windows
> -
>
> Key: KARAF-5876
> URL: https://issues.apache.org/jira/browse/KARAF-5876
> Project: Karaf
>  Issue Type: Task
>  Components: karaf
>Affects Versions: 4.2.1
>Reporter: Francois Papon
>Assignee: Francois Papon
>Priority: Minor
> Fix For: 4.2.3
>
>
> When unpacking the zip on windows, a warning of path too long for 
> BookingServiceImpl.java appear.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)