Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-28

Support for global environment entries (defined as <Environment> in server.xml)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-beta-1
    • 1.0.0-beta-1
    • None
    • None

    Description

      Define <Environment name="number" value="10" type="java.lang.Integer" /> in conf/server.xml and access it with @Resource(name="number") in a servlet. The field won't get assigned the value from server.xml.

      Attachments

        Activity

          People

            jlaskowski Jacek Laskowski
            jlaskowski Jacek Laskowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: