You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Attila Sasvari (JIRA)" <ji...@apache.org> on 2017/01/23 14:00:28 UTC

[jira] [Created] (OOZIE-2778) Copy only jetty.version related server dependencies to distro

Attila Sasvari created OOZIE-2778:
-------------------------------------

             Summary: Copy only jetty.version related server dependencies to distro 
                 Key: OOZIE-2778
                 URL: https://issues.apache.org/jira/browse/OOZIE-2778
             Project: Oozie
          Issue Type: Bug
            Reporter: Attila Sasvari


To compile JSP, org.eclipse.jdt.core is used (see http://www.eclipse.org/jetty/documentation/9.2.20.v20161216/configuring-jsp.html#compiling-jsps).

However, additional currently jasper libraries are copied to embedded-oozie-server/dependency/ in the distro directory. It can cause problems (e.g. NoSuchMethodException at runtime) if classes are loaded from that jars. 

Furthermore, transitive dependencies can pull in old jetty libraries (such as jetty-util 6) that can cause runtime issues (at server startup).

We can make sure with the maven assembly plugin that only jetty.version related dependencies are copied to distro.




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