[jira] [Work logged] (ARTEMIS-3433) AMQ224068 on stop due to No OpenSSLContextFactory registered

2021-10-21 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3433?focusedWorklogId=668205=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-668205
 ]

ASF GitHub Bot logged work on ARTEMIS-3433:
---

Author: ASF GitHub Bot
Created on: 21/Oct/21 09:35
Start Date: 21/Oct/21 09:35
Worklog Time Spent: 10m 
  Work Description: gtully merged pull request #3806:
URL: https://github.com/apache/activemq-artemis/pull/3806


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 668205)
Time Spent: 50m  (was: 40m)

> AMQ224068 on stop due to No OpenSSLContextFactory registered
> 
>
> Key: ARTEMIS-3433
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3433
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.18.0
>Reporter: Rico Neubauer
>Assignee: Gary Tully
>Priority: Major
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> ARTEMIS-3117 introduced code in 2.18.0 to invoke 
> _OpenSSLContextFactoryProvider.getOpenSSLContextFactory().clearSslContexts();_
>  during stop of _RemotingServiceImpl_. See below for whole stacktrace.
> This throws a NullPointerException for us running inside Karaf on stop due to 
> the OpenSSLContextFactory being null at that point in time.
>  
> ARTEMIS-2791 was somewhat similar to this.
> Requesting to not fail on the OpenSSLContextFactory being null during stop.
> {code:java}
> {code:java}
> INFO  org.apache.activemq.artemis.osgi  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ581002: 
> Required protocol OPENWIRE was removed for broker local. Stopping broker. 
> INFO  org.apache.activemq.artemis.osgi  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ581002: 
> Required protocol OPENWIRE was removed for broker local. Stopping broker. 
> ERROR  org.apache.activemq.artemis.core.server  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ224068: 
> Unable to stop component: 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpljava.lang.ExceptionInInitializerError:
>  null at 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.stop(RemotingServiceImpl.java:390)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1287)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1153)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1137)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:948)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:942)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.OsgiBroker$ServerTrackerCallBackImpl.stop(OsgiBroker.java:242)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.protocolRemoved(ProtocolTracker.java:122)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:94)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:38)
>  ~[?:?] at 
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969)
>  ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871)
>  ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) 
> ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:380) 
> ~[osgi.core-7.0.0.jar:?] at 
> org.apache.activemq.artemis.osgi.OsgiBroker.stop(OsgiBroker.java:147) ~[?:?] 
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[?:?] at 
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  ~[?:?] at 
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at 
> org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244)
>  ~[?:?] at 
> org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
>  ~[?:?] at 
> org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685)
>  

[jira] [Work logged] (ARTEMIS-3433) AMQ224068 on stop due to No OpenSSLContextFactory registered

2021-10-20 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3433?focusedWorklogId=66=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-66
 ]

ASF GitHub Bot logged work on ARTEMIS-3433:
---

Author: ASF GitHub Bot
Created on: 20/Oct/21 14:01
Start Date: 20/Oct/21 14:01
Worklog Time Spent: 10m 
  Work Description: gtully opened a new pull request #3806:
URL: https://github.com/apache/activemq-artemis/pull/3806


   …aths


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 66)
Time Spent: 40m  (was: 0.5h)

> AMQ224068 on stop due to No OpenSSLContextFactory registered
> 
>
> Key: ARTEMIS-3433
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3433
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.18.0
>Reporter: Rico Neubauer
>Priority: Major
> Fix For: 2.19.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> ARTEMIS-3117 introduced code in 2.18.0 to invoke 
> _OpenSSLContextFactoryProvider.getOpenSSLContextFactory().clearSslContexts();_
>  during stop of _RemotingServiceImpl_. See below for whole stacktrace.
> This throws a NullPointerException for us running inside Karaf on stop due to 
> the OpenSSLContextFactory being null at that point in time.
>  
> ARTEMIS-2791 was somewhat similar to this.
> Requesting to not fail on the OpenSSLContextFactory being null during stop.
> {code:java}
> {code:java}
> INFO  org.apache.activemq.artemis.osgi  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ581002: 
> Required protocol OPENWIRE was removed for broker local. Stopping broker. 
> INFO  org.apache.activemq.artemis.osgi  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ581002: 
> Required protocol OPENWIRE was removed for broker local. Stopping broker. 
> ERROR  org.apache.activemq.artemis.core.server  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ224068: 
> Unable to stop component: 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpljava.lang.ExceptionInInitializerError:
>  null at 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.stop(RemotingServiceImpl.java:390)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1287)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1153)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1137)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:948)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:942)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.OsgiBroker$ServerTrackerCallBackImpl.stop(OsgiBroker.java:242)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.protocolRemoved(ProtocolTracker.java:122)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:94)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:38)
>  ~[?:?] at 
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969)
>  ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871)
>  ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) 
> ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:380) 
> ~[osgi.core-7.0.0.jar:?] at 
> org.apache.activemq.artemis.osgi.OsgiBroker.stop(OsgiBroker.java:147) ~[?:?] 
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[?:?] at 
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  ~[?:?] at 
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at 
> org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244)
>  ~[?:?] at 
> org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
>  ~[?:?] at 
> 

[jira] [Work logged] (ARTEMIS-3433) AMQ224068 on stop due to No OpenSSLContextFactory registered

2021-10-04 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3433?focusedWorklogId=659845=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-659845
 ]

ASF GitHub Bot logged work on ARTEMIS-3433:
---

Author: ASF GitHub Bot
Created on: 04/Oct/21 19:47
Start Date: 04/Oct/21 19:47
Worklog Time Spent: 10m 
  Work Description: asfgit closed pull request #3762:
URL: https://github.com/apache/activemq-artemis/pull/3762


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 659845)
Time Spent: 0.5h  (was: 20m)

> AMQ224068 on stop due to No OpenSSLContextFactory registered
> 
>
> Key: ARTEMIS-3433
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3433
> Project: ActiveMQ Artemis
>  Issue Type: Improvement
>Affects Versions: 2.18.0
>Reporter: Rico Neubauer
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> ARTEMIS-3117 introduced code in 2.18.0 to invoke 
> _OpenSSLContextFactoryProvider.getOpenSSLContextFactory().clearSslContexts();_
>  during stop of _RemotingServiceImpl_. See below for whole stacktrace.
> This throws a NullPointerException for us running inside Karaf on stop due to 
> the OpenSSLContextFactory being null at that point in time.
>  
> ARTEMIS-2791 was somewhat similar to this.
> Requesting to not fail on the OpenSSLContextFactory being null during stop.
> {code:java}
> {code:java}
> INFO  org.apache.activemq.artemis.osgi  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ581002: 
> Required protocol OPENWIRE was removed for broker local. Stopping broker. 
> INFO  org.apache.activemq.artemis.osgi  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ581002: 
> Required protocol OPENWIRE was removed for broker local. Stopping broker. 
> ERROR  org.apache.activemq.artemis.core.server  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ224068: 
> Unable to stop component: 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpljava.lang.ExceptionInInitializerError:
>  null at 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.stop(RemotingServiceImpl.java:390)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1287)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1153)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1137)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:948)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:942)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.OsgiBroker$ServerTrackerCallBackImpl.stop(OsgiBroker.java:242)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.protocolRemoved(ProtocolTracker.java:122)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:94)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:38)
>  ~[?:?] at 
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969)
>  ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871)
>  ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) 
> ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:380) 
> ~[osgi.core-7.0.0.jar:?] at 
> org.apache.activemq.artemis.osgi.OsgiBroker.stop(OsgiBroker.java:147) ~[?:?] 
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[?:?] at 
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  ~[?:?] at 
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at 
> org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244)
>  ~[?:?] at 
> org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
>  ~[?:?] at 
> org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685)
>  ~[?:?] at 
> 

[jira] [Work logged] (ARTEMIS-3433) AMQ224068 on stop due to No OpenSSLContextFactory registered

2021-09-21 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3433?focusedWorklogId=653749=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-653749
 ]

ASF GitHub Bot logged work on ARTEMIS-3433:
---

Author: ASF GitHub Bot
Created on: 21/Sep/21 18:44
Start Date: 21/Sep/21 18:44
Worklog Time Spent: 10m 
  Work Description: jbertram commented on pull request #3762:
URL: https://github.com/apache/activemq-artemis/pull/3762#issuecomment-924273703


   I'll add some context.
   
   I couldn't figure out to modify the artemis-core-client jar and remove 
META-INF/services/org.apache.activemq.artemis.spi.core.remoting.ssl.OpenSSLContextFactory
 to generate the NPE. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 653749)
Time Spent: 20m  (was: 10m)

> AMQ224068 on stop due to No OpenSSLContextFactory registered
> 
>
> Key: ARTEMIS-3433
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3433
> Project: ActiveMQ Artemis
>  Issue Type: Improvement
>Affects Versions: 2.18.0
>Reporter: Rico Neubauer
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> ARTEMIS-3117 introduced code in 2.18.0 to invoke 
> _OpenSSLContextFactoryProvider.getOpenSSLContextFactory().clearSslContexts();_
>  during stop of _RemotingServiceImpl_. See below for whole stacktrace.
> This throws a NullPointerException for us running inside Karaf on stop due to 
> the OpenSSLContextFactory being null at that point in time.
>  
> ARTEMIS-2791 was somewhat similar to this.
> Requesting to not fail on the OpenSSLContextFactory being null during stop.
> {code:java}
> {code:java}
> INFO  org.apache.activemq.artemis.osgi  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ581002: 
> Required protocol OPENWIRE was removed for broker local. Stopping broker. 
> INFO  org.apache.activemq.artemis.osgi  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ581002: 
> Required protocol OPENWIRE was removed for broker local. Stopping broker. 
> ERROR  org.apache.activemq.artemis.core.server  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ224068: 
> Unable to stop component: 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpljava.lang.ExceptionInInitializerError:
>  null at 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.stop(RemotingServiceImpl.java:390)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1287)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1153)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1137)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:948)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:942)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.OsgiBroker$ServerTrackerCallBackImpl.stop(OsgiBroker.java:242)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.protocolRemoved(ProtocolTracker.java:122)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:94)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:38)
>  ~[?:?] at 
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969)
>  ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871)
>  ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) 
> ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:380) 
> ~[osgi.core-7.0.0.jar:?] at 
> org.apache.activemq.artemis.osgi.OsgiBroker.stop(OsgiBroker.java:147) ~[?:?] 
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[?:?] at 
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  ~[?:?] at 
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at 
> 

[jira] [Work logged] (ARTEMIS-3433) AMQ224068 on stop due to No OpenSSLContextFactory registered

2021-09-21 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3433?focusedWorklogId=653675=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-653675
 ]

ASF GitHub Bot logged work on ARTEMIS-3433:
---

Author: ASF GitHub Bot
Created on: 21/Sep/21 16:23
Start Date: 21/Sep/21 16:23
Worklog Time Spent: 10m 
  Work Description: clebertsuconic commented on pull request #3762:
URL: https://github.com/apache/activemq-artemis/pull/3762#issuecomment-924148165






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 653675)
Remaining Estimate: 0h
Time Spent: 10m

> AMQ224068 on stop due to No OpenSSLContextFactory registered
> 
>
> Key: ARTEMIS-3433
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3433
> Project: ActiveMQ Artemis
>  Issue Type: Improvement
>Affects Versions: 2.18.0
>Reporter: Rico Neubauer
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> ARTEMIS-3117 introduced code in 2.18.0 to invoke 
> _OpenSSLContextFactoryProvider.getOpenSSLContextFactory().clearSslContexts();_
>  during stop of _RemotingServiceImpl_. See below for whole stacktrace.
> This throws a NullPointerException for us running inside Karaf on stop due to 
> the OpenSSLContextFactory being null at that point in time.
>  
> ARTEMIS-2791 was somewhat similar to this.
> Requesting to not fail on the OpenSSLContextFactory being null during stop.
> {code:java}
> {code:java}
> INFO  org.apache.activemq.artemis.osgi  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ581002: 
> Required protocol OPENWIRE was removed for broker local. Stopping broker. 
> INFO  org.apache.activemq.artemis.osgi  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ581002: 
> Required protocol OPENWIRE was removed for broker local. Stopping broker. 
> ERROR  org.apache.activemq.artemis.core.server  FelixStartLevel  
> [org.apache.activemq.artemis-server-osgi:2.18.0.SEE1]  AMQ224068: 
> Unable to stop component: 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpljava.lang.ExceptionInInitializerError:
>  null at 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.stop(RemotingServiceImpl.java:390)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1287)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1153)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1137)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:948)
>  ~[?:?] at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:942)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.OsgiBroker$ServerTrackerCallBackImpl.stop(OsgiBroker.java:242)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.protocolRemoved(ProtocolTracker.java:122)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:94)
>  ~[?:?] at 
> org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:38)
>  ~[?:?] at 
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969)
>  ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871)
>  ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) 
> ~[osgi.core-7.0.0.jar:?] at 
> org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:380) 
> ~[osgi.core-7.0.0.jar:?] at 
> org.apache.activemq.artemis.osgi.OsgiBroker.stop(OsgiBroker.java:147) ~[?:?] 
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[?:?] at 
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  ~[?:?] at 
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at 
> org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244)
>  ~[?:?] at 
> org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
>  ~[?:?] at 
>