[jira] [Commented] (KARAF-7634) Adding Aries JaxRS feature duplicates features

2023-01-22 Thread Paul Spencer (Jira)


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

Paul Spencer commented on KARAF-7634:
-

This issue appears to have been resolved in 4.4.3.

> Adding Aries JaxRS feature duplicates features
> --
>
> Key: KARAF-7634
> URL: https://issues.apache.org/jira/browse/KARAF-7634
> Project: Karaf
>  Issue Type: Documentation
>  Components: karaf
>Affects Versions: 4.4.2
> Environment: {{karaf@root()> info}}
> {{Karaf}}
> {{  Karaf version               4.4.2}}
> {{  Karaf home                  /Users/paul/Downloads/apache-karaf-4.4.2}}
> {{  Karaf base                  /Users/paul/Downloads/apache-karaf-4.4.2}}
> {{  OSGi Framework              org.apache.felix.framework-7.0.5}}
> {{JVM}}
> {{  Java Virtual Machine        OpenJDK 64-Bit Server VM version 11.0.2+9}}
> {{  Version                     11.0.2}}
> {{  Vendor                      Oracle Corporation}}
> {{  Pid                         6517}}
> {{  Uptime                      21 minutes}}
> {{  Process CPU time            20.598 seconds}}
> {{  Process CPU load            0.00}}
> {{  System CPU load             0.00}}
> {{  Open file descriptors       90}}
> {{  Max file descriptors        10,240}}
> {{  Total compile time          14.524 seconds}}
> {{Threads}}
> {{  Live threads                60}}
> {{  Daemon threads              52}}
> {{  Peak                        106}}
> {{  Total started               198}}
> {{Memory}}
> {{  Current heap size           49,871 kbytes}}
> {{  Maximum heap size           16,777,216 kbytes}}
> {{  Committed heap size         1,261,568 kbytes}}
> {{  Pending objects             0}}
> {{  Garbage collector           Name = 'G1 Young Generation', Collections = 
> 5, Time = 0.035 seconds}}
> {{  Garbage collector           Name = 'G1 Old Generation', Collections = 0, 
> Time = 0.000 seconds}}
> {{Classes}}
> {{  Current classes loaded      8,578}}
> {{  Total classes loaded        8,579}}
> {{  Total classes unloaded      1}}
> {{Operating system}}
> {{  Name                        Mac OS X version 10.16}}
> {{  Architecture                x86_64}}
> {{  Processors                  16}}
> {{karaf@root()>                                                               
>                                                                               
>                                    }}
>Reporter: Paul Spencer
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> Simply adding the org.apache.aries.jax.rs/1.0.6 feature repo duplicates 
> existing pax and other features.
>  
> To recreate:
>  # Extract Karaf from the distribution
>  # Start Karaf using
> bin/karaf
>  # List features using
> feature:list | grep  pax-web | sort
>  # Add the Aries JaxRS repo using
> feature:repo-add 
> mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.0.6/xml 
>  # List features using to see the duplicate features
> feature:list | grep  pax-web | sort
> .
> ** Example below
> {{        __ __                        }}
> {{       / //_/ __ _/ __/      }}
> {{      / ,<  / __ `/ ___/ __ `/ /_        }}
> {{     / /| |/ /_/ / /  / /_/ / __/        }}
> {{    /_/ |_|\__,_/_/   \__,_/_/         }}
> {{  Apache Karaf (4.4.2)}}
> {{Hit '' for a list of available commands}}
> {{and '[cmd] --help' for help on a specific command.}}
> {{Hit '' or type 'system:shutdown' or 'logout' to shutdown Karaf.}}
> {{karaf@root()>  feature:list | grep pax-web | sort                           
>                                                                               
>                                    }}
> {{pax-web-core                      │ 8.0.11           │          │ 
> Uninstalled │ org.ops4j.pax.web-8.0.11          │ Core Pax Web bundles}}
> {{pax-web-http                      │ 8.0.11           │          │ 
> Uninstalled │ standard-4.4.2                    │ Pax Web OSGi HTTP Service}}
> {{pax-web-http-jetty                │ 8.0.11           │          │ 
> Uninstalled │ org.ops4j.pax.web-8.0.11          │ Http Service implementation 
> using Jetty 9}}
> {{pax-web-http-tomcat               │ 8.0.11           │          │ 
> Uninstalled │ org.ops4j.pax.web-8.0.11          │ Http Service implementation 
> using Tomcat 9}}
> {{pax-web-http-undertow             │ 8.0.11           │          │ 
> Uninstalled │ org.ops4j.pax.web-8.0.11          │ Http Service implementation 
> using Undertow 2}}
> {{pax-web-http-war                  │ 4.4.2            │          │ 
> Uninstalled │ standard-4.4.2                    │ Turn Karaf as a full 
> WebContainer}}
> {{pax-web-http-whiteboard           │ 8.0.11           │          │ 
> Uninstalled │ standard-4.4.2                    │ Pax Web OSGi HTTP 
> Whiteboard support}}
> {{pax-web-jetty  

[jira] [Commented] (KARAF-7634) Adding Aries JaxRS feature duplicates features

2023-01-06 Thread Jira


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

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

Just a note: Apache Karaf 4.4.3 has been upgraded to use the new Aries JAX-RS 
Whiteboard 2.0.2.

> Adding Aries JaxRS feature duplicates features
> --
>
> Key: KARAF-7634
> URL: https://issues.apache.org/jira/browse/KARAF-7634
> Project: Karaf
>  Issue Type: Documentation
>  Components: karaf
>Affects Versions: 4.4.2
> Environment: {{karaf@root()> info}}
> {{Karaf}}
> {{  Karaf version               4.4.2}}
> {{  Karaf home                  /Users/paul/Downloads/apache-karaf-4.4.2}}
> {{  Karaf base                  /Users/paul/Downloads/apache-karaf-4.4.2}}
> {{  OSGi Framework              org.apache.felix.framework-7.0.5}}
> {{JVM}}
> {{  Java Virtual Machine        OpenJDK 64-Bit Server VM version 11.0.2+9}}
> {{  Version                     11.0.2}}
> {{  Vendor                      Oracle Corporation}}
> {{  Pid                         6517}}
> {{  Uptime                      21 minutes}}
> {{  Process CPU time            20.598 seconds}}
> {{  Process CPU load            0.00}}
> {{  System CPU load             0.00}}
> {{  Open file descriptors       90}}
> {{  Max file descriptors        10,240}}
> {{  Total compile time          14.524 seconds}}
> {{Threads}}
> {{  Live threads                60}}
> {{  Daemon threads              52}}
> {{  Peak                        106}}
> {{  Total started               198}}
> {{Memory}}
> {{  Current heap size           49,871 kbytes}}
> {{  Maximum heap size           16,777,216 kbytes}}
> {{  Committed heap size         1,261,568 kbytes}}
> {{  Pending objects             0}}
> {{  Garbage collector           Name = 'G1 Young Generation', Collections = 
> 5, Time = 0.035 seconds}}
> {{  Garbage collector           Name = 'G1 Old Generation', Collections = 0, 
> Time = 0.000 seconds}}
> {{Classes}}
> {{  Current classes loaded      8,578}}
> {{  Total classes loaded        8,579}}
> {{  Total classes unloaded      1}}
> {{Operating system}}
> {{  Name                        Mac OS X version 10.16}}
> {{  Architecture                x86_64}}
> {{  Processors                  16}}
> {{karaf@root()>                                                               
>                                                                               
>                                    }}
>Reporter: Paul Spencer
>Priority: Major
>
> Simply adding the org.apache.aries.jax.rs/1.0.6 feature repo duplicates 
> existing pax and other features.
>  
> To recreate:
>  # Extract Karaf from the distribution
>  # Start Karaf using
> bin/karaf
>  # List features using
> feature:list | grep  pax-web | sort
>  # Add the Aries JaxRS repo using
> feature:repo-add 
> mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.0.6/xml 
>  # List features using to see the duplicate features
> feature:list | grep  pax-web | sort
> .
> ** Example below
> {{        __ __                        }}
> {{       / //_/ __ _/ __/      }}
> {{      / ,<  / __ `/ ___/ __ `/ /_        }}
> {{     / /| |/ /_/ / /  / /_/ / __/        }}
> {{    /_/ |_|\__,_/_/   \__,_/_/         }}
> {{  Apache Karaf (4.4.2)}}
> {{Hit '' for a list of available commands}}
> {{and '[cmd] --help' for help on a specific command.}}
> {{Hit '' or type 'system:shutdown' or 'logout' to shutdown Karaf.}}
> {{karaf@root()>  feature:list | grep pax-web | sort                           
>                                                                               
>                                    }}
> {{pax-web-core                      │ 8.0.11           │          │ 
> Uninstalled │ org.ops4j.pax.web-8.0.11          │ Core Pax Web bundles}}
> {{pax-web-http                      │ 8.0.11           │          │ 
> Uninstalled │ standard-4.4.2                    │ Pax Web OSGi HTTP Service}}
> {{pax-web-http-jetty                │ 8.0.11           │          │ 
> Uninstalled │ org.ops4j.pax.web-8.0.11          │ Http Service implementation 
> using Jetty 9}}
> {{pax-web-http-tomcat               │ 8.0.11           │          │ 
> Uninstalled │ org.ops4j.pax.web-8.0.11          │ Http Service implementation 
> using Tomcat 9}}
> {{pax-web-http-undertow             │ 8.0.11           │          │ 
> Uninstalled │ org.ops4j.pax.web-8.0.11          │ Http Service implementation 
> using Undertow 2}}
> {{pax-web-http-war                  │ 4.4.2            │          │ 
> Uninstalled │ standard-4.4.2                    │ Turn Karaf as a full 
> WebContainer}}
> {{pax-web-http-whiteboard           │ 8.0.11           │          │ 
> Uninstalled │ standard-4.4.2                    │ Pax Web OSGi HTTP 
> Whiteboard support}}