I tested with the last version of this libreries and with these Lenya return the error that I commented in the first email, I did continue
Then I continue on searching and I found the next web site http://solprovider.com/lenya/flowemail, the real thing is that after all this versions I have not tried any higher than that. --- Cordialmente, Misael Romero. --- ________________________________ De: florent andré <[email protected]> Para: [email protected] Enviado: miércoles 2 de noviembre de 2011 4:07 Asunto: Re: How configure lenya for send email Misael, Thanks to you for sharing the solution ! How do you find this version numbers ? Are they the most higher that works ? Thanks ++ On 11/01/2011 09:31 PM, Misael Romero wrote: > Hi Everybody, > > The solution that I found is to download the following version of jaf > and javamail. > > jaf-1_0_2-upd2.zip > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html#7017-jaf-1.0.2-oth-JPR > > javamail-1_3_3_01.zip > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-eeplat-419426.html#javamail-1.3.3-fr-oth-JPR > > > After I place them in the <lenya-webapp>/WEB-INF/lib and I edit the file > notifier.xconf located in > $LENYA_HOME/src/modules/notification/config/cocoon-xconf/notifier.xconf > with the followings lines: > > <component logger="lenya.notification" > role="org.apache.lenya.notification.Notifier" > class="org.apache.lenya.notification.EmailNotifier"> > <smtp host="myserver"/> > </component> > > > Thanks for you help. > > --- > Misael Romero. > --- > ------------------------------------------------------------------------ > *De:* Misael Romero <[email protected]> > *Para:* "[email protected]" <[email protected]> > *Enviado:* miércoles 26 de octubre de 2011 10:56 > *Asunto:* How configure lenya for send email > > Hello Everybody, > > I have a problem with the configuration for send email with lenya, I'm > using lenya 2.0.4 > > I did the settings with according to page > http://lenya.apache.org/docu20/standardmodules/notificationmodulesection/notificationmoduleoverview.html, > I downloaded javamail-1.4.4 and jaf-1.1 and copied the jars in the > directory <lenya-webapp>/WEB-INF/lib, after I did configure the file > notifier.xconf with the followings lines: > > <component logger="lenya.notification" > role="org.apache.lenya.notification.Notifier" > class="org.apache.lenya.notification.EmailNotifier"> > <!-- use this for authentication--> > <smtp host="20.0.0.1" username="misael" password="my_pass" /> > </component> > > In NotificationUtil class is using the methods per default. > > Do you know any configuration that I miss? > > > The following lines contain the error: > > java.lang.NullPointerException > at > org.apache.cocoon.environment.AbstractEnvironment.release(AbstractEnvironment.java:563) > at > org.apache.cocoon.environment.wrapper.MutableEnvironmentFacade.release(MutableEnvironmentFacade.java:314) > at org.apache.cocoon.generation.FileGenerator.recycle(FileGenerator.java:64) > at > org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407) > at > org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212) > at > org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425) > at > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307) > at > org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:301) > at > org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:723) > at > org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:78) > at > org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:1131) > at > org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407) > at > org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212) > at > org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425) > at > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307) > at > org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:301) > at > org.apache.cocoon.components.EnvironmentDescription.release(CocoonComponentManager.java:695) > at > org.apache.cocoon.components.CocoonComponentManager.endProcessing(CocoonComponentManager.java:262) > at org.apache.cocoon.Cocoon.process(Cocoon.java:739) > at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) > at > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) > at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) > at > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) > at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) > at > org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158) > at org.mortbay.http.HttpServer.service(HttpServer.java:954) > at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) > at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) > at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) > at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) > at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) > at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) > java.lang.NullPointerException > at > org.apache.cocoon.environment.AbstractEnvironment.release(AbstractEnvironment.java:563) > at > org.apache.cocoon.environment.wrapper.MutableEnvironmentFacade.release(MutableEnvironmentFacade.java:314) > at > org.apache.cocoon.transformation.TraxTransformer.recycle(TraxTransformer.java:549) > at > org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407) > at > org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212) > at > org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425) > at > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307) > at > org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:301) > at > org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:298) > at > org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:735) > at > org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:78) > at > org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:1131) > at > org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407) > at > org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212) > at > org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425) > at > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307) > at > org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:301) > at > org.apache.cocoon.components.EnvironmentDescription.release(CocoonComponentManager.java:695) > at > org.apache.cocoon.components.CocoonComponentManager.endProcessing(CocoonComponentManager.java:262) > at org.apache.cocoon.Cocoon.process(Cocoon.java:739) > at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) > at > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) > at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) > at > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) > at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) > at > org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158) > at org.mortbay.http.HttpServer.service(HttpServer.java:954) > at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) > at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) > at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) > at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) > at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) > at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) > java.lang.NullPointerException > at > org.apache.cocoon.environment.AbstractEnvironment.release(AbstractEnvironment.java:563) > at > org.apache.cocoon.environment.wrapper.MutableEnvironmentFacade.release(MutableEnvironmentFacade.java:314) > at org.apache.cocoon.generation.FileGenerator.recycle(FileGenerator.java:64) > at > org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407) > at > org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212) > at > org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425) > at > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307) > at > org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:301) > at > org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:723) > at > org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:78) > at > org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:1131) > at > org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407) > at > org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212) > at > org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425) > at > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307) > at > org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:301) > at > org.apache.cocoon.components.EnvironmentDescription.release(CocoonComponentManager.java:695) > at > org.apache.cocoon.components.CocoonComponentManager.endProcessing(CocoonComponentManager.java:262) > at org.apache.cocoon.Cocoon.process(Cocoon.java:739) > at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) > at > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) > at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) > at > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) > at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) > at > org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158) > at org.mortbay.http.HttpServer.service(HttpServer.java:954) > at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) > at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) > at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) > at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) > at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) > at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) > > || > --- > Misael Romero. > --- > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
