Github user Rossi1337 commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1272
  
    Hi,
    I just give it a try. One first thing. In the shaded artemis-jms-client-all 
jar there is in the **META-INF** folder a services entry for the Json provider 
**javax.json.spi.JsonProvider**
    
    Inside of this file the provider implementation is set to 
**org.apache.johnzon.core.JsonProviderImpl**
    but I think it should point now to 
org.apache.activemq.artemis.shaded.org.apache.johnzon.core.JsonProviderImpl
    
    There is a resource transformer that may solve this
    
[https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html#ServicesResourceTransformer](https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html#ServicesResourceTransformer)
    
    Additionally when I try to run my test application with the shaded JMS 
client I get an exception 
    
    Caused by: ActiveMQNotConnectedException[errorType=NOT_CONNECTED 
message=AMQ119007: Cannot connect to server(s). Tried with all available 
servers.]
        at 
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:787)
        at 
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:755)
        ... 40 more
    
    Maybe the session factories are internally invoked via reflection? The 
stack trace does not really show what is going wrong internally but maybe this 
is only a configuration issue on my side. Need to double check this.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to