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

Maven Tomee Exec Mojo failed when provided server.xml use env vars

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.0.0
    • 7.0.0
    • TomEE Maven Plugin
    • windows, unix
    • Patch

    Description

      When in the tomee exec we provide a server.xml that use en vars, the plugin try to convert values directly in Integer, it fail.

      Exemple :

              <Connector port="${http.port}" protocol="HTTP/1.1"
                         connectionTimeout="20000"
                         redirectPort="8443" xpoweredBy="false" server="Apache TomEE" />
      

      Attachments

        1. patch-tome-exec.diff
          4 kB
          Yann Blazart
        2. patch-tome-exec-2.diff
          3 kB
          Yann Blazart

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            yblazart Yann Blazart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified