jndi problem


General J2EE: jndi problem

  1. jndi problem (1 messages)

    I started practising the sun's jndi tutorial. the program get compiled successfull and when I run the program it is giving exception as "javax.naming.NoInitialContextException" . I checked out some of the sun forums and changed my classpath so it includes jndi.jar, fscontext.jar, providerutil.jar files. when I attempt to run the program again the same exception arrived. the classpath is showing all the above mentioned three jar files. how to resolve this. any help is appreciated. Thanks in advance.

    Threaded Messages (1)

  2. Re: jndi problem[ Go to top ]

    Have you set the ContextFactory before trying to obtain InitialContext. If so check your host and port is it up and running?