[
https://issues.apache.org/jira/browse/CAMEL-8339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317978#comment-14317978
]
ASF GitHub Bot commented on CAMEL-8339:
---------------------------------------
GitHub user tdiesler opened a pull request:
https://github.com/apache/camel/pull/391
[CAMEL-8339] Usage of camel-mail depends on TCCL
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tdiesler/camel camel-8339
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/391.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #391
----
commit 7ac534ca848cfc7b8d8ef10d31e4c1fb6f8e37d2
Author: Thomas Diesler <[email protected]>
Date: 2015-02-12T10:34:13Z
[CAMEL-8339] Usage of camel-mail depends on TCCL
----
> Usage of camel-mail depends on TCCL
> -----------------------------------
>
> Key: CAMEL-8339
> URL: https://issues.apache.org/jira/browse/CAMEL-8339
> Project: Camel
> Issue Type: Bug
> Components: camel-mail
> Affects Versions: 2.14.1
> Reporter: Thomas Diesler
>
> javax.mail.Session uses TCCL to load resources
> {code}
> Thread.getContextClassLoader() line: 1432 [local variables unavailable]
> Session$3.run() line: 1199
> AccessController.doPrivileged(PrivilegedAction<T>) line: not available
> [native method]
> Session.getContextClassLoader() line: 1194
> Session.loadAllResources(String, Class, StreamLoader) line: 1137
> Session.loadProviders(Class) line: 917
> Session.<init>(Properties, Authenticator) line: 216
> Session.getInstance(Properties, Authenticator) line: 242
> MailConfiguration.createJavaMailSender() line: 175
> MailEndpoint.createProducer() line: 71
> {code}
> Both MailConfiguration & MailProducer seem to rely on this
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)