2 Replies Latest reply on Dec 30, 2004 4:49 AM by Ian Page

    Overriding environment entries at deployment time

    Ian Page Newbie

      I'm sure I've seen this problem raised before, but I haven't seen a solution to it yet.

      I have environment entries in my ejb-jar.xml which point to a server (e.g. a mail server). I wish to override these values at deployment time when I deploy the application to a different environment, for example test or production. The EJB spec (20.2.4) states that the container provider must 'provide a deployment tool that allows the Deployer to set and modify the values of the enterprise bean?s environment entries'. However, I don't see how this is possible in JBoss (3.2.5). Can anyone help?

      Many thanks...