What kind of program you use. How the classpath is set?
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community