1 Reply Latest reply on Aug 20, 2010 12:37 AM by jaikiran

    Use of admin/web/jmx console to give the path of file through JNDI

    jbossuser200

      I am using JBoss 5.1.0 GA. For one properties file I have defined a JNDI name like this:

       

      Java:comp/env/pwd.properties

       

      And in web.xml I have entry like this:

       

      <env-entry>

                  <env-entry-name>pwd.properties</env-entry-name>

                  <env-entry-type>java.lang.String</env-entry-type>

                  <env-entry-value>..\WebContent\WEB-INF\pwd.properties</env-entry-value>

      </env-entry>

       

      My question is that is there a way I can define the path of file in admin/web/jmx console of JBoss(either through JNDI, as we do in WebSphere) rather that putting in the web.xml file.

      Any help is appreciated.

       

      Thanks.