You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2015/09/24 00:55:04 UTC

[jira] [Created] (TAJO-1886) Set compilerSourceVM and compilerTargetVM to web.xml

Hyunsik Choi created TAJO-1886:
----------------------------------

             Summary: Set compilerSourceVM and compilerTargetVM to web.xml
                 Key: TAJO-1886
                 URL: https://issues.apache.org/jira/browse/TAJO-1886
             Project: Tajo
          Issue Type: Improvement
          Components: Web UI
            Reporter: Hyunsik Choi
            Assignee: Hyunsik Choi
             Fix For: 0.12.0


Eliminting explicit diamone operation is only available in JDK 7 or higher. But, the default compiler source VM version is 1.5 in jetty. So, we need to set the following parameters to web.xml in each web app:
{noformat}
<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.7</param-value>
    </init-param>
    <init-param>
      <param-name>compilerTargetVM</param-name>
      <param-value>1.7</param-value>
    </init-param>
  </servlet>
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)