Re: problem occuring when I send mail from forgotten password class

Woonsan Ko <[email protected]>
Newsgroups gmane.comp.jakarta.jetspeed.user
Message-ID <[email protected]>
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.

I created an issue to fix this: https://issues.apache.org/jira/browse/JS2-1256

[1] http://apache-geronimo.328035.n3.nabble.com/Trouble-with-Geronimo-s-javax-mail-under-OSGi-td858884.html


----- Original Message -----
> From: "[email protected]" <[email protected]>
> To: [email protected]
> Cc: 
> Sent: Thursday, September 15, 2011 8:22 AM
> Subject: Re: problem occuring when I send mail from forgotten password class
> 
> 
> Hello again,
> 
> Problem is solved, tested in the demo jetspeed installation.
> 
> There are different ways to solve emailing problem, which come from mail
> libraries:
> _ in the jetspeed/WEB-INF/lib, I remove
> geronimo-activation_1.1_spec-1.0.2.jar,
> geronimo-javamail_1.4_provider-1.7.jar, geronimo-javamail_1.4_spec-1.6.jar,
> and I replace them by activation-1.1.jar and mail-1.4.jar. I can put these
> 2 jars, either in the WEB-INF/lib directory of my portal application,
> either in the tomcat lib directory
> _ I can alternatively move  geronimo-activation_1.1_spec-1.0.2.jar,
> geronimo-javamail_1.4_provider-1.7.jar, geronimo-javamail_1.4_spec-1.6.jar
> from my application directory to the tomcat lib directory.
> 
> Regards
> Jérôme
> 
> 
> Fermeture annuelle des sites François-Mitterrand et Richelieu  - du lundi 5 au 
> dimanche 18 septembre 2011 inclus 
> Journée du patrimoine  - samedi 17 septembre (Sablé-sur-Sarthe et Maison 
> Jean-Vilar à Avignon) et dimanche 18 septembre (autres sites, dont 
> François-Mitterrand et Richelieu) Avant d'imprimer, pensez à 
> l'environnement. 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.