Seam Mail Fails with "ICEfaces requires the PersistentFacesServlet" exception
[Logo]
Forums for ICEfaces and ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Seam Mail Fails with "ICEfaces requires the PersistentFacesServlet" exception  XML
Forum Index -> JBoss Seam Integration Go to Page: 1, 2 Next 
Author Message
zzzz8

Joined: 07/12/2005 00:00:00
Messages: 229
Offline


I'm using ICEfaces 1.8.0, Seam 2.1.2 CR1, JBoss 4.2.3 on Ubuntu 8.10.

I have the following snippet for my mail template:

Code:
<m:body><h:panelGrid columns="2">
 			<h:outputText value="#{messages['storeId']}" />
 			<h:outputText value="#{shoppinglist.store.id}" />
 			<h:outputText value="#{messages['storeName']}" />
 			<h:outputText value="#{shoppinglist.store.name}" />
 			<h:outputText value="#{messages['storeStreetAddress']}" />
 			<h:outputText value="#{shoppinglist.store.streetaddress}" />
 			<h:outputText value="#{messages['storeCity']}" />
 			<h:outputText value="#{shoppinglist.store.city}" />
 			<h:outputText value="#{messages['storeState']}" />
 			<h:outputText value="#{shoppinglist.store.state}" />
 			<h:outputText value="#{messages['storeZip']}" />
 			<h:outputText value="#{shoppinglist.store.zip}" />
 		</h:panelGrid></m:body>


Code:
23:13:31,314 INFO  [MailSession] Creating JavaMail Session (localhost:2525)
 23:13:31,320 INFO  [MailSession] connected to mail server
 23:13:31,381 ERROR [AsynchronousExceptionHandler] Exeception thrown whilst executing asynchronous call
 java.lang.IllegalStateException: ICEfaces requires the PersistentFacesServlet. Please check your web.xml servlet mappings
 	at com.icesoft.faces.context.DOMResponseWriter.<init>(DOMResponseWriter.java:150)
 	at com.icesoft.faces.context.DOMContext.createTemporaryDOMResponseWriter(DOMContext.java:182)
 	at com.icesoft.faces.context.DOMContext.attachDOMContext(DOMContext.java:107)
 	at com.icesoft.faces.renderkit.dom_html_basic.GridRenderer.encodeBegin(GridRenderer.java:60)
 	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
 	at org.jboss.seam.ui.util.JSF.renderChild(JSF.java:172)
 	at org.jboss.seam.ui.util.JSF.renderChildren(JSF.java:163)
 	at org.jboss.seam.mail.ui.MailComponent.encode(MailComponent.java:85)
 	at org.jboss.seam.mail.ui.MailComponent.encode(MailComponent.java:59)
 	at org.jboss.seam.mail.ui.UIBody.encodeChildren(UIBody.java:44)
 	at org.jboss.seam.ui.util.JSF.renderChild(JSF.java:175)
 	at org.jboss.seam.ui.util.JSF.renderChildren(JSF.java:163)
 	at org.jboss.seam.mail.ui.UIMessage.encodeChildren(UIMessage.java:192)
 	at org.jboss.seam.ui.util.JSF.renderChild(JSF.java:175)
 	at org.jboss.seam.ui.util.JSF.renderChildren(JSF.java:163)
 	at org.jboss.seam.ui.facelet.RendererRequest.renderFacelet(RendererRequest.java:136)
 	at org.jboss.seam.ui.facelet.RendererRequest.run(RendererRequest.java:103)
 	at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:43)
 	at com.test.myproject.async.ShoppinglistMailer.sendOnceMessage(ShoppinglistMailer.java:40)
 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 	at java.lang.reflect.Method.invoke(Method.java:585)
 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
 	at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
 	at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 	at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 	at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 	at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:52)
 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
 	at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
 	at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
 	at com.test.myproject.async.ShoppinglistMailer_$$_javassist_seam_9.sendOnceMessage(ShoppinglistMailer_$$_javassist_seam_9.java)
 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 	at java.lang.reflect.Method.invoke(Method.java:585)
 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
 	at org.jboss.seam.async.AsynchronousInvocation$1.process(AsynchronousInvocation.java:62)
 	at org.jboss.seam.async.Asynchronous$ContextualAsynchronousRequest.run(Asynchronous.java:80)
 	at org.jboss.seam.async.AsynchronousInvocation.execute(AsynchronousInvocation.java:44)
 	at org.jboss.seam.async.QuartzDispatcher$QuartzJob.execute(QuartzDispatcher.java:243)
 	at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
 	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
 


The email template works if I remove the h:panelGrid component. ICEfaces has its own renderer for the h:panelGrid, but I thought this was previously taken care of:

http://www.icefaces.org/JForum/posts/list/30/8058.page

Is the h:panelGrid component disallowed? I also tried the h:dataTable component and that fails, too in a similar way.
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1043
Offline


are you using jsf delegation with ICEfaces? This exception trace looks like you are not or don't have it configured properly. (with jsf-delegation, you would have mapped this non-ICEfaces page to the jsf-facelets view handler).
zzzz8

Joined: 07/12/2005 00:00:00
Messages: 229
Offline


Hi Judy,

Thanks for the info. I haven't tried it yet, but I'll try it soon. I took a look at the code in AsynchronousIceFacesMailProcessor.java, specifically the scheduleEmailSend method. I guess I'll want to overload the method if I want to use @Expiration, @IntervalDuration, and the Quartz annotations? Also, is this considered the "permanent" solution?

-- Actually, I'm a bit confused when reading http://jira.icefaces.org/browse/ICE-2321 again. What exactly am I supposed to do?
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1043
Offline


pre-seam-2.1.0, you would have had to overwrite the AsynchronousFacesMailProcessor class. As of v2.1.0, the ability to use jsf-delegation is the preferred way to implement seam-mail (you never have to worry about updating the class as this way you just delegate to the standard jsf facelets view handler and everything works).

You might want to read a bit about jsf delegation in the Developer's handbook, but the example that is zipped to the jira will also show you more about configuration and how to implement this.
zzzz8

Joined: 07/12/2005 00:00:00
Messages: 229
Offline


Hi Judy,

I'm still confused by this. I looked into the developer's guide and the only thing I could find on this is:

JSF 1.2 specifications - for jboss-seam-2.0.x or 2.1x
For JSF 1.2 specifications (using Sun JSF 1.2 RI JARs), the modules (JARs) of an EAR deployment no
longer need to be defined and the JARs can just be included in the META-INF\lib directory (other than
jboss-seam.jar which goes in the root of an EAR). See the examples or generate an application
using seam-gen (jboss-seam-2.0.x). Only one version of faces-config.xml is required. Ensure that no
other facelet view handler other than D2DFaceletViewHandler is used, unless you are using
jsf-delegation. 


My project was originally generated by Seam-gen (2.1.1 GA) so I'm using the default configuration files. Here's my faces-config.xml file:

Code:
<?xml version='1.0' encoding='UTF-8'?>
 <!DOCTYPE faces-config PUBLIC
           "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
           "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
 
 <faces-config>
 
    <application>
       <message-bundle>messages</message-bundle>
       <locale-config>
          <default-locale>en</default-locale>
          <supported-locale>bg</supported-locale>
          <supported-locale>de</supported-locale>
          <supported-locale>en</supported-locale>
          <supported-locale>fr</supported-locale>
          <supported-locale>it</supported-locale>
          <supported-locale>tr</supported-locale>
       </locale-config>
       <view-handler>com.icesoft.faces.facelets.D2DSeamFaceletViewHandler</view-handler>
    </application>
 
 </faces-config>


I also looked into the example some more and my configuration is similar to the configuration listed in the jira example. I added the following to my web.xml file:

Code:
<context-param>
 		<param-name>com.icesoft.faces.delegateNonIface</param-name>
 		<param-value>true</param-value>
 	</context-param>
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1043
Offline


You need to look at the example closer especially faces-config.xml (has both view handlers listed), the pages that will be viewed and the packaging (jars and where they are placed).
zzzz8

Joined: 07/12/2005 00:00:00
Messages: 229
Offline


Hi Judy,

I'm confused. I'm looking at the icefaces-seam-mail.zip file at the following URL:

http://jira.icefaces.org/browse/ICE-2321

However, I only see one view handler in the faces-config.xml page:

Code:
<view-handler>com.icesoft.faces.facelets.D2DSeamFaceletViewHandler</view-handler>


Also, it seems I have the jars listed in the icefaces-seam-mail.zip project. Am I looking at an incorrect example?
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1043
Offline


Sorry...I got that mixed up with seam-pdf example using jsf-delegation. This one only requires the one view handler registered.
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1043
Offline


jars in the ear/lib are backport-util-concurrent, commons-beanutils, commons-collections, commons-digester, commons-fileupload, icefaces-comps, icefaces-facelets, jboss-el, jboss-seam-ui, just-ice

in the WEB-INF/lib are jboss-seam-debug, jboss-seam-mail, jboss-seam-ui, jcommon, commons-beanutils.
zzzz8

Joined: 07/12/2005 00:00:00
Messages: 229
Offline


Hi Judy,

Thanks for the clarification. Hmm, it looks like I'm still getting the same error then. I'm not overriding AsynchronousIceFacesMailProcessor as you've suggested. I'll take a look at it some more tonight to double check the config, but if you have anything to add before then, please do tell. Thanks.
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1043
Offline


are you using Quartz? I thought I saw something in your stack trace with reference to it. That might cause some difficulty as I hadn't done an example with it. (assuming that any time-dependent threads could be spun with the IntervalRenderer).
zzzz8

Joined: 07/12/2005 00:00:00
Messages: 229
Offline


Hi Judy,

Yes, I am using Quartz. It's a scheduled email that's sent. I'll try it without using Quartz tonight and I'll see if that makes a difference. Nevertheless, if that's the issue, it would still be nice to use Quartz instead of just the EJB3 timer. Thanks.
zzzz8

Joined: 07/12/2005 00:00:00
Messages: 229
Offline


Hi Judy,

When I use the EJB 3 timer, I get the following stack trace (similar, but unlike for Quartz, no long stack trace);

Code:
23:56:44,825 ERROR [TimerImpl] Error invoking ejbTimeout: javax.ejb.EJBException: java.lang.IllegalStateException: ICEfaces requires the PersistentFacesServlet. Please check your web.xml servlet mappings
 


Thus, the email is still not sent out.
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1043
Offline


Did you try the plain example application from the jira first? Then we can determine whether the timer (ejb3 or quartz) are really the problem. What that exception is saying is that you have generated an ExternalContext that is not a BridgeExternalContext (which is what ICEfaces requires:- via the PersistentFacesServlet). If you can get the application working correctly and then afterwards add either Quartz or ebj3 timer, you'd have to trace through the ExternalContext object to see why a non-BridgeExternalContext is being offered to the PersistentFacesServlet. (then wrapper it?)
zzzz8

Joined: 07/12/2005 00:00:00
Messages: 229
Offline


I found the MailExample.java file...

Anyway, I'm getting the following stack trace:

Code:
01:17:13,644 ERROR [MailExample] Error sending mail
 javax.faces.FacesException: [EOF]
 	at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:173)
 	at org.jboss.seam.ui.util.JSF.renderChild(JSF.java:181)
 	at org.jboss.seam.ui.util.JSF.renderChildren(JSF.java:163)
 	at org.jboss.seam.ui.facelet.RendererRequest.renderFacelet(RendererRequest.java:136)
 	at org.jboss.seam.ui.facelet.RendererRequest.run(RendererRequest.java:103)
 	at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:43)
 	at org.jboss.seam.example.mail.MailExample.sendPlain(MailExample.java:70)
 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 	at java.lang.reflect.Method.invoke(Method.java:585)
 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
 	at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
 	at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 	at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 	at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
 	at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
 	at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
 	at org.jboss.seam.example.mail.MailExample_$$_javassist_seam_3.sendPlain(MailExample_$$_javassist_seam_3.java)
 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 	at java.lang.reflect.Method.invoke(Method.java:585)
 	at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
 	at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)
 	at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
 	at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
 	at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
 	at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
 	at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
 	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
 	at javax.faces.component.UICommand.broadcast(UICommand.java:387)
 	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
 	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:755)
 	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
 	at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:16)
 	at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:114)
 	at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:66)
 	at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:28)
 	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
 	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:42)
 	at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
 	at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:62)
 	at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:22)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
 	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
 	at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
 	at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
 	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
 	at java.lang.Thread.run(Thread.java:595)
 Caused by: javax.mail.MessagingException: [EOF]
 	at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1363)
 	at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1085)
 	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
 	at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:168)
 	... 88 more


I'm also getting another interesting stack trace:
Code:
01:16:05,813 ERROR [STDERR] javax.faces.FacesException: Invalid Addresses
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:173)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.ui.util.JSF.renderChild(JSF.java:181)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.ui.util.JSF.renderChildren(JSF.java:163)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.ui.facelet.RendererRequest.renderFacelet(RendererRequest.java:136)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.ui.facelet.RendererRequest.run(RendererRequest.java:103)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:43)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.example.mail.AsynchronousMailProcessor.scheduleSend(AsynchronousMailProcessor.java:18)
 01:16:05,814 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 01:16:05,814 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 01:16:05,814 ERROR [STDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 01:16:05,814 ERROR [STDERR] 	at java.lang.reflect.Method.invoke(Method.java:585)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 01:16:05,814 ERROR [STDERR] 	at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
 01:16:05,815 ERROR [STDERR] 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 01:16:05,815 ERROR [STDERR] 	at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:52)
 01:16:05,815 ERROR [STDERR] 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 01:16:05,815 ERROR [STDERR] 	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
 01:16:05,815 ERROR [STDERR] 	at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
 01:16:05,815 ERROR [STDERR] 	at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
 01:16:05,815 ERROR [STDERR] 	at org.jboss.seam.example.mail.AsynchronousMailProcessor_$$_javassist_seam_4.scheduleSend(AsynchronousMailProcessor_$$_javassist_seam_4.java)
 01:16:05,815 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 01:16:05,815 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 01:16:05,815 ERROR [STDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 01:16:05,815 ERROR [STDERR] 	at java.lang.reflect.Method.invoke(Method.java:585)
 01:16:05,815 ERROR [STDERR] 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
 01:16:05,816 ERROR [STDERR] 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
 01:16:05,816 ERROR [STDERR] 	at org.jboss.seam.async.AsynchronousInvocation$1.process(AsynchronousInvocation.java:62)
 01:16:05,816 ERROR [STDERR] 	at org.jboss.seam.async.Asynchronous$ContextualAsynchronousRequest.run(Asynchronous.java:80)
 01:16:05,816 ERROR [STDERR] 	at org.jboss.seam.async.AsynchronousInvocation.execute(AsynchronousInvocation.java:44)
 01:16:05,816 ERROR [STDERR] 	at org.jboss.seam.async.ThreadPoolDispatcher$RunnableAsynchronous.run(ThreadPoolDispatcher.java:136)
 01:16:05,816 ERROR [STDERR] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
 01:16:05,816 ERROR [STDERR] 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
 01:16:05,816 ERROR [STDERR] 	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
 01:16:05,816 ERROR [STDERR] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)
 01:16:05,816 ERROR [STDERR] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168)
 01:16:05,816 ERROR [STDERR] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
 01:16:05,817 ERROR [STDERR] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
 01:16:05,817 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:595)
 01:16:05,817 ERROR [STDERR] Caused by: javax.mail.SendFailedException: Invalid Addresses;
   nested exception is:
 	com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.0 Your server IP address is in the SpamHaus SBL-XBL database, bye
 01:16:05,817 ERROR [STDERR] 	at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
 01:16:05,817 ERROR [STDERR] 	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
 01:16:05,817 ERROR [STDERR] 	at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:168)
 01:16:05,817 ERROR [STDERR] 	... 41 more
 01:16:05,817 ERROR [STDERR] Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.0 Your server IP address is in the SpamHaus SBL-XBL database, bye
 01:16:05,817 ERROR [STDERR] 	at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
 01:16:05,818 ERROR [STDERR] 	... 43 more


So I probably have something configured incorrectly, but I've never run across these issues before using Seam mail.
 
Forum Index -> JBoss Seam Integration Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team