1 Reply Latest reply on Apr 1, 2008 5:17 PM by quisar

    Declare custom JNDI resource.

    quisar

      Hello,

      In tomcat I have the following Context declared :





      StringContainerFactory is a class that implements javax.naming.spi.ObjectFactory

      How can I declare the equivalent JNDI resource for my web application in JBoss. I do not seem to find a way to do it.

      Thanks in advance.

        • 1. Re: Declare custom JNDI resource.
          quisar

          The context definition did not make it : here it is:


          < Context path="/foo">
          < Resource name="string/configurationContainer"
          auth="Container"
          type="com.genia.toolbox.web.jndi_config.StringContainer"
          factory="com.genia.toolbox.web.jndi_config.StringContainerFactory"
          configurationDirectory="/tmp/foo" />
          < /Context>