You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "duan xiong (JIRA)" <ji...@apache.org> on 2019/02/20 11:01:00 UTC

[jira] [Commented] (OOZIE-3438) Copy only apache-jsp server dependencies to distro

    [ https://issues.apache.org/jira/browse/OOZIE-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16772900#comment-16772900 ] 

duan xiong commented on OOZIE-3438:
-----------------------------------

Hi,[~asalamon74],I have read the distro.xml:

apache-jsp-8.0.33.jar

apache-jsp-9.3.20.v20170531.jar

can copy by

<include>**/apache*.jar</include>

so we can delete this <include>**/*jsp*.jar</include> directly?

> Copy only apache-jsp server dependencies to distro
> --------------------------------------------------
>
>                 Key: OOZIE-3438
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3438
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Andras Salamon
>            Assignee: Andras Salamon
>            Priority: Major
>             Fix For: 5.2.0
>
>
> {{distro.xml}} defines the jars which will be copied into {{embedded-oozie-server/dependency/}} directory. To copy the apache-jsp jar files the following [rule|https://github.com/apache/oozie/blob/branch-5.1/src/main/assemblies/distro.xml#L86] is used
> {noformat}<include>**/*jsp*.jar</include>
> {noformat}
> In the current upstream Oozie it copies the following two files:
> {noformat}apache-jsp-8.0.33.jar
> apache-jsp-9.3.20.v20170531.jar{noformat}
> In a different environment it might also include other jars, for instance {{javax.servlet.jsp-2.3.2.jar}}. There are several duplicate classes in {{javax.servlet.jsp-2.3.2.jar}} and {{apache-jsp-8.0.33.jar}} which might cause classpath issues.
> Instead, we should only include the apache-jsp jars.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)