Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1886

Set compilerSourceVM and compilerTargetVM to web.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: Web UI
    • Labels:
      None

      Description

      Eliminting explicit diamone operation is only available in JDK 7 or higher. But, the default compiler source VM version is 1.5 in jetty. It causes compilation error in web UI. So, we need to set the following parameters to web.xml in each web app:

      <servlet id="jsp">
          <servlet-name>jsp</servlet-name>
          <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
          <init-param>
            <param-name>compilerSourceVM</param-name>
            <param-value>1.8</param-value>
          </init-param>
          <init-param>
            <param-name>compilerTargetVM</param-name>
            <param-value>1.8</param-value>
          </init-param>
        </servlet>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hyunsik Hyunsik Choi
                Reporter:
                hyunsik Hyunsik Choi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: