title: Tibco error: ClassNotFoundException: com.tibco.tibjms.naming.TibjmsInitialContextFactory
body: <p>I am facing this issue.
   I tested tibco with below configuration(local tibco) and it works</p>
  
  <pre><code>&lt;jee:jndi-lookup id="connectionFactory" jndi-name="emsConnectionFactory"&gt;
      &lt;jee:environment&gt;
          java.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialContextFactory
          java.naming.provider.url=tibjmsnaming://localhost:7222
      &lt;/jee:environment&gt;
  &lt;/jee:jndi-lookup&gt;
  
  &lt;jee:jndi-lookup id="queue" jndi-name="emsQueue"&gt;
      &lt;jee:environment&gt;
          java.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialContextFactory
          java.naming.provider.url=tibjmsnaming://localhost:7222
      &lt;/jee:environment&gt;
  </code></pre>
  
  <p>But when i try to connect to the central tibco(only the provider changed) with below configuration i get classNotFound error</p>
  
  <pre><code>  &lt;jee:jndi-lookup id="connectionFactory" jndi-name="XAQueueConnectionFactory"&gt; 
      &lt;jee:environment&gt;
          java.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialContextFactory 
          java.naming.provider.url=tcp://xsdd.xxxxxxxxx.local:8333
      &lt;/jee:environment&gt; 
  &lt;/jee:jndi-lookup&gt; 
  &lt;jee:jndi-lookup id="queue" jndi-name="ibalance/iBatch/ReBalances"&gt;
      &lt;jee:environment&gt; 
          java.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialContextFactory
          java.naming.provider.url=tcp://xxxxxxx.xxxxxxxxxxx.local:8333
      &lt;/jee:environment&gt;
  &lt;/jee:jndi-lookup&gt;
  </code></pre>
  
  <p>The error i am getting  is</p>
  
  <pre><code> Caused by: java.lang.ClassNotFoundException: com.tibco.tibjms.naming.TibjmsInitialContextFactory 
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:247)
  at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
  </code></pre>
  
  <p>Any suggestion would be of great help.</p>