0 Replies Latest reply on Jun 28, 2002 1:01 PM by berserksangr

    jndi+proxy-type Context problems

    berserksangr

      I'm binding filesystem to JNDI tree using this code:


      dysk
      java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
      java.naming.provider.url=file:/c:/datafiles/
      <!--javax.naming.InitialContext-->


      Then, JNDIView shows this:

      +- dysk (proxy: $Proxy19 implements interface javax.naming.Context)
      | +- channels
      | | +- channel1
      | | | +- script.dsf
      | | | +- wavs

      But from the client code, I can't browse into "dysk" and ctx.lookup("dysk") returns NULL. How can I get into dysk and bind some stuff under i.e. dysk/channels/channel1?

      TIA