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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: TomEE Maven Plugin
    • Labels:
    • Environment:
      windows, unix
    • Flags:
      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

            • Assignee:
              romain.manni-bucau Romain Manni-Bucau
              Reporter:
              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