You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Florian Schmidt (JIRA)" <ji...@apache.org> on 2017/07/21 22:22:00 UTC
[jira] [Comment Edited] (APEXCORE-767) Duplicate class loading in
CLI for single application launch
[ https://issues.apache.org/jira/browse/APEXCORE-767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16096937#comment-16096937 ]
Florian Schmidt edited comment on APEXCORE-767 at 7/21/17 10:21 PM:
--------------------------------------------------------------------
This seems to be the root cause for https://issues.apache.org/jira/browse/APEXMALHAR-2511 as well, as I came to the same solution trying to fix it. I will open a PR for this where the proposed solution can be discussed.
I am still in the process of figuring how the StramAppLauncher works and why the dependencies get loaded multiple times in the first place, is this intended behavior? Otherwise I could also look into what is going on there as well.
was (Author: florianschmidt):
This seems to be the root cause for https://issues.apache.org/jira/browse/APEXMALHAR-2511 as well, as I came to the same solution trying to fix it. I will open a PR for this where the proposed solution could be discussed.
I am still in the process of figuring how the StramAppLauncher works and why the dependencies get loaded multiple times in the first place, is this intended behavior? Otherwise I could also look into what is going on there as well.
> Duplicate class loading in CLI for single application launch
> -------------------------------------------------------------
>
> Key: APEXCORE-767
> URL: https://issues.apache.org/jira/browse/APEXCORE-767
> Project: Apache Apex Core
> Issue Type: Bug
> Reporter: Thomas Weise
> Assignee: Florian Schmidt
>
> StramAppLauncher will create multiple class loaders in a way that leads to duplicate loading of the same class (while listing app package, then when launching). It also appears that the context class loader is never reset.
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)