I found following description in my pom.xml and this overrides 
java.naming.provider.url
in jndi.properties.

<systemProperty>
    <key>java.naming.provider.url</key>
    <value>jni://localhost:1099</value>
 </systemProperty>

I removed above definition from pom.xml, then it worked fine.





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/using-jndi-caused-error-tp4665919p4666160.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to