Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
-none-

-none-

2007-09-02       - By martin.krajci

 Back
Hi Pete,

Thanx for helping me out. The whole stack trace is below. I'm getting the same
exception in both cases:

  <mail:mail-session session-jndi-name="java:/CechieMailService" debug="true"/>
 |
 |     <mail:mail-session host="localhost" port="2525" username="test"
password="test" />


18:03:50,425 INFO  [MailSession] Creating JavaMail Session (localhost:null)
18:03:50,445 INFO  [MailSession] connected to mail server
18:03:53,049 ERROR [ReservationComponent] Error sending mail
javax.faces.FacesException: Exception reading response
       at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:142)
       at org.jboss.seam.ui.JSF.renderChild(JSF.java:180)
       at org.jboss.seam.ui.JSF.renderChildren(JSF.java:162)
       at org.jboss.seam.ui.facelet.FaceletsRenderer.renderFacelet(FaceletsRend
erer.java:150)
       at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.ja
va:112)
       at cz.krajci.cechie.business.logic.ReservationComponent.finishBooking(Re
servationComponent.java:164)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:112)
       at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationCo
ntextImpl.java:166)
       at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationCo
ntext.java:37)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:57)
       at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(Bijecti
onInterceptor.java:47)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:69)
       at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundIn
voke(ManagedEntityIdentityInterceptor.java:37)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:69)
       at org.jboss.seam.interceptors.ConversationInterceptor.aroundInvoke(Conv
ersationInterceptor.java:54)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:69)
       at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(Met
hodContextInterceptor.java:27)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:69)
       at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:
103)
       at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionB
eanInterceptor.java:53)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationCo
ntextImpl.java:118)
       at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3Int
erceptorsInterceptor.java:63)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
       at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationIntercepto
r.invoke(ExtendedPersistenceContextPropagationInterceptor.java:71)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
       at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invok
e(TransactionScopedEntityManagerInterceptor.java:54)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
       at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsI
nterceptor.java:47)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
       at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
       at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java
:195)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
       at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInt
erceptor.java:76)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
       at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulIn
stanceInterceptor.java:83)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
       at org.jboss.aspects.security.AuthenticationInterceptor.invoke(Authentic
ationInterceptor.java:77)
       at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3Auth
enticationInterceptor.java:106)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
       at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterce
ptor.java:46)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
       at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(Asynchrono
usInterceptor.java:106)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
       at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContain
er.java:204)
       at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.
java:100)
       at $Proxy257.finishBooking(Unknown Source)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
       at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocation
Context.java:31)
       at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideIn
terceptor.java:72)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:57)
       at org.jboss.seam.interceptors.RemoveInterceptor.aroundInvoke(RemoveInte
rceptor.java:40)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:69)
       at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:
103)
       at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInter
ceptor.java:50)
       at org.javassist.tmp.java.lang.Object_$$_javassist_69.finishBooking(Obje
ct_$$_javassist_69.java)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
       at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:2
76)
       at org.jboss.seam.ui.facelet.MethodExpressionHelper.invokeTheExpression(
MethodExpressionHelper.java:102)
       at org.jboss.seam.ui.facelet.ParamMethodExpression.invoke(ParamMethodExp
ression.java:62)
       at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja
va:68)
       at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met
hodBindingMethodExpressionAdapter.java:77)
       at com.sun.faces.application.ActionListenerImpl.processAction(ActionList
enerImpl.java:91)
       at javax.faces.component.UICommand.broadcast(UICommand.java:383)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.j
ava:180)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot
.java:158)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewR
oot.java:346)
       at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat
ionPhase.java:97)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)

       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseX
MLFilter.java:127)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.
java:277)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:179)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:433)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:104)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
onnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:241)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:580)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
       at java.lang.Thread.run(Thread.java:595)
Caused by: javax.mail.MessagingException: Exception reading response;
 nested exception is:
       java.net.SocketException: Connection reset
       at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java
:1462)
       at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
       at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:37
0)
       at javax.mail.Service.connect(Service.java:275)
       at javax.mail.Service.connect(Service.java:156)
       at javax.mail.Service.connect(Service.java:105)
       at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:136)
       ... 111 more
Caused by: java.net.SocketException: Connection reset
       at java.net.SocketInputStream.read(SocketInputStream.java:168)
       at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
       at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
       at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java
:1440)
       ... 117 more

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4080315#4080315

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4080315
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user