You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Woonsan Ko (JIRA)" <je...@portals.apache.org> on 2011/09/15 19:02:13 UTC
[jira] [Created] (JS2-1256) ForgottenPasswordPortlet fails due to
classloader issues
ForgottenPasswordPortlet fails due to classloader issues
--------------------------------------------------------
Key: JS2-1256
URL: https://issues.apache.org/jira/browse/JS2-1256
Project: Jetspeed 2
Issue Type: Bug
Affects Versions: 2.2.1
Reporter: Woonsan Ko
Assignee: Woonsan Ko
Fix For: 2.2.2
Excerpt from user mailinglist:
"I'm trying to use the forgotten password portlet. and I have the following
exception:
Failed to send forgotten password email to user with email address because
Mail server connection failed; nested exception is
javax.mail.NoSuchProviderException: Unable to locate provider for protocol:
smtp]"
I think that should be fixed in PortalAdministrationImpl.java.
As the Session implementation of geronimo-javamail prefers thread context classloader, that provider loading problem occurs when j2-admin portlet invokes the service.
Someone already provided a reasonable solution for multiple applications environment by setting thread context classloader to null temporarily. [1]
We can do the same technique in PortalAdministrationImpl.java.
[1] http://apache-geronimo.328035.n3.nabble.com/Trouble-with-Geronimo-s-javax-mail-under-OSGi-td858884.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] [Resolved] (JS2-1256) ForgottenPasswordPortlet fails due to
classloader issues
Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Woonsan Ko resolved JS2-1256.
-----------------------------
Resolution: Fixed
> ForgottenPasswordPortlet fails due to classloader issues
> --------------------------------------------------------
>
> Key: JS2-1256
> URL: https://issues.apache.org/jira/browse/JS2-1256
> Project: Jetspeed 2
> Issue Type: Bug
> Affects Versions: 2.2.1
> Reporter: Woonsan Ko
> Assignee: Woonsan Ko
> Fix For: 2.2.2
>
>
> Excerpt from user mailinglist:
> "I'm trying to use the forgotten password portlet. and I have the following
> exception:
> Failed to send forgotten password email to user with email address because
> Mail server connection failed; nested exception is
> javax.mail.NoSuchProviderException: Unable to locate provider for protocol:
> smtp]"
> I think that should be fixed in PortalAdministrationImpl.java.
> As the Session implementation of geronimo-javamail prefers thread context classloader, that provider loading problem occurs when j2-admin portlet invokes the service.
> Someone already provided a reasonable solution for multiple applications environment by setting thread context classloader to null temporarily. [1]
> We can do the same technique in PortalAdministrationImpl.java.
> [1] http://apache-geronimo.328035.n3.nabble.com/Trouble-with-Geronimo-s-javax-mail-under-OSGi-td858884.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org