title: javax.jms.JMSException: Failed to create session factory
body: <p>I was trying to run Artemis. When I am trying to produce the message using below command then I am getting an error. I am using Windows 10.</p>
  
  <pre><code>C:\Users\a.subhashrao.pande\Downloads\apache-artemis-2.6.3-bin\apache-artemis-2.6.3\bin\tmp\mybroker\bin&gt;artemis producer --url tcp://localhost:61616
  Connection failed::Failed to create session factory
  
  --url: is a mandatory property!
  Type in the broker URL for a retry (e.g. tcp://localhost:61616)
  tcp://localhost:61616
  
  --user: is a mandatory property!
  Type the username for a retry
  admin
  
  --password: is mandatory with this configuration:
  Type the password for a retry    (I have entered password as admin)
  
  Exception in thread "main" javax.jms.JMSException: Failed to create session factory
          at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:837)
          at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282)
          at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277)
          at org.apache.activemq.artemis.cli.commands.messages.Producer.execute(Producer.java:70)
          at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:149)
          at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:97)
          at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:124)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129)
          at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49)
  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:797)
          at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:835)
          ... 12 more
  
  C:\Users\a.subhashrao.pande\Downloads\apache-artemis-2.6.3-bin\apache-artemis-2.6.3\bin\tmp\mybroker\bin&gt;
  </code></pre>