0 Replies Latest reply on Jun 25, 2003 1:30 AM by specmurt

    External File System JNDI problem

    specmurt Newbie

      I am trying to configure external file system JNDI (Sun reference implementation) to be accessible from JBoss 3.2.1. I created /JNDI folder and filled it with some definitions. Then I put the following in jboss-service.xml:
      ---

      external/fs
      external.fs.properties
      javax.naming.InitialContext

      ---
      My external.fs.properties is:
      ---
      java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
      java.naming.provider.url=file:///JNDI
      ---
      But it doesn't work. Then I use JNDIView it seems JBoss falls into infinite loop:
      +- UserTransaction
      +- invokers
      | +- pea
      | | +- pooled
      | | +- jrmp
      +- UUIDKeyGeneratorFactory
      +- UserTransactionSessionFactory
      +- external
      | +- fs (proxy: $Proxy10 implements interface javax.naming.Context)
      | | +- UserTransaction
      | | +- invokers
      | | | +- pea
      | | | | +- pooled
      | | | | +- jrmp
      | | +- UUIDKeyGeneratorFactory
      | | +- UserTransactionSessionFactory
      | | +- external
      | | | +- fs (proxy: $Proxy10 implements interface javax.naming.Context)
      | | | | +- UserTransaction
      | | | | +- invokers
      | | | | | +- pea
      | | | | | | +- pooled
      | | | | | | +- jrmp
      etc, etc, etc... (pea - is the network name of my computer)
      Can anybody help to resove this problem?