title: how to set ActiveMQ connection username and password through JNDI
body: <p>I am using Oozie, trying to enable its JMS notification feature.
  I used following JNDI string to connect activeMQ broker</p>
  
  <pre><code>java.naming.factory.initial#org.apache.activemq.jndi.ActiveMQInitialContextFactory;
  java.naming.provider.url#tcp://localhost:61616;
  connectionFactoryNames#ConnectionFactory
  </code></pre>
  
  <p>Currently oozie server will throw exception:</p>
  
  <pre><code>javax.jms.JMSException: User name [null] or password is invalid.
  </code></pre>
  
  <p>However, I don't know how to append user/password info in above JNDI string. Can someone help? thanks!</p>