Hashtable environment = new Hashtable();
InitialContext initial = new InitialContext(environment);
Thanks for the response. I'll try this to see if it works.
I was wondering though, why I can't read these properties from the jndi.properties file? I already have all these properties specified in that file - any ideas?