[jira] [Commented] (KARAF-5014) First role of group definition in users.properties missing

2024-09-27 Thread ASF GitHub Bot (Jira)


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

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

stataru8 commented on PR #1863:
URL: https://github.com/apache/karaf/pull/1863#issuecomment-2379685153

   Hello @AndreVirtimo, as far as I know, we have two commands that allow us to 
create groups:
   - `jaas:group-add user myGroup1`
   - `jaas:group-create myGroup2`
   
   In both cases, there is no mandatory argument for the role. Today, the 
role/password `group` is added by default. The proposal is to add `""` instead, 
leaving the group information empty.
   
   
   




> First role of group definition in users.properties missing 
> ---
>
> Key: KARAF-5014
> URL: https://issues.apache.org/jira/browse/KARAF-5014
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.0.4
>Reporter: Andre Schlegel-Tylla
>Priority: Major
>
> The first role of an group got lost in role list:
> {code}
> bpcadmin = {CRYPT}...{CRYPT},bpcadmin,_g_\:zauberer,_g_\:masterdata
> _g_\:masterdata = VAM-administrator,VAM_organization_12001,wosinddieweiteren
> _g_\:zauberer=erstefehlt,abracadabra,simsalabim,sesamoeffnedich,hexhex
> {code}
> The roles "VAM-administrator" and "erstefehlt" are not listet on user 
> "bpcadmin".



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


[jira] [Commented] (KARAF-5014) First role of group definition in users.properties missing

2024-09-27 Thread ASF GitHub Bot (Jira)


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

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

stataru8 commented on code in PR #1863:
URL: https://github.com/apache/karaf/pull/1863#discussion_r1778853618


##
jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:
##
@@ -157,22 +159,37 @@ private List listRoles(String name) {
 return result;
 }
 
+private int getFirstRoleIndex(String name) {
+if (name.trim().startsWith(PropertiesBackingEngine.GROUP_PREFIX)) {
+return 0;
+}
+return 1;
+}
+
 @Override
 public void addRole(String username, String role) {
 String userInfos = users.get(username);
 if (userInfos != null) {
-for (RolePrincipal rp : listRoles(username)) {
-if (role.equals(rp.getName())) {
-return; 
+
+// groups don't have password and empty should be ignored

Review Comment:
   My original comment was a bit misleading, what I meant is:
   - If a **user** info is empty, we shouldn't replace `""` by `role`, or else 
`role` becomes the user's password.
   - If a **group** info is empty, we should replace `""` by `role`.
   





> First role of group definition in users.properties missing 
> ---
>
> Key: KARAF-5014
> URL: https://issues.apache.org/jira/browse/KARAF-5014
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.0.4
>Reporter: Andre Schlegel-Tylla
>Priority: Major
>
> The first role of an group got lost in role list:
> {code}
> bpcadmin = {CRYPT}...{CRYPT},bpcadmin,_g_\:zauberer,_g_\:masterdata
> _g_\:masterdata = VAM-administrator,VAM_organization_12001,wosinddieweiteren
> _g_\:zauberer=erstefehlt,abracadabra,simsalabim,sesamoeffnedich,hexhex
> {code}
> The roles "VAM-administrator" and "erstefehlt" are not listet on user 
> "bpcadmin".



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


[jira] [Commented] (KARAF-5014) First role of group definition in users.properties missing

2024-09-27 Thread ASF GitHub Bot (Jira)


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

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

stataru8 commented on code in PR #1863:
URL: https://github.com/apache/karaf/pull/1863#discussion_r1778852624


##
jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:
##
@@ -52,14 +52,13 @@ public void addUser(String username, String password) {
 if (username.startsWith(GROUP_PREFIX))
 throw new IllegalArgumentException("Prefix not permitted: " + 
GROUP_PREFIX);
 
-addUserInternal(username, password);
+addUserInternal(username, encryptionSupport.encrypt(password));

Review Comment:
   I just moved this call from its original location in `addUserInternal`:
   
https://github.com/apache/karaf/blob/e9b9c973569596c8931cc4e8f7d62744d9c3ede5/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java#L62
   
   The call is only needed when adding a user and shouldn't be made when adding 
a group. There is the risk of encrypting `""`, which with the defaults, results 
in `{CRYPT}ABC...{CRYPT}`. After `jaas:group-add karaf newGrup`, 
   `jaas:user-list` will return 
   ```
   User Name | Group   | Role
   
--+-+---
   karaf | newGrup | {CRYPT}ABC...{CRYPT}
   ```
   
   Maybe at this point, we should create another `addUserInternal` with just 
the `username` as an argument: `private void addUserInternal(String username)`, 
or another function just for groups...





> First role of group definition in users.properties missing 
> ---
>
> Key: KARAF-5014
> URL: https://issues.apache.org/jira/browse/KARAF-5014
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.0.4
>Reporter: Andre Schlegel-Tylla
>Priority: Major
>
> The first role of an group got lost in role list:
> {code}
> bpcadmin = {CRYPT}...{CRYPT},bpcadmin,_g_\:zauberer,_g_\:masterdata
> _g_\:masterdata = VAM-administrator,VAM_organization_12001,wosinddieweiteren
> _g_\:zauberer=erstefehlt,abracadabra,simsalabim,sesamoeffnedich,hexhex
> {code}
> The roles "VAM-administrator" and "erstefehlt" are not listet on user 
> "bpcadmin".



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


[jira] [Commented] (KARAF-5014) First role of group definition in users.properties missing

2024-09-27 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on code in PR #1863:
URL: https://github.com/apache/karaf/pull/1863#discussion_r1778528917


##
jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:
##
@@ -52,14 +52,13 @@ public void addUser(String username, String password) {
 if (username.startsWith(GROUP_PREFIX))
 throw new IllegalArgumentException("Prefix not permitted: " + 
GROUP_PREFIX);
 
-addUserInternal(username, password);
+addUserInternal(username, encryptionSupport.encrypt(password));

Review Comment:
   Why forcing encryption here ? It's an optional feature.



##
jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:
##
@@ -157,22 +159,37 @@ private List listRoles(String name) {
 return result;
 }
 
+private int getFirstRoleIndex(String name) {
+if (name.trim().startsWith(PropertiesBackingEngine.GROUP_PREFIX)) {
+return 0;
+}
+return 1;
+}
+
 @Override
 public void addRole(String username, String role) {
 String userInfos = users.get(username);
 if (userInfos != null) {
-for (RolePrincipal rp : listRoles(username)) {
-if (role.equals(rp.getName())) {
-return; 
+
+// groups don't have password and empty should be ignored

Review Comment:
   A group can be empty (no role, no group, no user).





> First role of group definition in users.properties missing 
> ---
>
> Key: KARAF-5014
> URL: https://issues.apache.org/jira/browse/KARAF-5014
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.0.4
>Reporter: Andre Schlegel-Tylla
>Priority: Major
>
> The first role of an group got lost in role list:
> {code}
> bpcadmin = {CRYPT}...{CRYPT},bpcadmin,_g_\:zauberer,_g_\:masterdata
> _g_\:masterdata = VAM-administrator,VAM_organization_12001,wosinddieweiteren
> _g_\:zauberer=erstefehlt,abracadabra,simsalabim,sesamoeffnedich,hexhex
> {code}
> The roles "VAM-administrator" and "erstefehlt" are not listet on user 
> "bpcadmin".



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


[jira] [Commented] (KARAF-5014) First role of group definition in users.properties missing

2024-09-27 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on PR #1863:
URL: https://github.com/apache/karaf/pull/1863#issuecomment-2379142467

   I think @stataru8 meant add empty password for role (as a role doesn't have 
password).




> First role of group definition in users.properties missing 
> ---
>
> Key: KARAF-5014
> URL: https://issues.apache.org/jira/browse/KARAF-5014
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.0.4
>Reporter: Andre Schlegel-Tylla
>Priority: Major
>
> The first role of an group got lost in role list:
> {code}
> bpcadmin = {CRYPT}...{CRYPT},bpcadmin,_g_\:zauberer,_g_\:masterdata
> _g_\:masterdata = VAM-administrator,VAM_organization_12001,wosinddieweiteren
> _g_\:zauberer=erstefehlt,abracadabra,simsalabim,sesamoeffnedich,hexhex
> {code}
> The roles "VAM-administrator" and "erstefehlt" are not listet on user 
> "bpcadmin".



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


[jira] [Commented] (KARAF-5014) First role of group definition in users.properties missing

2024-09-27 Thread ASF GitHub Bot (Jira)


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

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

AndreVirtimo commented on PR #1863:
URL: https://github.com/apache/karaf/pull/1863#issuecomment-2379134448

   Hi @stataru8 , thank you for picking up this issue.
   
   Why do you propose "when a group is created using jaas commands, add an 
empty role by default"? Is this because there is no role which could be 
assigned during creation? Is it not possible to have an empty group?
   
   Regards
   Andre




> First role of group definition in users.properties missing 
> ---
>
> Key: KARAF-5014
> URL: https://issues.apache.org/jira/browse/KARAF-5014
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.0.4
>Reporter: Andre Schlegel-Tylla
>Priority: Major
>
> The first role of an group got lost in role list:
> {code}
> bpcadmin = {CRYPT}...{CRYPT},bpcadmin,_g_\:zauberer,_g_\:masterdata
> _g_\:masterdata = VAM-administrator,VAM_organization_12001,wosinddieweiteren
> _g_\:zauberer=erstefehlt,abracadabra,simsalabim,sesamoeffnedich,hexhex
> {code}
> The roles "VAM-administrator" and "erstefehlt" are not listet on user 
> "bpcadmin".



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


[jira] [Commented] (KARAF-7854) Upgrade to jackson 2.17.2

2024-09-26 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on PR #1861:
URL: https://github.com/apache/karaf/pull/1861#issuecomment-2377384950

   I suspect the feature might have issue with snakeyml update. Let me double 
check.




> Upgrade to jackson 2.17.2
> -
>
> Key: KARAF-7854
> URL: https://issues.apache.org/jira/browse/KARAF-7854
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Gregor Eichelberger
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7852) Upgrade to commons-pool2 2.12.0

2024-09-26 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1860:
URL: https://github.com/apache/karaf/pull/1860




> Upgrade to commons-pool2 2.12.0
> ---
>
> Key: KARAF-7852
> URL: https://issues.apache.org/jira/browse/KARAF-7852
> Project: Karaf
>  Issue Type: Dependency
>  Components: karaf
>Reporter: Holger Friedrich
>Priority: Minor
>
> apache.commons libraries have been released in newer versions:
>  
>  * apache.commons.pool2: upgrade 2.11.1 to 2.12.0
> [https://commons.apache.org/proper/commons-pool/changes-report.html#a2.12.0]
> This is a minor update.



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


[jira] [Commented] (KARAF-7851) Upgrade to commons-lang3 3.15.0

2024-09-26 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1859:
URL: https://github.com/apache/karaf/pull/1859




> Upgrade to commons-lang3 3.15.0
> ---
>
> Key: KARAF-7851
> URL: https://issues.apache.org/jira/browse/KARAF-7851
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Holger Friedrich
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
>
> apache.commons libraries have been released in newer versions:
>  
>  * apache.commons.lang3: upgrade 3.14.0 to 3.15.0
> [https://commons.apache.org/proper/commons-lang/changes-report.html#a3.15.0]
>  * -apache.commons.compress: upgrade 1.26.1 to 1.26.2-
> -[https://commons.apache.org/proper/commons-compress/changes-report.html#a1.26.2]-
> -(includes dependency upgrade asm 9.6. to 9,7, now matches karaf dependency)-
> this is already done with KARAF-7834, but not on 4.4.x branch
>  * -apache.commons.io: upgrade from 2.15.1 to 2.16.1-
> -[https://commons.apache.org/proper/commons-io/changes-report.html#a2.16.1]-
> -[https://commons.apache.org/proper/commons-io/changes-report.html#a2.16.0s|https://commons.apache.org/proper/commons-io/changes-report.html#a2.16.0]-
> this is already done with KARAF-7832, but not on 4.4.x branch
>  * commons-pool2. see KARAF-7852
> These are all minor updates.
> apache.commons.collections is still at 3.2.2, dated 2015. This requires a 
> major update and will be handled in a different issue.



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


[jira] [Commented] (KARAF-7859) Multiple bundles provide javax.inject

2024-09-26 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1862:
URL: https://github.com/apache/karaf/pull/1862




> Multiple bundles provide javax.inject
> -
>
> Key: KARAF-7859
> URL: https://issues.apache.org/jira/browse/KARAF-7859
> Project: Karaf
>  Issue Type: Improvement
>  Components: karaf
>Affects Versions: 4.4.6
>Reporter: Robert Varga
>Assignee: Robert Varga
>Priority: Major
>
> Karaf-provided features are confused about which jar provides the 
> javax.inject package:
> * specs' cdi feature is using 
> mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.2
> * enterprise's transaction-api feature is using 
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_3
> This leads to re-wiring if one of those features is incrementally installed. 
> Use one of those jars: it seems geronimo-atinject seems to be superior.



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


[jira] [Commented] (KARAF-5014) First role of group definition in users.properties missing

2024-09-20 Thread ASF GitHub Bot (Jira)


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

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

stataru8 opened a new pull request, #1863:
URL: https://github.com/apache/karaf/pull/1863

   This issue is quite old and only affects those who directly modify the 
`users` file. I'm not sure if it is still relevant, or if the current behaviour 
should be considered acceptable.
   
   Current behaviour:
   - the first role in a group is ignored
   - when a group is created via `jaas` commands, the role `group` is added by 
default
   
   Proposal:
- consider the first role in a group
- when a group is created using `jaas` commands, add an empty role by 
default
- ignore empty roles in both users and groups
   




> First role of group definition in users.properties missing 
> ---
>
> Key: KARAF-5014
> URL: https://issues.apache.org/jira/browse/KARAF-5014
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.0.4
>Reporter: Andre Schlegel-Tylla
>Priority: Major
>
> The first role of an group got lost in role list:
> {code}
> bpcadmin = {CRYPT}...{CRYPT},bpcadmin,_g_\:zauberer,_g_\:masterdata
> _g_\:masterdata = VAM-administrator,VAM_organization_12001,wosinddieweiteren
> _g_\:zauberer=erstefehlt,abracadabra,simsalabim,sesamoeffnedich,hexhex
> {code}
> The roles "VAM-administrator" and "erstefehlt" are not listet on user 
> "bpcadmin".



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


[jira] [Commented] (KARAF-7859) Multiple bundles provide javax.inject

2024-09-03 Thread ASF GitHub Bot (Jira)


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

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

rovarga opened a new pull request, #1862:
URL: https://github.com/apache/karaf/pull/1862

   Signed-off-by: Robert Varga 
   




> Multiple bundles provide javax.inject
> -
>
> Key: KARAF-7859
> URL: https://issues.apache.org/jira/browse/KARAF-7859
> Project: Karaf
>  Issue Type: Improvement
>  Components: karaf
>Affects Versions: 4.4.6
>Reporter: Robert Varga
>Assignee: Robert Varga
>Priority: Major
>
> Karaf-provided features are confused about which jar provides the 
> javax.inject package:
> * specs' cdi feature is using 
> mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.2
> * enterprise's transaction-api feature is using 
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_3
> This leads to re-wiring if one of those features is incrementally installed. 
> Use one of those jars: it seems geronimo-atinject seems to be superior.



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


[jira] [Commented] (KARAF-7854) Upgrade to jackson 2.17.2

2024-07-24 Thread ASF GitHub Bot (Jira)


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

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

geichelberger opened a new pull request, #1861:
URL: https://github.com/apache/karaf/pull/1861

   Upgrades the following dependencies:
   - snakeyaml from 1.33 to 2.2
   - jackson from 2.14.1 to 2.17.2




> Upgrade to jackson 2.17.2
> -
>
> Key: KARAF-7854
> URL: https://issues.apache.org/jira/browse/KARAF-7854
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Gregor Eichelberger
>Priority: Major
>




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


[jira] [Commented] (KARAF-7852) Upgrade to commons-pool2 2.12.0

2024-07-23 Thread ASF GitHub Bot (Jira)


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

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

holgerfriedrich opened a new pull request, #1860:
URL: https://github.com/apache/karaf/pull/1860

   see https://issues.apache.org/jira/browse/KARAF-7852




> Upgrade to commons-pool2 2.12.0
> ---
>
> Key: KARAF-7852
> URL: https://issues.apache.org/jira/browse/KARAF-7852
> Project: Karaf
>  Issue Type: Dependency
>  Components: karaf
>Reporter: Holger Friedrich
>Priority: Minor
>
> apache.commons libraries have been released in newer versions:
>  
>  * apache.commons.pool2: upgrade 2.11.1 to 2.12.0
> [https://commons.apache.org/proper/commons-pool/changes-report.html#a2.12.0]
> This is a minor update.



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


[jira] [Commented] (KARAF-7851) Upgrade to commons.lang3 3.15.0

2024-07-23 Thread ASF GitHub Bot (Jira)


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

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

holgerfriedrich opened a new pull request, #1859:
URL: https://github.com/apache/karaf/pull/1859

   see https://issues.apache.org/jira/browse/KARAF-7851




> Upgrade to commons.lang3 3.15.0
> ---
>
> Key: KARAF-7851
> URL: https://issues.apache.org/jira/browse/KARAF-7851
> Project: Karaf
>  Issue Type: Dependency
>  Components: karaf
>Reporter: Holger Friedrich
>Priority: Minor
>
> apache.commons libraries have been released in newer versions:
>  
>  * apache.commons.lang3: upgrade 3.14.0 to 3.15.0
> [https://commons.apache.org/proper/commons-lang/changes-report.html#a3.15.0]
>  * -apache.commons.compress: upgrade 1.26.1 to 1.26.2-
> -[https://commons.apache.org/proper/commons-compress/changes-report.html#a1.26.2]-
> -(includes dependency upgrade asm 9.6. to 9,7, now matches karaf dependency)-
> this is already done with KARAF-7834, but not on 4.4.x branch
>  * -apache.commons.io: upgrade from 2.15.1 to 2.16.1-
> -[https://commons.apache.org/proper/commons-io/changes-report.html#a2.16.1]-
> -[https://commons.apache.org/proper/commons-io/changes-report.html#a2.16.0s|https://commons.apache.org/proper/commons-io/changes-report.html#a2.16.0]-
> this is already done with KARAF-7832, but not on 4.4.x branch
> These are all minor updates.
> apache.commons.collections is still at 3.2.2, dated 2015. This requires a 
> major update and will be handled in a different issue.



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


[jira] [Commented] (KARAF-7850) karaf-services-maven-plugin requirement for Commands is not documented

2024-07-16 Thread ASF GitHub Bot (Jira)


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

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

paulsp opened a new pull request, #1858:
URL: https://github.com/apache/karaf/pull/1858

   (no comment)




> karaf-services-maven-plugin requirement for Commands is not documented
> --
>
> Key: KARAF-7850
> URL: https://issues.apache.org/jira/browse/KARAF-7850
> Project: Karaf
>  Issue Type: Documentation
>  Components: karaf
>Affects Versions: 4.4.6
>Reporter: Paul Spencer
>Priority: Minor
>
> The requirement to included  karaf-services-maven-plugin, including  
> service-metadata-generate configuration, is not documented.



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


[jira] [Commented] (KARAF-7846) Upgrade JAXB 2.3.9

2024-07-12 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1856:
URL: https://github.com/apache/karaf/pull/1856




> Upgrade JAXB 2.3.9
> --
>
> Key: KARAF-7846
> URL: https://issues.apache.org/jira/browse/KARAF-7846
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Matt Pavlovich
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
>




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


[jira] [Commented] (KARAF-7845) Upgrade to Spring 6.1.10, 6.0.22, 5.3.37

2024-07-12 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on PR #1855:
URL: https://github.com/apache/karaf/pull/1855#issuecomment-2226778156

   I'm preparing the SMX bundles release to be able to upgrade to latest Spring 
versions.




> Upgrade to Spring 6.1.10, 6.0.22, 5.3.37
> 
>
> Key: KARAF-7845
> URL: https://issues.apache.org/jira/browse/KARAF-7845
> Project: Karaf
>  Issue Type: Dependency upgrade
>Reporter: Matt Pavlovich
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
> Fix For: 4.4.7
>
>
> Address CVE-2024-22262



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


[jira] [Commented] (KARAF-7844) Upgrade to sshd 2.13.1

2024-07-12 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1853:
URL: https://github.com/apache/karaf/pull/1853




> Upgrade to sshd 2.13.1
> --
>
> Key: KARAF-7844
> URL: https://issues.apache.org/jira/browse/KARAF-7844
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7847) Upgrade to eclipselink 2.7.15

2024-07-10 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1857:
URL: https://github.com/apache/karaf/pull/1857




> Upgrade to eclipselink 2.7.15
> -
>
> Key: KARAF-7847
> URL: https://issues.apache.org/jira/browse/KARAF-7847
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Gregor Eichelberger
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7847) Upgrade to eclipselink 2.7.15

2024-07-10 Thread ASF GitHub Bot (Jira)


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

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

geichelberger opened a new pull request, #1857:
URL: https://github.com/apache/karaf/pull/1857

   (no comment)




> Upgrade to eclipselink 2.7.15
> -
>
> Key: KARAF-7847
> URL: https://issues.apache.org/jira/browse/KARAF-7847
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Gregor Eichelberger
>Priority: Major
>




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


[jira] [Commented] (KARAF-7846) Upgrade JAXB 2.3.9

2024-07-09 Thread ASF GitHub Bot (Jira)


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

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

mattrpav opened a new pull request, #1856:
URL: https://github.com/apache/karaf/pull/1856

   (no comment)




> Upgrade JAXB 2.3.9
> --
>
> Key: KARAF-7846
> URL: https://issues.apache.org/jira/browse/KARAF-7846
> Project: Karaf
>  Issue Type: Dependency upgrade
>Reporter: Matt Pavlovich
>Priority: Minor
>




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


[jira] [Commented] (KARAF-7829) SLF4J Warnings on Client-Connection

2024-07-05 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on PR #1851:
URL: https://github.com/apache/karaf/pull/1851#issuecomment-2210571169

   Just a note: this PR doesn't actually fix the problem described in 
KARAF-7829.
   For Karaf client slf4j issue, it's coming of the client packaging slf4j 
logger/binder from slf4j 1.x. I will create another PR to upgrade the client to 
slf4j 2.x (using `Provider` instead of `Binder`).




> SLF4J Warnings on Client-Connection
> ---
>
> Key: KARAF-7829
> URL: https://issues.apache.org/jira/browse/KARAF-7829
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.4.6
>Reporter: Niklas Neesen
>Assignee: Jean-Baptiste Onofré
>Priority: Critical
> Fix For: 4.4.7
>
>
> I have encountered several SLF4J warnings when connecting using the 
> ./bin/client command in Apache Karaf version 4.4.6. The following warnings 
> are displayed at the beginning of the connection:
> {code:java}
> SLF4J(W): No SLF4J providers were found.
> SLF4J(W): Defaulting to no-operation (NOP) logger implementation
> SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further 
> details.
> SLF4J(W): Class path contains SLF4J bindings targeting slf4j-api versions 
> 1.7.x or earlier.
> SLF4J(W): Ignoring binding found at 
> [jar:file:/Users/niklas/Downloads/apache-karaf-4.4.6/system/org/apache/karaf/org.apache.karaf.client/4.4.6/org.apache.karaf.client-4.4.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J(W): See https://www.slf4j.org/codes.html#ignoredBindings for an 
> explanation.{code}
> *Steps to Reproduce:*
>  # Download and extract Apache Karaf version 4.4.6.
>  # Navigate to the extracted directory.
>  # Start Karaf using the command ./bin/start.
>  # Use the command ./bin/client to connect.
>  
> *Expected Behavior:*
> No SLF4J warnings should be displayed during the connection process.
>  
> *Actual Behavior:*
> Multiple SLF4J warnings are displayed, indicating issues with SLF4J provider 
> bindings and defaulting to a no-operation logger implementation.
>  
> *Environment:*
>  * Apache Karaf version: 4.4.6
>  * Java version: OpenJDK 11.0.22
> Please investigate this issue and provide guidance on how to resolve the 
> SLF4J warnings.
> Thank you.



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


[jira] [Commented] (KARAF-7844) Upgrade to sshd 2.13.1

2024-07-05 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on PR #1853:
URL: https://github.com/apache/karaf/pull/1853#issuecomment-2210417055

   @stsiano yes, I'm fixing that (expected issue). Thanks for the reminder 😄 




> Upgrade to sshd 2.13.1
> --
>
> Key: KARAF-7844
> URL: https://issues.apache.org/jira/browse/KARAF-7844
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7829) SLF4J Warnings on Client-Connection

2024-07-03 Thread ASF GitHub Bot (Jira)


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

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

PeterSuna opened a new pull request, #1851:
URL: https://github.com/apache/karaf/pull/1851

   Override transitive dependency version for `org.slf4j` from **1.7.32** and 
**1.7.35**  to **2.0.12** as defined in Karaf BOM project.
   
   This issue arose after bumping slf4j to 2.0.12 in this commit:
   
https://github.com/apache/karaf/pull/1831/commits/03354d2635441d19ff762e217348f798a19cc983#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8R324
   
   However, some transitive dependencies still remain at version 1.7.32 and 
1.7.35. See the `mvn dependency:tree` output:
   
   [INFO] -

> SLF4J Warnings on Client-Connection
> ---
>
> Key: KARAF-7829
> URL: https://issues.apache.org/jira/browse/KARAF-7829
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.4.6
>Reporter: Niklas Neesen
>Assignee: Jean-Baptiste Onofré
>Priority: Critical
> Fix For: 4.4.7
>
>
> I have encountered several SLF4J warnings when connecting using the 
> ./bin/client command in Apache Karaf version 4.4.6. The following warnings 
> are displayed at the beginning of the connection:
> {code:java}
> SLF4J(W): No SLF4J providers were found.
> SLF4J(W): Defaulting to no-operation (NOP) logger implementation
> SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further 
> details.
> SLF4J(W): Class path contains SLF4J bindings targeting slf4j-api versions 
> 1.7.x or earlier.
> SLF4J(W): Ignoring binding found at 
> [jar:file:/Users/niklas/Downloads/apache-karaf-4.4.6/system/org/apache/karaf/org.apache.karaf.client/4.4.6/org.apache.karaf.client-4.4.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J(W): See https://www.slf4j.org/codes.html#ignoredBindings for an 
> explanation.{code}
> *Steps to Reproduce:*
>  # Download and extract Apache Karaf version 4.4.6.
>  # Navigate to the extracted directory.
>  # Start Karaf using the command ./bin/start.
>  # Use the command ./bin/client to connect.
>  
> *Expected Behavior:*
> No SLF4J warnings should be displayed during the connection process.
>  
> *Actual Behavior:*
> Multiple SLF4J warnings are displayed, indicating issues with SLF4J provider 
> bindings and defaulting to a no-operation logger implementation.
>  
> *Environment:*
>  * Apache Karaf version: 4.4.6
>  * Java version: OpenJDK 11.0.22
> Please investigate this issue and provide guidance on how to resolve the 
> SLF4J warnings.
> Thank you.



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


[jira] [Commented] (KARAF-7829) SLF4J Warnings on Client-Connection

2024-07-03 Thread ASF GitHub Bot (Jira)


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

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

PeterSuna closed pull request #1851: KARAF-7829 Override org.slf4j to 2.0.12
URL: https://github.com/apache/karaf/pull/1851




> SLF4J Warnings on Client-Connection
> ---
>
> Key: KARAF-7829
> URL: https://issues.apache.org/jira/browse/KARAF-7829
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.4.6
>Reporter: Niklas Neesen
>Assignee: Jean-Baptiste Onofré
>Priority: Critical
> Fix For: 4.4.7
>
>
> I have encountered several SLF4J warnings when connecting using the 
> ./bin/client command in Apache Karaf version 4.4.6. The following warnings 
> are displayed at the beginning of the connection:
> {code:java}
> SLF4J(W): No SLF4J providers were found.
> SLF4J(W): Defaulting to no-operation (NOP) logger implementation
> SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further 
> details.
> SLF4J(W): Class path contains SLF4J bindings targeting slf4j-api versions 
> 1.7.x or earlier.
> SLF4J(W): Ignoring binding found at 
> [jar:file:/Users/niklas/Downloads/apache-karaf-4.4.6/system/org/apache/karaf/org.apache.karaf.client/4.4.6/org.apache.karaf.client-4.4.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J(W): See https://www.slf4j.org/codes.html#ignoredBindings for an 
> explanation.{code}
> *Steps to Reproduce:*
>  # Download and extract Apache Karaf version 4.4.6.
>  # Navigate to the extracted directory.
>  # Start Karaf using the command ./bin/start.
>  # Use the command ./bin/client to connect.
>  
> *Expected Behavior:*
> No SLF4J warnings should be displayed during the connection process.
>  
> *Actual Behavior:*
> Multiple SLF4J warnings are displayed, indicating issues with SLF4J provider 
> bindings and defaulting to a no-operation logger implementation.
>  
> *Environment:*
>  * Apache Karaf version: 4.4.6
>  * Java version: OpenJDK 11.0.22
> Please investigate this issue and provide guidance on how to resolve the 
> SLF4J warnings.
> Thank you.



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


[jira] [Commented] (KARAF-7844) Upgrade to sshd 2.13.1

2024-07-02 Thread ASF GitHub Bot (Jira)


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

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

stsiano commented on PR #1853:
URL: https://github.com/apache/karaf/pull/1853#issuecomment-2205137346

   [INFO] Building Apache Karaf :: Shell :: SSH 4.5.0-SNAPSHOT
[43/248]
   ...
   [ERROR] org.apache.karaf.shell.ssh.SshUtilsTest.testCiphersDefault 

> Upgrade to sshd 2.13.1
> --
>
> Key: KARAF-7844
> URL: https://issues.apache.org/jira/browse/KARAF-7844
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7844) Upgrade to sshd 2.13.1

2024-07-02 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1853:
URL: https://github.com/apache/karaf/pull/1853

   (no comment)




> Upgrade to sshd 2.13.1
> --
>
> Key: KARAF-7844
> URL: https://issues.apache.org/jira/browse/KARAF-7844
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7841) Use Prometheus labels and create 1 event per metric in the Prometheus-Collector

2024-06-17 Thread ASF GitHub Bot (Jira)


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

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

fpapon opened a new pull request, #337:
URL: https://github.com/apache/karaf-decanter/pull/337

   …he Prometheus-Collector




> Use Prometheus labels and create 1 event per metric in the 
> Prometheus-Collector
> ---
>
> Key: KARAF-7841
> URL: https://issues.apache.org/jira/browse/KARAF-7841
> Project: Karaf
>  Issue Type: Improvement
>  Components: decanter
>Affects Versions: decanter-2.10.0
>Reporter: Francois Papon
>Assignee: Francois Papon
>Priority: Major
> Fix For: decanter-2.11.0
>
>
> We should be able to parse labels in Prometheus metric like:
> {code:java}
> # HELP request_time_total
> # TYPE request_time_total counter
> request_time_total_seconds{api="my-api",endpoint="/send",method="POST"} 1.0
> # HELP memoryPool_usage_bytes Current usage of the memory pool
> # TYPE memoryPool_usage_bytes gauge
> memoryPool_usage_bytes{name="Compressed Class Space"} 2.2561752E7
> memoryPool_usage_bytes{name="G1 Eden Space"} 1.2582912E7{code}
> The purpose is to store each labels as an event data property.
> We also should create 1 event per metric.
>  



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


[jira] [Commented] (KARAF-7833) Upgrade to commons-logging 1.3.2

2024-06-17 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1847:
URL: https://github.com/apache/karaf/pull/1847




> Upgrade to commons-logging 1.3.2
> 
>
> Key: KARAF-7833
> URL: https://issues.apache.org/jira/browse/KARAF-7833
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7831) Upgrade to easymock 5.3.0

2024-06-17 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1849:
URL: https://github.com/apache/karaf/pull/1849




> Upgrade to easymock 5.3.0
> -
>
> Key: KARAF-7831
> URL: https://issues.apache.org/jira/browse/KARAF-7831
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7832) Upgrade to commons-io 2.16.1

2024-06-17 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1848:
URL: https://github.com/apache/karaf/pull/1848




> Upgrade to commons-io 2.16.1
> 
>
> Key: KARAF-7832
> URL: https://issues.apache.org/jira/browse/KARAF-7832
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7834) Upgrade to commons-compress 1.26.2

2024-06-17 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1846:
URL: https://github.com/apache/karaf/pull/1846




> Upgrade to commons-compress 1.26.2
> --
>
> Key: KARAF-7834
> URL: https://issues.apache.org/jira/browse/KARAF-7834
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7831) Upgrade to easymock 5.3.0

2024-06-15 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1849:
URL: https://github.com/apache/karaf/pull/1849

   (no comment)




> Upgrade to easymock 5.3.0
> -
>
> Key: KARAF-7831
> URL: https://issues.apache.org/jira/browse/KARAF-7831
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7832) Upgrade to commons-io 2.16.1

2024-06-15 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1848:
URL: https://github.com/apache/karaf/pull/1848

   (no comment)




> Upgrade to commons-io 2.16.1
> 
>
> Key: KARAF-7832
> URL: https://issues.apache.org/jira/browse/KARAF-7832
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7833) Upgrade to commons-logging 1.3.2

2024-06-15 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1847:
URL: https://github.com/apache/karaf/pull/1847

   (no comment)




> Upgrade to commons-logging 1.3.2
> 
>
> Key: KARAF-7833
> URL: https://issues.apache.org/jira/browse/KARAF-7833
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7834) Upgrade to commons-compress 1.26.2

2024-06-15 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1846:
URL: https://github.com/apache/karaf/pull/1846

   (no comment)




> Upgrade to commons-compress 1.26.2
> --
>
> Key: KARAF-7834
> URL: https://issues.apache.org/jira/browse/KARAF-7834
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7838) Upgrade to xbean 4.25

2024-06-15 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1845:
URL: https://github.com/apache/karaf/pull/1845

   (no comment)




> Upgrade to xbean 4.25
> -
>
> Key: KARAF-7838
> URL: https://issues.apache.org/jira/browse/KARAF-7838
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7325) Simplification of customizations for jre and framework properties

2024-04-18 Thread ASF GitHub Bot (Jira)


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

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

splatch commented on PR #1484:
URL: https://github.com/apache/karaf/pull/1484#issuecomment-2064203875

   Dang, its quite aged PR, indeed it deserves a push. 




> Simplification of customizations for jre and framework properties
> -
>
> Key: KARAF-7325
> URL: https://issues.apache.org/jira/browse/KARAF-7325
> Project: Karaf
>  Issue Type: Improvement
>  Components: karaf
>Affects Versions: 4.2.14
>Reporter: Łukasz Dywicki
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> [follow up issue promised in 
> https://lists.apache.org/thread/bdp1j909wz7cx593bmjxobg3k79sozzg]
> I recently been going over few Karaf assemblies I created in past years and I 
> realized that in many cases I had to copy entire configuration shipped by 
> Karaf distribution in order to include a new config in bootstrap process.
> Quite often my requirements were quite small, yet I had to create two files 
> and take care of updates of distro shipped file in order to keep assembly 
> well behaving.
> If distro builder wants to override or extend any of properties defined in 
> standard karaf files he needs to copy a whole file. While it is not a problem 
> for custom properties it is a burden for jre and system (framework) 
> properties which vary between releases.
> The proposal is to simplify patching process by introduction of:
>  * Optional {{custom.jre.properties}} file which can define "custom" packages
>  ** custom.jre-1.6
>  ** custom.jre-1.7
>  ** custom.jre-8
>  ** custom.jre-9
>  ** custom.jre-10
>  ** custom.jre-11
>  ** custom.jre-13
>  ** custom.jre-14
>  ** custom.jre-15
>  * Extension of {{config.properties}} to accept more values coming from 
> {{{}custom.properties{}}}:
>  ** custom.org.osgi.framework.system.packages
>  ** custom.org.osgi.framework.system.packages.extra
>  ** custom-capabilities
>  ** custom.org.osgi.framework.bootdelegation
> By this patching or adjusting system packages in a custom distro will require 
> only additional file instead of replacing distribution one. The 
> custom.properties will start playing bigger role in providing additional 
> entries to system packages and bootdelegation.



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


[jira] [Commented] (KARAF-7325) Simplification of customizations for jre and framework properties

2024-04-18 Thread ASF GitHub Bot (Jira)


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

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

RangerRick commented on PR #1484:
URL: https://github.com/apache/karaf/pull/1484#issuecomment-2064121512

   Ooh, I realize this is languishing in PRs, but it would be really handy if 
it could be included.




> Simplification of customizations for jre and framework properties
> -
>
> Key: KARAF-7325
> URL: https://issues.apache.org/jira/browse/KARAF-7325
> Project: Karaf
>  Issue Type: Improvement
>  Components: karaf
>Affects Versions: 4.2.14
>Reporter: Łukasz Dywicki
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> [follow up issue promised in 
> https://lists.apache.org/thread/bdp1j909wz7cx593bmjxobg3k79sozzg]
> I recently been going over few Karaf assemblies I created in past years and I 
> realized that in many cases I had to copy entire configuration shipped by 
> Karaf distribution in order to include a new config in bootstrap process.
> Quite often my requirements were quite small, yet I had to create two files 
> and take care of updates of distro shipped file in order to keep assembly 
> well behaving.
> If distro builder wants to override or extend any of properties defined in 
> standard karaf files he needs to copy a whole file. While it is not a problem 
> for custom properties it is a burden for jre and system (framework) 
> properties which vary between releases.
> The proposal is to simplify patching process by introduction of:
>  * Optional {{custom.jre.properties}} file which can define "custom" packages
>  ** custom.jre-1.6
>  ** custom.jre-1.7
>  ** custom.jre-8
>  ** custom.jre-9
>  ** custom.jre-10
>  ** custom.jre-11
>  ** custom.jre-13
>  ** custom.jre-14
>  ** custom.jre-15
>  * Extension of {{config.properties}} to accept more values coming from 
> {{{}custom.properties{}}}:
>  ** custom.org.osgi.framework.system.packages
>  ** custom.org.osgi.framework.system.packages.extra
>  ** custom-capabilities
>  ** custom.org.osgi.framework.bootdelegation
> By this patching or adjusting system packages in a custom distro will require 
> only additional file instead of replacing distribution one. The 
> custom.properties will start playing bigger role in providing additional 
> entries to system packages and bootdelegation.



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


[jira] [Commented] (KARAF-7747) Provide Spring 6.1.x/6.0.x features

2024-04-07 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1840:
URL: https://github.com/apache/karaf/pull/1840




> Provide Spring 6.1.x/6.0.x features
> ---
>
> Key: KARAF-7747
> URL: https://issues.apache.org/jira/browse/KARAF-7747
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7820) Upgrade feature to Spring 5.3.33

2024-04-03 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1842:
URL: https://github.com/apache/karaf/pull/1842




> Upgrade feature to Spring 5.3.33
> 
>
> Key: KARAF-7820
> URL: https://issues.apache.org/jira/browse/KARAF-7820
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7820) Upgrade feature to Spring 5.3.33

2024-04-03 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1842:
URL: https://github.com/apache/karaf/pull/1842

   (no comment)




> Upgrade feature to Spring 5.3.33
> 
>
> Key: KARAF-7820
> URL: https://issues.apache.org/jira/browse/KARAF-7820
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7802) javax.annotation.security is missing from etc/jre.properties

2024-04-03 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1841:
URL: https://github.com/apache/karaf/pull/1841




> javax.annotation.security is missing from etc/jre.properties
> 
>
> Key: KARAF-7802
> URL: https://issues.apache.org/jira/browse/KARAF-7802
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.4.5
>Reporter: Paul Spencer
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> The packages javax.annotation.security is missing from etc/jre.properties for 
> jre-9.  The implementation is currently provided by 
> lib/jdk9plus/javax.annotation-api-1.3.2.jar
> KARAF-7735 deals with moving java.annotation out of etc/jre.properties, so 
> its resolution should include javax.annotation.security



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


[jira] [Commented] (KARAF-7802) javax.annotation.security is missing from etc/jre.properties

2024-04-03 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1841:
URL: https://github.com/apache/karaf/pull/1841

   (no comment)




> javax.annotation.security is missing from etc/jre.properties
> 
>
> Key: KARAF-7802
> URL: https://issues.apache.org/jira/browse/KARAF-7802
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.4.5
>Reporter: Paul Spencer
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> The packages javax.annotation.security is missing from etc/jre.properties for 
> jre-9.  The implementation is currently provided by 
> lib/jdk9plus/javax.annotation-api-1.3.2.jar
> KARAF-7735 deals with moving java.annotation out of etc/jre.properties, so 
> its resolution should include javax.annotation.security



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


[jira] [Commented] (KARAF-7747) Provide Spring 6.1.x/6.0.x features

2024-04-02 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1840:
URL: https://github.com/apache/karaf/pull/1840

   (no comment)




> Provide Spring 6.1.x/6.0.x features
> ---
>
> Key: KARAF-7747
> URL: https://issues.apache.org/jira/browse/KARAF-7747
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7813) Upgrade to ASM 9.7

2024-03-31 Thread ASF GitHub Bot (Jira)


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

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

holgerfriedrich commented on PR #1832:
URL: https://github.com/apache/karaf/pull/1832#issuecomment-2029262743

   Hi @jbonofre! Thanks for doing all the updates towards 4.4.6 to replace 
Jetty with a version not affected by CVE-2024-22201.
   Did you consider to postpone the this update of the ASM package on the 4.4.x 
branch for now to ease replacing 4.4.5 by 4.4.6?
   Or is there a specific problem/dependency which requires ASM 9.7?




> Upgrade to ASM 9.7
> --
>
> Key: KARAF-7813
> URL: https://issues.apache.org/jira/browse/KARAF-7813
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.5.0, 4.4.6
>
>




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


[jira] [Commented] (KARAF-7812) Upgrade to Maven Wagon 3.5.3

2024-03-30 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1835:
URL: https://github.com/apache/karaf/pull/1835




> Upgrade to Maven Wagon 3.5.3
> 
>
> Key: KARAF-7812
> URL: https://issues.apache.org/jira/browse/KARAF-7812
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7811) Upgrade to commons-compress 1.26.1

2024-03-30 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1836:
URL: https://github.com/apache/karaf/pull/1836




> Upgrade to commons-compress 1.26.1
> --
>
> Key: KARAF-7811
> URL: https://issues.apache.org/jira/browse/KARAF-7811
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7810) Upgrade to commons-logging 1.3.1

2024-03-30 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1837:
URL: https://github.com/apache/karaf/pull/1837




> Upgrade to commons-logging 1.3.1
> 
>
> Key: KARAF-7810
> URL: https://issues.apache.org/jira/browse/KARAF-7810
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7809) Bouncycastle 1.76+ is needed for sshd-osgi

2024-03-30 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1838:
URL: https://github.com/apache/karaf/pull/1838




> Bouncycastle 1.76+ is needed for sshd-osgi
> --
>
> Key: KARAF-7809
> URL: https://issues.apache.org/jira/browse/KARAF-7809
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Affects Versions: 4.4.5
>Reporter: Anthony Wood
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>  Labels: dependency-upgrade
>
> In karaf 4.4.5, sshd-osgi 2.11.0 requires bouncycastle [1.76,2). However, 
> karaf includes version 1.75.  This results in a NoClassDefFoundError for 
> org/bouncycastle/openssl/jcajce/JcaPEMWriter in despite bcpkix-jdk18on 1.75 
> having been installed by the feature.



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


[jira] [Commented] (KARAF-7801) Upgrade to sshd 2.12.1

2024-03-30 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1839:
URL: https://github.com/apache/karaf/pull/1839




> Upgrade to sshd 2.12.1
> --
>
> Key: KARAF-7801
> URL: https://issues.apache.org/jira/browse/KARAF-7801
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7801) Upgrade to sshd 2.12.1

2024-03-29 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1839:
URL: https://github.com/apache/karaf/pull/1839

   (no comment)




> Upgrade to sshd 2.12.1
> --
>
> Key: KARAF-7801
> URL: https://issues.apache.org/jira/browse/KARAF-7801
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7809) Bouncycastle 1.76+ is needed for sshd-osgi

2024-03-29 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1838:
URL: https://github.com/apache/karaf/pull/1838

   (no comment)




> Bouncycastle 1.76+ is needed for sshd-osgi
> --
>
> Key: KARAF-7809
> URL: https://issues.apache.org/jira/browse/KARAF-7809
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Affects Versions: 4.4.5
>Reporter: Anthony Wood
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>  Labels: dependency-upgrade
>
> In karaf 4.4.5, sshd-osgi 2.11.0 requires bouncycastle [1.76,2). However, 
> karaf includes version 1.75.  This results in a NoClassDefFoundError for 
> org/bouncycastle/openssl/jcajce/JcaPEMWriter in despite bcpkix-jdk18on 1.75 
> having been installed by the feature.



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


[jira] [Commented] (KARAF-7811) Upgrade to commons-compress 1.26.1

2024-03-29 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1836:
URL: https://github.com/apache/karaf/pull/1836

   (no comment)




> Upgrade to commons-compress 1.26.1
> --
>
> Key: KARAF-7811
> URL: https://issues.apache.org/jira/browse/KARAF-7811
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7810) Upgrade to commons-logging 1.3.1

2024-03-29 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1837:
URL: https://github.com/apache/karaf/pull/1837

   (no comment)




> Upgrade to commons-logging 1.3.1
> 
>
> Key: KARAF-7810
> URL: https://issues.apache.org/jira/browse/KARAF-7810
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7812) Upgrade to Maven Wagon 3.5.3

2024-03-29 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1835:
URL: https://github.com/apache/karaf/pull/1835

   (no comment)




> Upgrade to Maven Wagon 3.5.3
> 
>
> Key: KARAF-7812
> URL: https://issues.apache.org/jira/browse/KARAF-7812
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7814) Upgrade to Pax Web 8.0.27 / Jetty 9.4.54.v20240208

2024-03-29 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1833:
URL: https://github.com/apache/karaf/pull/1833




> Upgrade to Pax Web 8.0.27 / Jetty 9.4.54.v20240208
> --
>
> Key: KARAF-7814
> URL: https://issues.apache.org/jira/browse/KARAF-7814
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7813) Upgrade to ASM 9.7

2024-03-29 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1832:
URL: https://github.com/apache/karaf/pull/1832




> Upgrade to ASM 9.7
> --
>
> Key: KARAF-7813
> URL: https://issues.apache.org/jira/browse/KARAF-7813
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7815) Upgrade to Pax Logging 2.2.7/slf4j 2.0.12/log4j 2.23.1

2024-03-29 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1831:
URL: https://github.com/apache/karaf/pull/1831




> Upgrade to Pax Logging 2.2.7/slf4j 2.0.12/log4j 2.23.1
> --
>
> Key: KARAF-7815
> URL: https://issues.apache.org/jira/browse/KARAF-7815
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7816) Upgrade to Pax JDBC 1.5.7

2024-03-29 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1830:
URL: https://github.com/apache/karaf/pull/1830




> Upgrade to Pax JDBC 1.5.7
> -
>
> Key: KARAF-7816
> URL: https://issues.apache.org/jira/browse/KARAF-7816
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7819) Upgrade to Spring 5.2.25_1 feature

2024-03-29 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1828:
URL: https://github.com/apache/karaf/pull/1828




> Upgrade to Spring 5.2.25_1 feature
> --
>
> Key: KARAF-7819
> URL: https://issues.apache.org/jira/browse/KARAF-7819
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7822) Upgrade to Apache POM 31

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1834:
URL: https://github.com/apache/karaf/pull/1834




> Upgrade to Apache POM 31
> 
>
> Key: KARAF-7822
> URL: https://issues.apache.org/jira/browse/KARAF-7822
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7822) Upgrade to Apache POM 31

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1834:
URL: https://github.com/apache/karaf/pull/1834

   (no comment)




> Upgrade to Apache POM 31
> 
>
> Key: KARAF-7822
> URL: https://issues.apache.org/jira/browse/KARAF-7822
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7813) Upgrade to ASM 9.7

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1832:
URL: https://github.com/apache/karaf/pull/1832

   (no comment)




> Upgrade to ASM 9.7
> --
>
> Key: KARAF-7813
> URL: https://issues.apache.org/jira/browse/KARAF-7813
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7814) Upgrade to Pax Web 8.0.27 / Jetty 9.4.54.v20240208

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1833:
URL: https://github.com/apache/karaf/pull/1833

   (no comment)




> Upgrade to Pax Web 8.0.27 / Jetty 9.4.54.v20240208
> --
>
> Key: KARAF-7814
> URL: https://issues.apache.org/jira/browse/KARAF-7814
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7815) Upgrade to Pax Logging 2.2.7/slf4j 2.0.12/log4j 2.23.1

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1831:
URL: https://github.com/apache/karaf/pull/1831

   (no comment)




> Upgrade to Pax Logging 2.2.7/slf4j 2.0.12/log4j 2.23.1
> --
>
> Key: KARAF-7815
> URL: https://issues.apache.org/jira/browse/KARAF-7815
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7816) Upgrade to Pax JDBC 1.5.7

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1830:
URL: https://github.com/apache/karaf/pull/1830

   (no comment)




> Upgrade to Pax JDBC 1.5.7
> -
>
> Key: KARAF-7816
> URL: https://issues.apache.org/jira/browse/KARAF-7816
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7819) Upgrade to Spring 5.2.25_1 feature

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1828:
URL: https://github.com/apache/karaf/pull/1828

   (no comment)




> Upgrade to Spring 5.2.25_1 feature
> --
>
> Key: KARAF-7819
> URL: https://issues.apache.org/jira/browse/KARAF-7819
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7682) Karaf does not stop when stop command issued

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1717:
URL: https://github.com/apache/karaf/pull/1717




> Karaf does not stop when stop command issued
> 
>
> Key: KARAF-7682
> URL: https://issues.apache.org/jira/browse/KARAF-7682
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Matt Pavlovich
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>




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


[jira] [Commented] (KARAF-7691) Status check has SocketException

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1827:
URL: https://github.com/apache/karaf/pull/1827




> Status check has SocketException
> 
>
> Key: KARAF-7691
> URL: https://issues.apache.org/jira/browse/KARAF-7691
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Ian Thiemann
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
>
> Calling a status check logs the following as well
> {code:java}
> o.a.k.m.ShutdownSocketThread | Karaf shutdown socket: read:
> java.net.SocketException: Connection reset
> at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
> at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
> at java.base/java.net.SocketInputStream.read(SocketInputStream.java:200)
> at 
> org.apache.karaf.main.ShutdownSocketThread.run(ShutdownSocketThread.java:101) 
> {code}
>  This seems to be caused by a socket being opened to check if it can connect 
> to the shutdown port and then immediately being closed without a proper 
> shutdown signal.
> This issue does not affect functionality, but it is overloading logs with 
> irrelevant exceptions which is an inconvenience.



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


[jira] [Commented] (KARAF-7763) Upgrade to slf4j 2.0.12

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre closed pull request #1780: [KARAF-7763] Bump slf4j to 2.0.9
URL: https://github.com/apache/karaf/pull/1780




> Upgrade to slf4j 2.0.12
> ---
>
> Key: KARAF-7763
> URL: https://issues.apache.org/jira/browse/KARAF-7763
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> As discussed pax-logging already supports slf4j2 and the version defined in 
> karaf is exposed to all bom users. Upgrade this dependency to 2.0.9.



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


[jira] [Commented] (KARAF-7763) Upgrade to slf4j 2.0.12

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on PR #1780:
URL: https://github.com/apache/karaf/pull/1780#issuecomment-2025227935

   I will superseed with an updated PR.




> Upgrade to slf4j 2.0.12
> ---
>
> Key: KARAF-7763
> URL: https://issues.apache.org/jira/browse/KARAF-7763
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> As discussed pax-logging already supports slf4j2 and the version defined in 
> karaf is exposed to all bom users. Upgrade this dependency to 2.0.9.



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


[jira] [Commented] (KARAF-7799) Allow merging org.apache.karaf.features.xml definitions

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1818:
URL: https://github.com/apache/karaf/pull/1818




> Allow merging org.apache.karaf.features.xml definitions
> ---
>
> Key: KARAF-7799
> URL: https://issues.apache.org/jira/browse/KARAF-7799
> Project: Karaf
>  Issue Type: Improvement
>Reporter: Grzegorz Grzybek
>Assignee: Grzegorz Grzybek
>Priority: Major
> Fix For: 4.5.0, 4.4.6
>
>




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


[jira] [Commented] (KARAF-7799) Allow merging org.apache.karaf.features.xml definitions

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1817:
URL: https://github.com/apache/karaf/pull/1817




> Allow merging org.apache.karaf.features.xml definitions
> ---
>
> Key: KARAF-7799
> URL: https://issues.apache.org/jira/browse/KARAF-7799
> Project: Karaf
>  Issue Type: Improvement
>Reporter: Grzegorz Grzybek
>Assignee: Grzegorz Grzybek
>Priority: Major
> Fix For: 4.5.0, 4.4.6
>
>




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


[jira] [Commented] (KARAF-7773) WAB ServletContextListener.contextInitialized invoked multiple times during re-deploy (and with wrong context)

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre closed pull request #1788: [KARAF-7773] Upgrade to Pax Web 8.0.24 & 
Jetty 9.4.53.v20231009
URL: https://github.com/apache/karaf/pull/1788




> WAB ServletContextListener.contextInitialized invoked multiple times during 
> re-deploy (and with wrong context)
> --
>
> Key: KARAF-7773
> URL: https://issues.apache.org/jira/browse/KARAF-7773
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.4.3
>Reporter: Amichai Rothman
>Assignee: Grzegorz Grzybek
>Priority: Major
> Fix For: 4.4.5
>
> Attachments: paxweb.log, paxweb.trace.log, paxweb.trace2.log
>
>
> When touching a WAB bundle with a context listener as described belower, the 
> undeploy/deploy cycle, instead of just invoking destroy on the old context 
> and initialize on the new one, seems to destroy the old one, re-initialize 
> the old one (with the wrong "whiteboard extender" context), destroy it again, 
> initialize the new one (with correct context), and initialize the old one 
> once more (but without the filter init).
> I'll describe my full scenario, even though it's possible the issue can be 
> reproduced with a simpler setup:
> I have an application consisting of multiple bundles in the karaf deploy 
> folder. One of them is a WAB. It's web.xml only contains display-name and 
> listener-class with a ServletContextListener. The listener contextInitialized 
> implementation instantiates a custom Filter, whose class is imported from a 
> different app bundle:
> {code:java}
> Filter filter = new MyFilter();
> context.addFilter("MyFilter", filter)
> .addMappingForUrlPatterns(EnumSet.of(DispatcherType.REQUEST, 
> DispatcherType.FORWARD), true, "/*");
> {code}
> The filter's init method is invoked successfully and all is good.
> Then, I update/touch the WAB bundle in the deploy folder.
> This causes a thread named "paxweb-config-3-thread-1 (undeploy /)" to call 
> the listener's  contextDestroyed method as expected, but then it also 
> immediately calls the contextInitialized method again (still from the 
> undeploy thread, and still the same old listener instance), this time with 
> the servlet context of the pax-web-extender-whiteboard rather than the WAB 
> bundle. It creates another filter instance, whose init method gets invoked 
> with the pax-web-extender-whiteboard context as well (my init implementation 
> throws an exception at this point when the context is wrong, resources aren't 
> found etc.).
> Then a thread named "paxweb-config-3-thread-1 (deploy /)" (notice undeploy 
> changed to deploy) calls contextDestroyed, still with the extender context. 
> Finally, a new listener instance is craeted, contextInitialized is invoked 
> again, this time with the correct WAB context, followed by the filter's init 
> method. In addition, the old listener instance (which should be dead by now) 
> contextInitialized also gets invoked again, but not followed by the filter 
> init (maybe because it previously threw an exception on it? just guessing).



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


[jira] [Commented] (KARAF-7773) WAB ServletContextListener.contextInitialized invoked multiple times during re-deploy (and with wrong context)

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on PR #1788:
URL: https://github.com/apache/karaf/pull/1788#issuecomment-2025225559

   I will supersed with an updated PR. 




> WAB ServletContextListener.contextInitialized invoked multiple times during 
> re-deploy (and with wrong context)
> --
>
> Key: KARAF-7773
> URL: https://issues.apache.org/jira/browse/KARAF-7773
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.4.3
>Reporter: Amichai Rothman
>Assignee: Grzegorz Grzybek
>Priority: Major
> Fix For: 4.4.5
>
> Attachments: paxweb.log, paxweb.trace.log, paxweb.trace2.log
>
>
> When touching a WAB bundle with a context listener as described belower, the 
> undeploy/deploy cycle, instead of just invoking destroy on the old context 
> and initialize on the new one, seems to destroy the old one, re-initialize 
> the old one (with the wrong "whiteboard extender" context), destroy it again, 
> initialize the new one (with correct context), and initialize the old one 
> once more (but without the filter init).
> I'll describe my full scenario, even though it's possible the issue can be 
> reproduced with a simpler setup:
> I have an application consisting of multiple bundles in the karaf deploy 
> folder. One of them is a WAB. It's web.xml only contains display-name and 
> listener-class with a ServletContextListener. The listener contextInitialized 
> implementation instantiates a custom Filter, whose class is imported from a 
> different app bundle:
> {code:java}
> Filter filter = new MyFilter();
> context.addFilter("MyFilter", filter)
> .addMappingForUrlPatterns(EnumSet.of(DispatcherType.REQUEST, 
> DispatcherType.FORWARD), true, "/*");
> {code}
> The filter's init method is invoked successfully and all is good.
> Then, I update/touch the WAB bundle in the deploy folder.
> This causes a thread named "paxweb-config-3-thread-1 (undeploy /)" to call 
> the listener's  contextDestroyed method as expected, but then it also 
> immediately calls the contextInitialized method again (still from the 
> undeploy thread, and still the same old listener instance), this time with 
> the servlet context of the pax-web-extender-whiteboard rather than the WAB 
> bundle. It creates another filter instance, whose init method gets invoked 
> with the pax-web-extender-whiteboard context as well (my init implementation 
> throws an exception at this point when the context is wrong, resources aren't 
> found etc.).
> Then a thread named "paxweb-config-3-thread-1 (deploy /)" (notice undeploy 
> changed to deploy) calls contextDestroyed, still with the extender context. 
> Finally, a new listener instance is craeted, contextInitialized is invoked 
> again, this time with the correct WAB context, followed by the filter's init 
> method. In addition, the old listener instance (which should be dead by now) 
> contextInitialized also gets invoked again, but not followed by the filter 
> init (maybe because it previously threw an exception on it? just guessing).



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


[jira] [Commented] (KARAF-7804) Cannot register more than one HTTP proxy

2024-03-28 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1822:
URL: https://github.com/apache/karaf/pull/1822




> Cannot register more than one HTTP proxy
> 
>
> Key: KARAF-7804
> URL: https://issues.apache.org/jira/browse/KARAF-7804
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Aleksy Wróblewski
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> When you register more than one proxy into ProxyService, it crashes with the 
> following exception:
>  
> {code:java}
> org.osgi.service.http.NamespaceException: 
> ServletModel{id=ServletModel-49,name='org.apache.karaf.http.core.internal.proxy.ProxyServlet',alias='/kb',urlPatterns=[/kb/*],servlet=org.apache.karaf.http.core.internal.proxy.ProxyServlet@6bad2ac1,contexts=[
> {HS,OCM-48,default,/}]} can't be registered. 
> ServletContextModel\{id=ServletContextModel-2,contextPath='/'} already 
> contains servlet named 
> org.apache.karaf.http.core.internal.proxy.ProxyServlet: 
> ServletModel{id=ServletModel-47,name='org.apache.karaf.http.core.internal.proxy.ProxyServlet',alias='/webconsole',urlPatterns=[/webconsole/*],servlet=org.apache.karaf.http.core.internal.proxy.ProxyServlet@4ce53d9c,contexts=[\{HS,OCM-48,default,/}
> ]}
> {code}
>  
> The important part: *already* *contains servlet named 
> org.apache.karaf.http.core.internal.proxy.ProxyServlet*
>  
> This is because servlet-name is not specified when registering a new 
> ProxyServlet into HttpService. So PAX-WEB defaults to the fully qualified 
> class name, as specified in HTTP whiteboard spec section 140.4. 
> ([https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.http.whiteboard.html#service.http.whiteboard-i21223311).]
>  But the class name is the same for subsequent Servlets, so there is a 
> conflict.
> This is also easy to see when you modify 
> org.apache.karaf.itests.HttpTest.testProxy to register two proxies and check 
> if both are registered:
> {code:java}
> @Test
> public void testProxy() throws Exception {
> executeCommand("http:proxy-add /test1 http://karaf.apache.org";);
> executeCommand("http:proxy-add /test2 http://karaf.apache.org";); // not added
> String output = executeCommand("http:proxy-balancing-list");
> System.out.println(output);
> assertContains("random", output);
> assertContains("round-robin", output);
> output = executeCommand("http:proxy-list");
> System.out.println(output);
> assertContains("/test1", output);
> assertContains("/test2", output); // fails
> }
> {code}
>  



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


[jira] [Commented] (KARAF-7691) Status check has SocketException

2024-03-19 Thread ASF GitHub Bot (Jira)


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

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

i-thiemann opened a new pull request, #1827:
URL: https://github.com/apache/karaf/pull/1827

   (no comment)




> Status check has SocketException
> 
>
> Key: KARAF-7691
> URL: https://issues.apache.org/jira/browse/KARAF-7691
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Ian Thiemann
>Priority: Minor
>
> Calling a status check logs the following as well
> {code:java}
> o.a.k.m.ShutdownSocketThread | Karaf shutdown socket: read:
> java.net.SocketException: Connection reset
> at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
> at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
> at java.base/java.net.SocketInputStream.read(SocketInputStream.java:200)
> at 
> org.apache.karaf.main.ShutdownSocketThread.run(ShutdownSocketThread.java:101) 
> {code}
>  This seems to be caused by a socket being opened to check if it can connect 
> to the shutdown port and then immediately being closed without a proper 
> shutdown signal.
> This issue does not affect functionality, but it is overloading logs with 
> irrelevant exceptions which is an inconvenience.



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


[jira] [Commented] (KARAF-7780) Jakarta 10 features using requires/provides

2024-02-08 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on PR #1795:
URL: https://github.com/apache/karaf/pull/1795#issuecomment-1935447503

   I have it, testing it on camel-karaf (on my `REFACTORE` branch). I will have 
the PR soon, validated with camel-karaf (Camel 4.x using Jakarta namespace 
only). Give me a couple of days.




> Jakarta 10 features using requires/provides
> ---
>
> Key: KARAF-7780
> URL: https://issues.apache.org/jira/browse/KARAF-7780
> Project: Karaf
>  Issue Type: Improvement
>Reporter: Matt Pavlovich
>Priority: Minor
>




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


[jira] [Commented] (KARAF-7780) Jakarta 10 features using requires/provides

2024-02-08 Thread ASF GitHub Bot (Jira)


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

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

mattrpav commented on PR #1795:
URL: https://github.com/apache/karaf/pull/1795#issuecomment-1935280467

   @jbonofre any update on jakarta spec support? I think this PR is close and 
provides the benefit of separating spec api from impl. Thoughts?




> Jakarta 10 features using requires/provides
> ---
>
> Key: KARAF-7780
> URL: https://issues.apache.org/jira/browse/KARAF-7780
> Project: Karaf
>  Issue Type: Improvement
>Reporter: Matt Pavlovich
>Priority: Minor
>




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


[jira] [Commented] (KARAF-7804) Cannot register more than one HTTP proxy

2024-01-26 Thread ASF GitHub Bot (Jira)


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

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

awrb commented on PR #1822:
URL: https://github.com/apache/karaf/pull/1822#issuecomment-1912064664

   In the Jira ticket I explain the rationale behind this. For the servlet-name 
I think simply the proxy URL could be used (without slash), e.g. when proxying 
to `/external-api` the unique proxy servlet name is `external-api`.




> Cannot register more than one HTTP proxy
> 
>
> Key: KARAF-7804
> URL: https://issues.apache.org/jira/browse/KARAF-7804
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Aleksy Wróblewski
>Priority: Major
>
> When you register more than one proxy into ProxyService, it crashes with the 
> following exception:
>  
> {code:java}
> org.osgi.service.http.NamespaceException: 
> ServletModel{id=ServletModel-49,name='org.apache.karaf.http.core.internal.proxy.ProxyServlet',alias='/kb',urlPatterns=[/kb/*],servlet=org.apache.karaf.http.core.internal.proxy.ProxyServlet@6bad2ac1,contexts=[
> {HS,OCM-48,default,/}]} can't be registered. 
> ServletContextModel\{id=ServletContextModel-2,contextPath='/'} already 
> contains servlet named 
> org.apache.karaf.http.core.internal.proxy.ProxyServlet: 
> ServletModel{id=ServletModel-47,name='org.apache.karaf.http.core.internal.proxy.ProxyServlet',alias='/webconsole',urlPatterns=[/webconsole/*],servlet=org.apache.karaf.http.core.internal.proxy.ProxyServlet@4ce53d9c,contexts=[\{HS,OCM-48,default,/}
> ]}
> {code}
>  
> The important part: *already* *contains servlet named 
> org.apache.karaf.http.core.internal.proxy.ProxyServlet*
>  
> This is because servlet-name is not specified when registering a new 
> ProxyServlet into HttpService. So PAX-WEB defaults to the fully qualified 
> class name, as specified in HTTP whiteboard spec section 140.4. 
> ([https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.http.whiteboard.html#service.http.whiteboard-i21223311).]
>  But the class name is the same for subsequent Servlets, so there is a 
> conflict.
> This is also easy to see when you modify 
> org.apache.karaf.itests.HttpTest.testProxy to register two proxies and check 
> if both are registered:
> {code:java}
> @Test
> public void testProxy() throws Exception {
> executeCommand("http:proxy-add /test1 http://karaf.apache.org";);
> executeCommand("http:proxy-add /test2 http://karaf.apache.org";); // not added
> String output = executeCommand("http:proxy-balancing-list");
> System.out.println(output);
> assertContains("random", output);
> assertContains("round-robin", output);
> output = executeCommand("http:proxy-list");
> System.out.println(output);
> assertContains("/test1", output);
> assertContains("/test2", output); // fails
> }
> {code}
>  



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


[jira] [Commented] (KARAF-7804) Cannot register more than one HTTP proxy

2024-01-26 Thread ASF GitHub Bot (Jira)


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

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

awrb opened a new pull request, #1822:
URL: https://github.com/apache/karaf/pull/1822

   (no comment)




> Cannot register more than one HTTP proxy
> 
>
> Key: KARAF-7804
> URL: https://issues.apache.org/jira/browse/KARAF-7804
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Reporter: Aleksy Wróblewski
>Priority: Major
>
> When you register more than one proxy into ProxyService, it crashes with the 
> following exception:
>  
> {code:java}
> org.osgi.service.http.NamespaceException: 
> ServletModel{id=ServletModel-49,name='org.apache.karaf.http.core.internal.proxy.ProxyServlet',alias='/kb',urlPatterns=[/kb/*],servlet=org.apache.karaf.http.core.internal.proxy.ProxyServlet@6bad2ac1,contexts=[
> {HS,OCM-48,default,/}]} can't be registered. 
> ServletContextModel\{id=ServletContextModel-2,contextPath='/'} already 
> contains servlet named 
> org.apache.karaf.http.core.internal.proxy.ProxyServlet: 
> ServletModel{id=ServletModel-47,name='org.apache.karaf.http.core.internal.proxy.ProxyServlet',alias='/webconsole',urlPatterns=[/webconsole/*],servlet=org.apache.karaf.http.core.internal.proxy.ProxyServlet@4ce53d9c,contexts=[\{HS,OCM-48,default,/}
> ]}
> {code}
>  
> The important part: *already* *contains servlet named 
> org.apache.karaf.http.core.internal.proxy.ProxyServlet*
>  
> This is because servlet-name is not specified when registering a new 
> ProxyServlet into HttpService. So PAX-WEB defaults to the fully qualified 
> class name, as specified in HTTP whiteboard spec section 140.4. 
> ([https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.http.whiteboard.html#service.http.whiteboard-i21223311).]
>  But the class name is the same for subsequent Servlets, so there is a 
> conflict.
> This is also easy to see when you modify 
> org.apache.karaf.itests.HttpTest.testProxy to register two proxies and check 
> if both are registered:
> {code:java}
> @Test
> public void testProxy() throws Exception {
> executeCommand("http:proxy-add /test1 http://karaf.apache.org";);
> executeCommand("http:proxy-add /test2 http://karaf.apache.org";); // not added
> String output = executeCommand("http:proxy-balancing-list");
> System.out.println(output);
> assertContains("random", output);
> assertContains("round-robin", output);
> output = executeCommand("http:proxy-list");
> System.out.println(output);
> assertContains("/test1", output);
> assertContains("/test2", output); // fails
> }
> {code}
>  



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


[jira] [Commented] (KARAF-7758) Upgrade maven-surefire-plugin to 3.1.2

2024-01-15 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1819:
URL: https://github.com/apache/karaf/pull/1819




> Upgrade maven-surefire-plugin to 3.1.2
> --
>
> Key: KARAF-7758
> URL: https://issues.apache.org/jira/browse/KARAF-7758
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.5.0, 4.4.5, 4.3.11
>
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12342871
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12344396
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12342872
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12344668
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12344612
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12344613
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12351502
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12351809
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12352730
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12352998
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12351273
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12353294



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


[jira] [Commented] (KARAF-7800) Upgrade asciidoctor-maven-plugin to 2.2.5

2024-01-15 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1820:
URL: https://github.com/apache/karaf/pull/1820




> Upgrade asciidoctor-maven-plugin to 2.2.5
> -
>
> Key: KARAF-7800
> URL: https://issues.apache.org/jira/browse/KARAF-7800
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Affects Versions: 4.4.5
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> Current version (1.5.6) fails to build with Java 17. Upgrade to latest 
> version, which works out of the box.



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


[jira] [Commented] (KARAF-7800) Upgrade asciidoctor-maven-plugin to 2.2.5

2024-01-15 Thread ASF GitHub Bot (Jira)


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

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

rovarga opened a new pull request, #1820:
URL: https://github.com/apache/karaf/pull/1820

   (no comment)




> Upgrade asciidoctor-maven-plugin to 2.2.5
> -
>
> Key: KARAF-7800
> URL: https://issues.apache.org/jira/browse/KARAF-7800
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Affects Versions: 4.4.5
>Reporter: Robert Varga
>Priority: Major
>
> Current version (1.5.6) fails to build with Java 17. Upgrade to latest 
> version, which works out of the box.



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


[jira] [Commented] (KARAF-7758) Upgrade maven-surefire-plugin to 3.1.2

2024-01-15 Thread ASF GitHub Bot (Jira)


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

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

rovarga opened a new pull request, #1819:
URL: https://github.com/apache/karaf/pull/1819

   surefire has removed forkMode parameter, with the default being the 
equivalent
   of forkMode=single. Remove the explicit parameter, fixing a Maven warning.
   




> Upgrade maven-surefire-plugin to 3.1.2
> --
>
> Key: KARAF-7758
> URL: https://issues.apache.org/jira/browse/KARAF-7758
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.5.0, 4.4.5, 4.3.11
>
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12342871
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12344396
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12342872
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12344668
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12344612
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12344613
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12351502
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12351809
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12352730
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12352998
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12351273
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12353294



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


[jira] [Commented] (KARAF-7799) Allow merging org.apache.karaf.features.xml definitions

2024-01-15 Thread ASF GitHub Bot (Jira)


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

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

grgrzybek opened a new pull request, #1817:
URL: https://github.com/apache/karaf/pull/1817

   (no comment)




> Allow merging org.apache.karaf.features.xml definitions
> ---
>
> Key: KARAF-7799
> URL: https://issues.apache.org/jira/browse/KARAF-7799
> Project: Karaf
>  Issue Type: Improvement
>Reporter: Grzegorz Grzybek
>Assignee: Grzegorz Grzybek
>Priority: Major
> Fix For: 4.5.0, 4.4.6
>
>




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


[jira] [Commented] (KARAF-7799) Allow merging org.apache.karaf.features.xml definitions

2024-01-15 Thread ASF GitHub Bot (Jira)


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

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

grgrzybek opened a new pull request, #1818:
URL: https://github.com/apache/karaf/pull/1818

   (no comment)




> Allow merging org.apache.karaf.features.xml definitions
> ---
>
> Key: KARAF-7799
> URL: https://issues.apache.org/jira/browse/KARAF-7799
> Project: Karaf
>  Issue Type: Improvement
>Reporter: Grzegorz Grzybek
>Assignee: Grzegorz Grzybek
>Priority: Major
> Fix For: 4.5.0, 4.4.6
>
>




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


[jira] [Commented] (KARAF-7768) Remove karaf.specs

2024-01-13 Thread ASF GitHub Bot (Jira)


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

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

rovarga opened a new pull request, #1816:
URL: https://github.com/apache/karaf/pull/1816

   specs.locator and related logic just dances around the need to integrate 
with ServiceLoader. In OSGi world that's properly done with adding the 
appropriate metadata and therefore this magic should not be used.




> Remove karaf.specs
> --
>
> Key: KARAF-7768
> URL: https://issues.apache.org/jira/browse/KARAF-7768
> Project: Karaf
>  Issue Type: Improvement
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> As noted in https://lists.apache.org/thread/dhfzyyph43h9hqn9fd47qwh1krvx83tl, 
> it seems we can remove our patching of javax.xml(.ws) by including SPI Fly 
> directly in the system.
> Prototype whether this idea works and implement it if it does.



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


[jira] [Commented] (KARAF-7768) Implement Service Loader Mediator Specification by default

2024-01-13 Thread ASF GitHub Bot (Jira)


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

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

rovarga closed pull request #1784: [KARAF-7768]: Provide SPI Fly from framework
URL: https://github.com/apache/karaf/pull/1784




> Implement Service Loader Mediator Specification by default
> --
>
> Key: KARAF-7768
> URL: https://issues.apache.org/jira/browse/KARAF-7768
> Project: Karaf
>  Issue Type: Improvement
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> As noted in https://lists.apache.org/thread/dhfzyyph43h9hqn9fd47qwh1krvx83tl, 
> it seems we can remove our patching of javax.xml(.ws) by including SPI Fly 
> directly in the system.
> Prototype whether this idea works and implement it if it does.



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


[jira] [Commented] (KARAF-7768) Implement Service Loader Mediator Specification by default

2024-01-13 Thread ASF GitHub Bot (Jira)


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

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

rovarga commented on PR #1784:
URL: https://github.com/apache/karaf/pull/1784#issuecomment-1890765848

   This PR does the wrong thing, I will raise another one.




> Implement Service Loader Mediator Specification by default
> --
>
> Key: KARAF-7768
> URL: https://issues.apache.org/jira/browse/KARAF-7768
> Project: Karaf
>  Issue Type: Improvement
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> As noted in https://lists.apache.org/thread/dhfzyyph43h9hqn9fd47qwh1krvx83tl, 
> it seems we can remove our patching of javax.xml(.ws) by including SPI Fly 
> directly in the system.
> Prototype whether this idea works and implement it if it does.



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


[jira] [Commented] (KARAF-7768) Implement Service Loader Mediator Specification by default

2024-01-13 Thread ASF GitHub Bot (Jira)


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

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

rovarga commented on code in PR #1784:
URL: https://github.com/apache/karaf/pull/1784#discussion_r1451604246


##
assemblies/features/framework/src/main/feature/feature.xml:
##
@@ -45,6 +45,20 @@
 mvn:org.apache.felix/org.apache.felix.fileinstall/${felix.fileinstall.version}
  Implement Service Loader Mediator Specification by default
> --
>
> Key: KARAF-7768
> URL: https://issues.apache.org/jira/browse/KARAF-7768
> Project: Karaf
>  Issue Type: Improvement
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> As noted in https://lists.apache.org/thread/dhfzyyph43h9hqn9fd47qwh1krvx83tl, 
> it seems we can remove our patching of javax.xml(.ws) by including SPI Fly 
> directly in the system.
> Prototype whether this idea works and implement it if it does.



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


[jira] [Commented] (KARAF-7798) Documentation to add headers to the wrap deployer missing escape character

2024-01-12 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1815:
URL: https://github.com/apache/karaf/pull/1815




> Documentation to add headers to the wrap deployer missing escape character
> --
>
> Key: KARAF-7798
> URL: https://issues.apache.org/jira/browse/KARAF-7798
> Project: Karaf
>  Issue Type: Improvement
>  Components: karaf
>Affects Versions: 4.4.4, 4.4.5
> Environment: Karaf 4.4.4
> MacOS 12.7
>Reporter: Paul Spencer
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
> Fix For: 4.5.0
>
>
> The documentation to add headers to the wrap deployer is missing the escape 
> character required by some OS.
> [https://karaf.apache.org/manual/latest/#_wrap_deployer]
> The example:
> {{bundle:install -s 
> 'wrap:mvn:jboss/jbossall-client/4.2.3.GA/$Bundle-SymbolicName=jbossall-client&Bundle-Version=4.2.3.GA&Export-Package=org.jboss.remoting;version="4.2.3.GA",!*'}}
> should be:
> {{bundle:install -s 
> 'wrap:mvn:jboss/jbossall-client/4.2.3.GA\$Bundle-SymbolicName=jbossall-client\&Bundle-Version=4.2.3.GA&Export-Package=org.jboss.remoting;version="4.2.3.GA",!*'}}



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


[jira] [Commented] (KARAF-7798) Documentation to add headers to the wrap deployer missing escape character

2024-01-12 Thread ASF GitHub Bot (Jira)


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

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

paulsp opened a new pull request, #1815:
URL: https://github.com/apache/karaf/pull/1815

   (no comment)




> Documentation to add headers to the wrap deployer missing escape character
> --
>
> Key: KARAF-7798
> URL: https://issues.apache.org/jira/browse/KARAF-7798
> Project: Karaf
>  Issue Type: Improvement
>  Components: karaf
>Affects Versions: 4.4.4, 4.4.5
> Environment: Karaf 4.4.4
> MacOS 12.7
>Reporter: Paul Spencer
>Priority: Minor
>
> The documentation to add headers to the wrap deployer is missing the escape 
> character required by some OS.
> [https://karaf.apache.org/manual/latest/#_wrap_deployer]
> The example:
> {{bundle:install -s 
> 'wrap:mvn:jboss/jbossall-client/4.2.3.GA/$Bundle-SymbolicName=jbossall-client&Bundle-Version=4.2.3.GA&Export-Package=org.jboss.remoting;version="4.2.3.GA",!*'}}
> should be:
> {{bundle:install -s 
> 'wrap:mvn:jboss/jbossall-client/4.2.3.GA\$Bundle-SymbolicName=jbossall-client\&Bundle-Version=4.2.3.GA&Export-Package=org.jboss.remoting;version="4.2.3.GA",!*'}}



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


[jira] [Commented] (KARAF-6210) NoClassDefFoundError: org/apache/karaf/shell/api/action/Action when starting Karaf

2024-01-08 Thread ASF GitHub Bot (Jira)


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

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

RangerRick commented on PR #1804:
URL: https://github.com/apache/karaf/pull/1804#issuecomment-1881814441

   @jbonofre Awesome, thanks! I got backed up over the holidays and never had a 
chance to look further but I was going down the same path (although not as 
in-depth as what you ended up doing) before I set it aside. 




> NoClassDefFoundError: org/apache/karaf/shell/api/action/Action when starting 
> Karaf
> --
>
> Key: KARAF-6210
> URL: https://issues.apache.org/jira/browse/KARAF-6210
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.2.4, 4.3.2, 4.4.3
> Environment: Stock Karaf 4.2.4 on Windows 10 with latest Oracle JDK 8.
>Reporter: Amichai Rothman
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.5.0, 4.4.5
>
> Attachments: karaf_command_not_found.log
>
>
> When starting karaf using equinox and some bundle in the deploy folder, many 
> shell commands (such as bundle:* and others) are not recognized, and the log 
> shows NoClassDefFoundError: org/apache/karaf/shell/api/action/Action. Some 
> commands don't work, but others (e.g. shell:*) do.
> This happens consistently on Windows 10, but not on Linux, not sure why.
>  
> Steps to recreate:
> 1. Extract stock Karaf 4.2.4.
> 2. In etc/config.properties change karaf.framework=felix to 
> karaf.framework=equinox.
> 3. Place org.apache.aries.transaction.blueprint-2.2.0.jar (from maven) in 
> deploy folder. This is not the only bundle it happens with, just a public one 
> I found for this example. From several I tried, some recreated the issue and 
> some did not. The bundle is not resolved due to missing dependencies.
> 4. Start Karaf.
> 5. Try to run bundle:list and it'll say command not found. Or look at the 
> karaf log and see "java.lang.NoClassDefFoundError: 
> org/apache/karaf/shell/api/action/Action". Use shell completion to see that 
> some commands are available but others are not.
>  



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


[jira] [Commented] (KARAF-7775) Installing shell feature causes org.apache.karaf.config.core refresh

2024-01-04 Thread ASF GitHub Bot (Jira)


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

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

jbonofre merged PR #1814:
URL: https://github.com/apache/karaf/pull/1814




> Installing shell feature causes org.apache.karaf.config.core refresh
> 
>
> Key: KARAF-7775
> URL: https://issues.apache.org/jira/browse/KARAF-7775
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.4.4
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> Observed in OpenDaylight, probably for quite some time, but now it made 
> debugging a bit not nice.
> What we have is the following install:
> {noformat}
> 2023-10-23T15:41:16,239 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 | Changes to perform:
> 2023-10-23T15:41:16,239 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   Region: root
> 2023-10-23T15:41:16,240 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 | Bundles to 
> install:
> 2023-10-23T15:41:16,240 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.opendaylight.odlparent/karaf.branding/12.0.9
> 2023-10-23T15:41:16,240 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.3.2
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.10.3
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.1.5
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.2.0
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.2.0
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.1.8
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.whiteboard/1.2.0
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.proxy/org.apache.aries.proxy/1.1.13
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.quiesce/org.apache.aries.quiesce.api/1.0.0
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries/org.apache.aries.util/1.1.3
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.felix/org.apache.felix.scr/2.2.6
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/4.4.4
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.core/4.4.4
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |  

[jira] [Commented] (KARAF-7775) Installing shell feature causes org.apache.karaf.config.core refresh

2024-01-03 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on PR #1814:
URL: https://github.com/apache/karaf/pull/1814#issuecomment-1876489783

   I'm fixing the `ConfigManagedServiceFactoryTest` test.




> Installing shell feature causes org.apache.karaf.config.core refresh
> 
>
> Key: KARAF-7775
> URL: https://issues.apache.org/jira/browse/KARAF-7775
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.4.4
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> Observed in OpenDaylight, probably for quite some time, but now it made 
> debugging a bit not nice.
> What we have is the following install:
> {noformat}
> 2023-10-23T15:41:16,239 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 | Changes to perform:
> 2023-10-23T15:41:16,239 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   Region: root
> 2023-10-23T15:41:16,240 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 | Bundles to 
> install:
> 2023-10-23T15:41:16,240 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.opendaylight.odlparent/karaf.branding/12.0.9
> 2023-10-23T15:41:16,240 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.3.2
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.10.3
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.1.5
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.2.0
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.2.0
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.1.8
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.whiteboard/1.2.0
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.proxy/org.apache.aries.proxy/1.1.13
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.quiesce/org.apache.aries.quiesce.api/1.0.0
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries/org.apache.aries.util/1.1.3
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.felix/org.apache.felix.scr/2.2.6
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/4.4.4
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.core/4.4.4
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | 

[jira] [Commented] (KARAF-6210) NoClassDefFoundError: org/apache/karaf/shell/api/action/Action when starting Karaf

2024-01-03 Thread ASF GitHub Bot (Jira)


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

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

jbonofre commented on PR #1804:
URL: https://github.com/apache/karaf/pull/1804#issuecomment-1875618334

   Superseded by #1814 




> NoClassDefFoundError: org/apache/karaf/shell/api/action/Action when starting 
> Karaf
> --
>
> Key: KARAF-6210
> URL: https://issues.apache.org/jira/browse/KARAF-6210
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.2.4, 4.3.2, 4.4.3
> Environment: Stock Karaf 4.2.4 on Windows 10 with latest Oracle JDK 8.
>Reporter: Amichai Rothman
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: karaf_command_not_found.log
>
>
> When starting karaf using equinox and some bundle in the deploy folder, many 
> shell commands (such as bundle:* and others) are not recognized, and the log 
> shows NoClassDefFoundError: org/apache/karaf/shell/api/action/Action. Some 
> commands don't work, but others (e.g. shell:*) do.
> This happens consistently on Windows 10, but not on Linux, not sure why.
>  
> Steps to recreate:
> 1. Extract stock Karaf 4.2.4.
> 2. In etc/config.properties change karaf.framework=felix to 
> karaf.framework=equinox.
> 3. Place org.apache.aries.transaction.blueprint-2.2.0.jar (from maven) in 
> deploy folder. This is not the only bundle it happens with, just a public one 
> I found for this example. From several I tried, some recreated the issue and 
> some did not. The bundle is not resolved due to missing dependencies.
> 4. Start Karaf.
> 5. Try to run bundle:list and it'll say command not found. Or look at the 
> karaf log and see "java.lang.NoClassDefFoundError: 
> org/apache/karaf/shell/api/action/Action". Use shell completion to see that 
> some commands are available but others are not.
>  



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


[jira] [Commented] (KARAF-7775) Installing shell feature causes org.apache.karaf.config.core refresh

2024-01-03 Thread ASF GitHub Bot (Jira)


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

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

jbonofre opened a new pull request, #1814:
URL: https://github.com/apache/karaf/pull/1814

   (no comment)




> Installing shell feature causes org.apache.karaf.config.core refresh
> 
>
> Key: KARAF-7775
> URL: https://issues.apache.org/jira/browse/KARAF-7775
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.4.4
>Reporter: Robert Varga
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> Observed in OpenDaylight, probably for quite some time, but now it made 
> debugging a bit not nice.
> What we have is the following install:
> {noformat}
> 2023-10-23T15:41:16,239 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 | Changes to perform:
> 2023-10-23T15:41:16,239 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   Region: root
> 2023-10-23T15:41:16,240 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 | Bundles to 
> install:
> 2023-10-23T15:41:16,240 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.opendaylight.odlparent/karaf.branding/12.0.9
> 2023-10-23T15:41:16,240 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.3.2
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.10.3
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.1.5
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.2.0
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.2.0
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.1.8
> 2023-10-23T15:41:16,241 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.jmx/org.apache.aries.jmx.whiteboard/1.2.0
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.proxy/org.apache.aries.proxy/1.1.13
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries.quiesce/org.apache.aries.quiesce.api/1.0.0
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.aries/org.apache.aries.util/1.1.3
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.felix/org.apache.felix.scr/2.2.6
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/4.4.4
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.karaf.features.core - 4.4.4 |   
> mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.core/4.4.4
> 2023-10-23T15:41:16,242 | INFO  | features-3-thread-1 | FeaturesServiceImpl   
>| 17 - org.apache.k

  1   2   3   4   5   6   7   8   9   10   >