[jira] [Commented] (KARAF-5808) bundle:install mvn: with range crashes immediately

2018-08-16 Thread JIRA


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

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

By the way, tested on 4.2.1-SNAPSHOT.

> bundle:install mvn: with range crashes immediately
> --
>
> Key: KARAF-5808
> URL: https://issues.apache.org/jira/browse/KARAF-5808
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0
> Environment: Win 7
> Java 8
>Reporter: Volker Althaus
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> When trying to install a bundle with mvn protocol and a range, the console 
> (karaf, client and SSH) crashes/shuts down immediately without any exception.
> It doesn't matter if an appropriate bundle within the range is available, the 
> error does always occour.
> Simple example:
> $ bunde:install mvn:foo/bar/[1,2)



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


[jira] [Commented] (KARAF-5808) bundle:install mvn: with range crashes immediately

2018-08-16 Thread JIRA


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

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

You have to escape the special characters or quote the URL. For instance:

{code}
bundle:install "mvn:commons-lang/commons-lang/[2,3)"
{code}

I tested it successfully on Unix. Let me try on Windows VM.

> bundle:install mvn: with range crashes immediately
> --
>
> Key: KARAF-5808
> URL: https://issues.apache.org/jira/browse/KARAF-5808
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0
> Environment: Win 7
> Java 8
>Reporter: Volker Althaus
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> When trying to install a bundle with mvn protocol and a range, the console 
> (karaf, client and SSH) crashes/shuts down immediately without any exception.
> It doesn't matter if an appropriate bundle within the range is available, the 
> error does always occour.
> Simple example:
> $ bunde:install mvn:foo/bar/[1,2)



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


[jira] [Commented] (KARAF-5871) Upgrade to ASM 6.2.1

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5871:


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

Merge pull request #595 from jbonofre/KARAF-5871

[KARAF-5871] Upgrade to ASM 6.2.1

> Upgrade to ASM 6.2.1
> 
>
> Key: KARAF-5871
> URL: https://issues.apache.org/jira/browse/KARAF-5871
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-core
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5871) Upgrade to ASM 6.2.1

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5871:


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

[KARAF-5871] Upgrade to ASM 6.2.1


> Upgrade to ASM 6.2.1
> 
>
> Key: KARAF-5871
> URL: https://issues.apache.org/jira/browse/KARAF-5871
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-core
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5871) Upgrade to ASM 6.2.1

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5871:


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

Merge pull request #595 from jbonofre/KARAF-5871

[KARAF-5871] Upgrade to ASM 6.2.1

> Upgrade to ASM 6.2.1
> 
>
> Key: KARAF-5871
> URL: https://issues.apache.org/jira/browse/KARAF-5871
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-core
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5871) Upgrade to ASM 6.2.1

2018-08-16 Thread ASF GitHub Bot (JIRA)


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

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

jbonofre closed pull request #595: [KARAF-5871] Upgrade to ASM 6.2.1
URL: https://github.com/apache/karaf/pull/595
 
 
   

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 5c7e69ba74..e793f686ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -146,7 +146,7 @@
 1.7.4_1
 1.9.7_1
 2.7.7_5
-6.2
+6.2.1
 1.2
 3.1.1
 3.2.4_1


 


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 ASM 6.2.1
> 
>
> Key: KARAF-5871
> URL: https://issues.apache.org/jira/browse/KARAF-5871
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-core
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Resolved] (KARAF-5871) Upgrade to ASM 6.2.1

2018-08-16 Thread JIRA


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

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

> Upgrade to ASM 6.2.1
> 
>
> Key: KARAF-5871
> URL: https://issues.apache.org/jira/browse/KARAF-5871
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-core
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5503) serviceUrl in org.apache.karaf.management.cfg should not be interpolated and should use the properties

2018-08-16 Thread Martin Lichtin (JIRA)


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

Martin Lichtin commented on KARAF-5503:
---

Just FYI, this is an issue for 4.0.10.
 The "serviceUrl" gets resolved initially (replacing the port and host 
placeholders) and then persisted.

> serviceUrl in org.apache.karaf.management.cfg should not be interpolated and 
> should use the properties
> --
>
> Key: KARAF-5503
> URL: https://issues.apache.org/jira/browse/KARAF-5503
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-core, karaf-management
>Affects Versions: 4.1.2
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Resolved] (KARAF-5867) Provide openjpa 3.0.0 support

2018-08-16 Thread JIRA


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

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

> Provide openjpa 3.0.0 support
> -
>
> Key: KARAF-5867
> URL: https://issues.apache.org/jira/browse/KARAF-5867
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> OpenJPA 3.0.0 now supports JPA 2.2 and natively provides Karaf features:
> http://repo.maven.apache.org/maven2/org/apache/openjpa/openjpa-features/3.0.0/
> To give visibility for users and convenient way of installing OpenJPA, it 
> makes sense to reference openjpa feature in Karaf enterprise feature and also 
> update examples/itests to use it.



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


[jira] [Commented] (KARAF-5867) Provide openjpa 3.0.0 support

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5867:


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

Merge pull request #597 from jbonofre/KARAF-5867

[KARAF-5867] Add openjpa3 feature

> Provide openjpa 3.0.0 support
> -
>
> Key: KARAF-5867
> URL: https://issues.apache.org/jira/browse/KARAF-5867
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> OpenJPA 3.0.0 now supports JPA 2.2 and natively provides Karaf features:
> http://repo.maven.apache.org/maven2/org/apache/openjpa/openjpa-features/3.0.0/
> To give visibility for users and convenient way of installing OpenJPA, it 
> makes sense to reference openjpa feature in Karaf enterprise feature and also 
> update examples/itests to use it.



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


[jira] [Commented] (KARAF-5867) Provide openjpa 3.0.0 support

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5867:


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

Merge pull request #597 from jbonofre/KARAF-5867

[KARAF-5867] Add openjpa3 feature

> Provide openjpa 3.0.0 support
> -
>
> Key: KARAF-5867
> URL: https://issues.apache.org/jira/browse/KARAF-5867
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> OpenJPA 3.0.0 now supports JPA 2.2 and natively provides Karaf features:
> http://repo.maven.apache.org/maven2/org/apache/openjpa/openjpa-features/3.0.0/
> To give visibility for users and convenient way of installing OpenJPA, it 
> makes sense to reference openjpa feature in Karaf enterprise feature and also 
> update examples/itests to use it.



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


[jira] [Commented] (KARAF-5867) Provide openjpa 3.0.0 support

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5867:


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

[KARAF-5867] Add openjpa3 feature


> Provide openjpa 3.0.0 support
> -
>
> Key: KARAF-5867
> URL: https://issues.apache.org/jira/browse/KARAF-5867
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> OpenJPA 3.0.0 now supports JPA 2.2 and natively provides Karaf features:
> http://repo.maven.apache.org/maven2/org/apache/openjpa/openjpa-features/3.0.0/
> To give visibility for users and convenient way of installing OpenJPA, it 
> makes sense to reference openjpa feature in Karaf enterprise feature and also 
> update examples/itests to use it.



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


[jira] [Resolved] (KARAF-5870) Upgrade to Hibernate Validator 6.0.12.Final

2018-08-16 Thread JIRA


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

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

> Upgrade to Hibernate Validator 6.0.12.Final
> ---
>
> Key: KARAF-5870
> URL: https://issues.apache.org/jira/browse/KARAF-5870
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5870) Upgrade to Hibernate Validator 6.0.12.Final

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5870:


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

[KARAF-5870] Upgrade to Hibernate Validator 6.0.12.Final


> Upgrade to Hibernate Validator 6.0.12.Final
> ---
>
> Key: KARAF-5870
> URL: https://issues.apache.org/jira/browse/KARAF-5870
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5872) Upgrade to Spring 5.0.8.RELEASE

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5872:


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

[KARAF-5872] Upgrade to Spring 5.0.8.RELEASE


> Upgrade to Spring 5.0.8.RELEASE
> ---
>
> Key: KARAF-5872
> URL: https://issues.apache.org/jira/browse/KARAF-5872
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5867) Provide openjpa 3.0.0 support

2018-08-16 Thread ASF GitHub Bot (JIRA)


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

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

jbonofre closed pull request #597: [KARAF-5867] Add openjpa3 feature
URL: https://github.com/apache/karaf/pull/597
 
 
   

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/assemblies/features/enterprise-legacy/src/main/feature/feature.xml 
b/assemblies/features/enterprise-legacy/src/main/feature/feature.xml
index 56e6312ad0..58fe37d03b 100644
--- a/assemblies/features/enterprise-legacy/src/main/feature/feature.xml
+++ b/assemblies/features/enterprise-legacy/src/main/feature/feature.xml
@@ -90,6 +90,28 @@
 
 
 
+
+Enable Apache OpenJPA as persistence engine.
+jndi
+transaction-api
+mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${geronimo.jpa-spec.version}
+mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1
+mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.2
+mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1
+mvn:commons-lang/commons-lang/${commons-lang.version}
+mvn:commons-collections/commons-collections/${commons-collections.version}
+mvn:commons-pool/commons-pool/${commons-pool.version}
+mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/${commons-dbcp.version}
+mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_6
+mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp/${serp.bundle.version}
+mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/${geronimo.jms-spec.version}
+mvn:org.apache.xbean/xbean-asm5-shaded/4.3
+mvn:org.apache.openjpa/openjpa/2.4.2
+
+
osgi.service;objectClass=javax.persistence.spi.PersistenceProvider;effective:=active;javax.persistence.provider=org.apache.openjpa.persistence.PersistenceProviderImpl
+
+
+
 
 Enable Hibernate 4.2.x as persistence engine.
mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${geronimo.jpa-spec.version}
diff --git a/assemblies/features/enterprise/src/main/feature/feature.xml 
b/assemblies/features/enterprise/src/main/feature/feature.xml
index 048af06ae6..ea12683491 100644
--- a/assemblies/features/enterprise/src/main/feature/feature.xml
+++ b/assemblies/features/enterprise/src/main/feature/feature.xml
@@ -28,6 +28,7 @@
 
mvn:org.ops4j.pax.transx/pax-transx-features/${pax.transx.version}/xml/features
 
mvn:org.apache.karaf.features/standard/${project.version}/xml/features
 
mvn:org.apache.aries.jpa/jpa-features/${aries.jpa.version}/xml/features
+
mvn:org.apache.openjpa/openjpa-features/${openjpa.version}/xml/features
 
 
 mvn:javax.interceptor/javax.interceptor-api/1.2
@@ -160,23 +161,9 @@ com.atomikos.icatch.log_base_dir=${karaf.data}/atomikos
 
mvn:org.apache.geronimo.components/geronimo-connector/3.1.1
 
 
-
-Enable Apache OpenJPA as persistence engine.
-jndi
-transaction-api
-   mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${geronimo.jpa-spec.version}
-mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1
-mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.2
-mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1
-mvn:commons-lang/commons-lang/${commons-lang.version}
-mvn:commons-collections/commons-collections/${commons-collections.version}
-mvn:commons-pool/commons-pool/${commons-pool.version}
-mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/${commons-dbcp.version}
-mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_6
-mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp/${serp.bundle.version}
-mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/${geronimo.jms-spec.version}
-mvn:org.apache.xbean/xbean-asm5-shaded/4.3
-mvn:org.apache.openjpa/openjpa/2.4.2
+
+mvn:org.apache.xbean/xbean-asm6-shaded/4.9
+openjpa
 
 
osgi.service;objectClass=javax.persistence.spi.PersistenceProvider;effective:=active;javax.persistence.provider=org.apache.openjpa.persistence.PersistenceProviderImpl
 
diff --git 
a/itests/test/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
 
b/itests/test/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
index 84c5e493ca..be254149bf 100644
--- 

[jira] [Commented] (KARAF-5872) Upgrade to Spring 5.0.8.RELEASE

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5872:


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

Merge pull request #596 from jbonofre/KARAF-5872

[KARAF-5872] Upgrade to Spring 5.0.8.RELEASE

> Upgrade to Spring 5.0.8.RELEASE
> ---
>
> Key: KARAF-5872
> URL: https://issues.apache.org/jira/browse/KARAF-5872
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5870) Upgrade to Hibernate Validator 6.0.12.Final

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5870:


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

Merge pull request #594 from jbonofre/KARAF-5870

[KARAF-5870] Upgrade to Hibernate Validator 6.0.12.Final

> Upgrade to Hibernate Validator 6.0.12.Final
> ---
>
> Key: KARAF-5870
> URL: https://issues.apache.org/jira/browse/KARAF-5870
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5870) Upgrade to Hibernate Validator 6.0.12.Final

2018-08-16 Thread ASF GitHub Bot (JIRA)


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

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

jbonofre closed pull request #594: [KARAF-5870] Upgrade to Hibernate Validator 
6.0.12.Final
URL: https://github.com/apache/karaf/pull/594
 
 
   

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 5c7e69ba74..7212c771bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -257,7 +257,7 @@
 4.2.15.Final
 4.3.6.Final
 5.2.9.Final
-6.0.11.Final
+6.0.12.Final
 1.17.1
 3.9.0.GA
 9.4.11.v20180605


 


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 Hibernate Validator 6.0.12.Final
> ---
>
> Key: KARAF-5870
> URL: https://issues.apache.org/jira/browse/KARAF-5870
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5872) Upgrade to Spring 5.0.8.RELEASE

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5872:


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

Merge pull request #596 from jbonofre/KARAF-5872

[KARAF-5872] Upgrade to Spring 5.0.8.RELEASE

> Upgrade to Spring 5.0.8.RELEASE
> ---
>
> Key: KARAF-5872
> URL: https://issues.apache.org/jira/browse/KARAF-5872
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5872) Upgrade to Spring 5.0.8.RELEASE

2018-08-16 Thread ASF GitHub Bot (JIRA)


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

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

jbonofre closed pull request #596: [KARAF-5872] Upgrade to Spring 5.0.8.RELEASE
URL: https://github.com/apache/karaf/pull/596
 
 
   

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 5c7e69ba74..7325fc3eba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -295,7 +295,7 @@
 4.1.9.RELEASE_1
 4.2.9.RELEASE_1
 4.3.18.RELEASE_1
-5.0.7.RELEASE_1
+5.0.8.RELEASE_1
 3.1.4.RELEASE
 4.2.4.RELEASE_1
 


 


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 Spring 5.0.8.RELEASE
> ---
>
> Key: KARAF-5872
> URL: https://issues.apache.org/jira/browse/KARAF-5872
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5870) Upgrade to Hibernate Validator 6.0.12.Final

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5870:


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

Merge pull request #594 from jbonofre/KARAF-5870

[KARAF-5870] Upgrade to Hibernate Validator 6.0.12.Final

> Upgrade to Hibernate Validator 6.0.12.Final
> ---
>
> Key: KARAF-5870
> URL: https://issues.apache.org/jira/browse/KARAF-5870
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Resolved] (KARAF-5872) Upgrade to Spring 5.0.8.RELEASE

2018-08-16 Thread JIRA


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

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

> Upgrade to Spring 5.0.8.RELEASE
> ---
>
> Key: KARAF-5872
> URL: https://issues.apache.org/jira/browse/KARAF-5872
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5869) Upgrade to awaitility 3.1.2

2018-08-16 Thread ASF GitHub Bot (JIRA)


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

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

jbonofre closed pull request #593: [KARAF-5869] Upgrade to awaitility 3.1.2
URL: https://github.com/apache/karaf/pull/593
 
 
   

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 5c7e69ba74..8253ba0f38 100644
--- a/pom.xml
+++ b/pom.xml
@@ -148,7 +148,7 @@
 2.7.7_5
 6.2
 1.2
-3.1.1
+3.1.2
 3.2.4_1
 2.2.0
 


 


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 awaitility 3.1.2
> ---
>
> Key: KARAF-5869
> URL: https://issues.apache.org/jira/browse/KARAF-5869
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5869) Upgrade to awaitility 3.1.2

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5869:


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

Merge pull request #593 from jbonofre/KARAF-5869

[KARAF-5869] Upgrade to awaitility 3.1.2

> Upgrade to awaitility 3.1.2
> ---
>
> Key: KARAF-5869
> URL: https://issues.apache.org/jira/browse/KARAF-5869
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5869) Upgrade to awaitility 3.1.2

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5869:


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

[KARAF-5869] Upgrade to awaitility 3.1.2


> Upgrade to awaitility 3.1.2
> ---
>
> Key: KARAF-5869
> URL: https://issues.apache.org/jira/browse/KARAF-5869
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5869) Upgrade to awaitility 3.1.2

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5869:


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

Merge pull request #593 from jbonofre/KARAF-5869

[KARAF-5869] Upgrade to awaitility 3.1.2

> Upgrade to awaitility 3.1.2
> ---
>
> Key: KARAF-5869
> URL: https://issues.apache.org/jira/browse/KARAF-5869
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Resolved] (KARAF-5869) Upgrade to awaitility 3.1.2

2018-08-16 Thread JIRA


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

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

> Upgrade to awaitility 3.1.2
> ---
>
> Key: KARAF-5869
> URL: https://issues.apache.org/jira/browse/KARAF-5869
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




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


[jira] [Commented] (KARAF-5845) JMXSecurityTest.testJMXSecurityAsManager is flaky

2018-08-16 Thread JIRA


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

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

It seems to be a race condition with ConfigAdmin. I'm investigating.

> JMXSecurityTest.testJMXSecurityAsManager is flaky
> -
>
> Key: KARAF-5845
> URL: https://issues.apache.org/jira/browse/KARAF-5845
> Project: Karaf
>  Issue Type: Test
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> {{JMXSecurityTest.testJMXSecurityAsManager}} randomly fails on Jenkins:
> {code}
> java.lang.AssertionError: expected: but was:
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:356)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:337)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testJMXSecurityAsManager(JMXSecurityTest.java:164)
> {code}



--
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-08-16 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:

Fix Version/s: (was: 4.2.1)
   4.2.2

> 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
>  Components: karaf-tooling
>Affects Versions: 4.2.0
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.2
>
>
> 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-5731) karaf.maven.plugin assembly fails to find feature that is present and previously loaded

2018-08-16 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5731:

Fix Version/s: (was: 4.2.1)
   4.2.2

> karaf.maven.plugin assembly fails to find feature that is present and 
> previously loaded
> ---
>
> Key: KARAF-5731
> URL: https://issues.apache.org/jira/browse/KARAF-5731
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-build
>Affects Versions: 4.2.0
>Reporter: Steve Chapman
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Fix For: 4.2.2
>
> Attachments: builderror.txt, debugbuilderror.txt, pom.xml, pom.xml
>
>
> Following the karaf manual to create a custom karaf distribution with camel 
> pre-installed. I have followed the documented custom distribution example 
> here [https://karaf.apache.org/manual/latest/#_custom_distributions] simply 
> replacing spring/4.2.0 with camel/2.20.3. But the build fails with error 
> "could not find matching feature for spring/[4.1,5) even though spring 
> feature at version 4.2.0 is present.
> When I change the pom to add spring/4.2.0 and not camel/2.20.3 it builds 
> without errors.
> I have tried all types of variations with spring and camel levels older and 
> newer and also with leaving both spring and camel features in the build 
> together.
> pom.xml attached.
> builderror.txt is console output for a non debug 'mvn install'
> debugbuilderror.txt is console output for a 'mvn clean install' with debug.



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


[jira] [Resolved] (KARAF-5808) bundle:install mvn: with range crashes immediately

2018-08-16 Thread JIRA


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

Jean-Baptiste Onofré resolved KARAF-5808.
-
   Resolution: Cannot Reproduce
Fix Version/s: (was: 4.2.1)

I don't reproduce the issue using " in on the URL. Please reopen if you still 
have the issue even using ".

> bundle:install mvn: with range crashes immediately
> --
>
> Key: KARAF-5808
> URL: https://issues.apache.org/jira/browse/KARAF-5808
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0
> Environment: Win 7
> Java 8
>Reporter: Volker Althaus
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> When trying to install a bundle with mvn protocol and a range, the console 
> (karaf, client and SSH) crashes/shuts down immediately without any exception.
> It doesn't matter if an appropriate bundle within the range is available, the 
> error does always occour.
> Simple example:
> $ bunde:install mvn:foo/bar/[1,2)



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


[jira] [Updated] (KARAF-5848) SshServer does not start after installing bouncycastle provider

2018-08-16 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5848:

Fix Version/s: (was: 4.2.1)
   4.2.2

> SshServer does not start after installing bouncycastle provider
> ---
>
> Key: KARAF-5848
> URL: https://issues.apache.org/jira/browse/KARAF-5848
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.1.5
>Reporter: Anton Ram
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.2, 4.1.7
>
>
> After adding to lib/ext bouncycastle provider library, clean karaf starts 
> without ssh server.
> Log :
> {code:java}
> INFO: Lock acquired. Setting startlevel to 100
> 2018-07-23T15:59:59,540 | INFO | FelixStartLevel | BlueprintExtender | 13 - 
> org.apache.aries.blueprint.core - 1.8.3 | No quiesce support is available, so 
> blueprint components will not participate in quiesce operations
> 2018-07-23T15:59:59,830 | INFO | FelixStartLevel | core | 17 - 
> org.apache.aries.jmx.core - 1.1.7 | Starting JMX OSGi agent
> 2018-07-23T15:59:59,842 | INFO | FelixStartLevel | core | 17 - 
> org.apache.aries.jmx.core - 1.1.7 | Registering MBean with ObjectName 
> [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=c58dc478-d1a3-4dca-8909-32335286c7fe]
>  for service with service.id [15]
> 2018-07-23T15:59:59,956 | INFO | pool-14-thread-1 | core | 17 - 
> org.apache.aries.jmx.core - 1.1.7 | Registering 
> org.osgi.jmx.framework.BundleStateMBean to MBeanServer 
> com.sun.jmx.mbeanserver.JmxMBeanServer@4c75cab9 with name 
> osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=c58dc478-d1a3-4dca-8909-32335286c7fe
> 2018-07-23T15:59:59,959 | INFO | pool-14-thread-1 | core | 17 - 
> org.apache.aries.jmx.core - 1.1.7 | Registering 
> org.osgi.jmx.framework.FrameworkMBean to MBeanServer 
> com.sun.jmx.mbeanserver.JmxMBeanServer@4c75cab9 with name 
> osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=c58dc478-d1a3-4dca-8909-32335286c7fe
> 2018-07-23T15:59:59,959 | INFO | pool-14-thread-1 | core | 17 - 
> org.apache.aries.jmx.core - 1.1.7 | Registering 
> org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer 
> com.sun.jmx.mbeanserver.JmxMBeanServer@4c75cab9 with name 
> osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=c58dc478-d1a3-4dca-8909-32335286c7fe
> 2018-07-23T15:59:59,959 | INFO | pool-14-thread-1 | core | 17 - 
> org.apache.aries.jmx.core - 1.1.7 | Registering 
> org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer 
> com.sun.jmx.mbeanserver.JmxMBeanServer@4c75cab9 with name 
> osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=c58dc478-d1a3-4dca-8909-32335286c7fe
> 2018-07-23T15:59:59,960 | INFO | pool-14-thread-1 | core | 17 - 
> org.apache.aries.jmx.core - 1.1.7 | Registering 
> org.osgi.jmx.framework.ServiceStateMBean to MBeanServer 
> com.sun.jmx.mbeanserver.JmxMBeanServer@4c75cab9 with name 
> osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=c58dc478-d1a3-4dca-8909-32335286c7fe
> 2018-07-23T15:59:59,961 | INFO | pool-14-thread-1 | core | 17 - 
> org.apache.aries.jmx.core - 1.1.7 | Registering 
> org.osgi.jmx.framework.PackageStateMBean to MBeanServer 
> com.sun.jmx.mbeanserver.JmxMBeanServer@4c75cab9 with name 
> osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=c58dc478-d1a3-4dca-8909-32335286c7fe
> 2018-07-23T16:00:00,004 | INFO | FelixStartLevel | CommandExtension | 43 - 
> org.apache.karaf.shell.core - 4.1.5 | Registering commands for bundle 
> org.apache.karaf.bundle.core/4.1.5
> 2018-07-23T16:00:00,016 | INFO | FelixStartLevel | CommandExtension | 43 - 
> org.apache.karaf.shell.core - 4.1.5 | Registering commands for bundle 
> org.apache.karaf.config.core/4.1.5
> 2018-07-23T16:00:00,040 | INFO | FelixStartLevel | CommandExtension | 43 - 
> org.apache.karaf.shell.core - 4.1.5 | Registering commands for bundle 
> org.apache.karaf.deployer.kar/4.1.5
> 2018-07-23T16:00:00,041 | INFO | FelixStartLevel | CommandExtension | 43 - 
> org.apache.karaf.shell.core - 4.1.5 | Registering commands for bundle 
> org.apache.karaf.diagnostic.core/4.1.5
> 2018-07-23T16:00:00,054 | INFO | FelixStartLevel | CommandExtension | 43 - 
> org.apache.karaf.shell.core - 4.1.5 | Registering commands for bundle 
> org.apache.karaf.features.command/4.1.5
> 2018-07-23T16:00:00,065 | INFO | FelixStartLevel | CommandExtension | 43 - 
> org.apache.karaf.shell.core - 4.1.5 | Registering commands for bundle 
> org.apache.karaf.instance.core/4.1.5
> 2018-07-23T16:00:00,077 | INFO | FelixStartLevel | CommandExtension | 43 - 
> 

[jira] [Resolved] (KARAF-5843) Programmatically Created Configs are not persisted in `karaf.etc`

2018-08-16 Thread JIRA


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

Jean-Baptiste Onofré resolved KARAF-5843.
-
   Resolution: Not A Problem
Fix Version/s: (was: 4.1.7)
   (was: 4.2.1)

That's the expected behavior.

If you use {{ConfigAdmin}} only, the {{Configuration}} is stored in memory and 
in the framework cache. If you want to store the configuration in the 
{{karaf.etc}}, than you have to use Karaf Config {{ConfigRepository}} service.

So you have to do something like:

{code}

{code}

Then, you use the {{ConfigRepository}} service like:

{code}
configRepository.update("my.pid", props);
{code}

The {{ConfigRepository}} service is dedicated to manipulating the config in 
{{karaf.etc}}.

> Programmatically Created Configs are not persisted in `karaf.etc`
> -
>
> Key: KARAF-5843
> URL: https://issues.apache.org/jira/browse/KARAF-5843
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-config
>Affects Versions: 4.1.5
>Reporter: Cetra Free
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> When using OSGi's ConfigurationAdmin via a blueprint bean, it doesn't save 
> the configuration in the `etc` directory if the file doesn't exist before 
> calling {{update(props)}}. 
> Rather it saves it in the file cache.
> I.e, if I update a config of `com.example.config` I'd expect that to be 
> persisted in the following location:
> {code:java}
> etc/com.example.config.cfg
> {code}
> Instead, I see it in this location:
> {code:java}
> data/cache/bundle8/data/config/com/example/config.config
> {code}
> If the file exists in the location beforehand, this appears to work OK.
> Example blueprint:
> {code:xml}
>  interface="org.osgi.service.cm.ConfigurationAdmin"/>
> 
> 
> 
> {code}
> Example Java Class:
> {code:java}
> import org.osgi.service.cm.Configuration;
> import org.osgi.service.cm.ConfigurationAdmin;
> import java.io.IOException;
> import java.util.Dictionary;
> import java.util.Hashtable;
> public class PersistCheck {
> public ConfigurationAdmin getConfigurationAdmin() {
> return configurationAdmin;
> }
> public void setConfigurationAdmin(ConfigurationAdmin configurationAdmin) {
> this.configurationAdmin = configurationAdmin;
> }
> ConfigurationAdmin configurationAdmin;
> public void init() throws IOException {
> Configuration configuration = 
> configurationAdmin.getConfiguration("com.example.config", "?");
> Dictionary props = new Hashtable<>();
> configuration.update(props);
> }
> }
> {code}



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


[jira] [Commented] (KARAF-5845) JMXSecurityTest.testJMXSecurityAsManager is flaky

2018-08-16 Thread ASF GitHub Bot (JIRA)


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

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

jbonofre closed pull request #598: [KARAF-5845] Avoid race condition in 
JMXSecurityTest
URL: https://github.com/apache/karaf/pull/598
 
 
   

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/itests/test/src/test/java/org/apache/karaf/itests/JMXSecurityTest.java 
b/itests/test/src/test/java/org/apache/karaf/itests/JMXSecurityTest.java
index 5a5a0add5a..ee7630e538 100644
--- a/itests/test/src/test/java/org/apache/karaf/itests/JMXSecurityTest.java
+++ b/itests/test/src/test/java/org/apache/karaf/itests/JMXSecurityTest.java
@@ -368,6 +368,12 @@ private void 
testKarafConfigAdminMBean(MBeanServerConnection connection, String
 newProps.put("d.e.f", "def");
 assertJmxInvoke(shouldSucceed, connection, mbean, "update", new Object 
[] {pid, newProps}, new String [] {String.class.getName(), 
Map.class.getName()});
 assertJmxInvoke(shouldSucceed, connection, mbean, "deleteProperty", 
new Object [] {pid, "d.e.f"}, new String [] {String.class.getName(), 
String.class.getName()});
+// just put some delay to avoid KARAF-5845
+try {
+Thread.sleep(3000);
+} catch (Throwable t) {
+// nothing to do
+}
 Map m3 = (Map) connection.invoke(mbean, "listProperties", 
new Object [] {pid}, new String [] {String.class.getName()});
 if (shouldSucceed) {
 assertEquals("abc", m3.get("a.b.c"));


 


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


> JMXSecurityTest.testJMXSecurityAsManager is flaky
> -
>
> Key: KARAF-5845
> URL: https://issues.apache.org/jira/browse/KARAF-5845
> Project: Karaf
>  Issue Type: Test
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> {{JMXSecurityTest.testJMXSecurityAsManager}} randomly fails on Jenkins:
> {code}
> java.lang.AssertionError: expected: but was:
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:356)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:337)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testJMXSecurityAsManager(JMXSecurityTest.java:164)
> {code}



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


[jira] [Resolved] (KARAF-5845) JMXSecurityTest.testJMXSecurityAsManager is flaky

2018-08-16 Thread JIRA


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

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

> JMXSecurityTest.testJMXSecurityAsManager is flaky
> -
>
> Key: KARAF-5845
> URL: https://issues.apache.org/jira/browse/KARAF-5845
> Project: Karaf
>  Issue Type: Test
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> {{JMXSecurityTest.testJMXSecurityAsManager}} randomly fails on Jenkins:
> {code}
> java.lang.AssertionError: expected: but was:
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:356)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:337)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testJMXSecurityAsManager(JMXSecurityTest.java:164)
> {code}



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


[jira] [Commented] (KARAF-5845) JMXSecurityTest.testJMXSecurityAsManager is flaky

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5845:


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

Merge pull request #598 from jbonofre/KARAF-5845

[KARAF-5845] Avoid race condition in JMXSecurityTest

> JMXSecurityTest.testJMXSecurityAsManager is flaky
> -
>
> Key: KARAF-5845
> URL: https://issues.apache.org/jira/browse/KARAF-5845
> Project: Karaf
>  Issue Type: Test
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> {{JMXSecurityTest.testJMXSecurityAsManager}} randomly fails on Jenkins:
> {code}
> java.lang.AssertionError: expected: but was:
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:356)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:337)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testJMXSecurityAsManager(JMXSecurityTest.java:164)
> {code}



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


[jira] [Commented] (KARAF-5845) JMXSecurityTest.testJMXSecurityAsManager is flaky

2018-08-16 Thread ASF GitHub Bot (JIRA)


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

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

jbonofre opened a new pull request #598: [KARAF-5845] Avoid race condition in 
JMXSecurityTest
URL: https://github.com/apache/karaf/pull/598
 
 
   


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


> JMXSecurityTest.testJMXSecurityAsManager is flaky
> -
>
> Key: KARAF-5845
> URL: https://issues.apache.org/jira/browse/KARAF-5845
> Project: Karaf
>  Issue Type: Test
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> {{JMXSecurityTest.testJMXSecurityAsManager}} randomly fails on Jenkins:
> {code}
> java.lang.AssertionError: expected: but was:
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:356)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:337)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testJMXSecurityAsManager(JMXSecurityTest.java:164)
> {code}



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


[jira] [Updated] (KARAF-5873) Add spring-security 5.0.7.RELEASE feature

2018-08-16 Thread JIRA


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

Jean-Baptiste Onofré updated KARAF-5873:

Fix Version/s: (was: 4.2.1)
   4.2.2

> Add spring-security 5.0.7.RELEASE feature
> -
>
> Key: KARAF-5873
> URL: https://issues.apache.org/jira/browse/KARAF-5873
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.2
>
>




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


[jira] [Commented] (KARAF-5873) Add spring-security 5.0.7.RELEASE feature

2018-08-16 Thread JIRA


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

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

spring-security 5.x requires additional bundles (like {{spring-dao}}) and 
optional imports. I'm bumping this to 4.2.2.

> Add spring-security 5.0.7.RELEASE feature
> -
>
> Key: KARAF-5873
> URL: https://issues.apache.org/jira/browse/KARAF-5873
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-feature
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.2
>
>




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


[jira] [Commented] (KARAF-5845) JMXSecurityTest.testJMXSecurityAsManager is flaky

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5845:


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

[KARAF-5845] Avoid race condition in JMXSecurityTest


> JMXSecurityTest.testJMXSecurityAsManager is flaky
> -
>
> Key: KARAF-5845
> URL: https://issues.apache.org/jira/browse/KARAF-5845
> Project: Karaf
>  Issue Type: Test
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> {{JMXSecurityTest.testJMXSecurityAsManager}} randomly fails on Jenkins:
> {code}
> java.lang.AssertionError: expected: but was:
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:356)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:337)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testJMXSecurityAsManager(JMXSecurityTest.java:164)
> {code}



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


[jira] [Commented] (KARAF-5845) JMXSecurityTest.testJMXSecurityAsManager is flaky

2018-08-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KARAF-5845:


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

Merge pull request #598 from jbonofre/KARAF-5845

[KARAF-5845] Avoid race condition in JMXSecurityTest

> JMXSecurityTest.testJMXSecurityAsManager is flaky
> -
>
> Key: KARAF-5845
> URL: https://issues.apache.org/jira/browse/KARAF-5845
> Project: Karaf
>  Issue Type: Test
>  Components: karaf-test
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> {{JMXSecurityTest.testJMXSecurityAsManager}} randomly fails on Jenkins:
> {code}
> java.lang.AssertionError: expected: but was:
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:356)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testKarafConfigAdminMBean(JMXSecurityTest.java:337)
>   at 
> org.apache.karaf.itests.JMXSecurityTest.testJMXSecurityAsManager(JMXSecurityTest.java:164)
> {code}



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