Having not worked with properties files outside of jBoss (i.e., jndi.properties), I am not extremely familiar with their usage.
I am trying to get Sun's JMS examples working w/ SpyderMQ. I think this might have some relevance to the jnp-client.
Sun has a bunch of sample classes which all call upon some static methods in a "Utilities" class which is responsible for doing jndi lookups, etc. I have include the jndi.properties file in the classpath when running the examples, but I noticed that this utilities class is not picking up the properties out of jndi.properties. The utility class does the usual call to new InitialContext(), as I would in any other jndi client. Everything works ok if I add in a few System.setProperties()'s before the call to new InitialContext(). (I checked beforehand by doing System.getProperty()'s to make sure that nothing was set for the values we need -- nothing was set)
Is this the expected behavior?
-Jason
