[ 
https://issues.apache.org/jira/browse/TAJO-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyunsik Choi updated TAJO-1886:
-------------------------------
    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:
{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.8</param-value>
    </init-param>
    <init-param>
      <param-name>compilerTargetVM</param-name>
      <param-value>1.8</param-value>
    </init-param>
  </servlet>
{noformat}

  was:
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.8</param-value>
    </init-param>
    <init-param>
      <param-name>compilerTargetVM</param-name>
      <param-value>1.8</param-value>
    </init-param>
  </servlet>
{noformat}


> Set compilerSourceVM and compilerTargetVM to web.xml
> ----------------------------------------------------
>
>                 Key: TAJO-1886
>                 URL: https://issues.apache.org/jira/browse/TAJO-1886
>             Project: Tajo
>          Issue Type: Bug
>          Components: Web UI
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>            Priority: Blocker
>             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. It causes 
> compilation error in web UI. 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.8</param-value>
>     </init-param>
>     <init-param>
>       <param-name>compilerTargetVM</param-name>
>       <param-value>1.8</param-value>
>     </init-param>
>   </servlet>
> {noformat}



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

Reply via email to