4 Replies Latest reply on Aug 6, 2002 2:20 PM by cjhieen

    Application Environement Setting

      Hello together.
      I need some environment variables in my components that I have deployed. There are references to files oder pathes stored in this environment variables. I want to make these settings in a config file or something and when Jboss is startet (v 2.44 or 3.00) the file is also loaded. I want to read this variables over the jndi.
      I know there is a possibility to make such entries in the ejb-jar.xml for example:

      <env-entry>
      The maximum number of tax exemptions allowed

      <env-entry-name>maxExemptions</env-entry-name>
      <env-entry-type>java.lang.Integer</env-entry-type>
      <env-entry-value>15</env-entry-value>
      </env-entry>

      This is what I need, but I need it in a global file or something. Is there a possibility how I can do that?

      Thanks for help, best regards
      Marco