You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Alan Halley <al...@yahoo.com> on 2008/03/15 11:58:33 UTC

Sending Bulk Email and Certificates

Hi

I am having trouble sending bulk email.

Everytime I try to send bulk emails I see the error shown below. We are running behind an Apache server. I wondered if anyone could indicate whether the certificates problem and the email problem are related or offer a suggestion as to the cause of the certificates problem.

The site name has been changed for anonymity.

Many thanks

Alan Halley
2008-03-15 10:18:17,993 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:126:DEBUG] [[[updateContactListCommEvent] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
2008-03-15 10:18:17,993 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:136:DEBUG] Control Path: /marketing/control
2008-03-15 10:18:17,994 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:320:DEBUG] --- Start Request Headers: ---
2008-03-15 10:18:17,994 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] host:www.oursite.co.uk:8443
2008-03-15 10:18:17,994 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] user-agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
2008-03-15 10:18:17,994 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] accept:text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2008-03-15 10:18:17,995 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] accept-language:en-gb,en;q=0.5
2008-03-15 10:18:17,995 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] accept-encoding:gzip,deflate
2008-03-15 10:18:17,995 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] accept-charset:ISO-8859-1,utf-8;q=0.7,*;q=0.7
2008-03-15 10:18:17,996 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] keep-alive:300
2008-03-15 10:18:17,996 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] connection:keep-alive
2008-03-15 10:18:17,996 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] referer:https://www.oursite.co.uk:8443/marketing/control/createContactListCommEvent
2008-03-15 10:18:17,996 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] cookie:JSESSIONID=6AB5AFCA8FD8BCFFA68A5FD79B46CF95.jvm1; webtools.autoUserLoginId=admin; marketing.autoUserLoginId=alan; root.autoUserLoginId=admin; accounting.autoUserLoginId=admin; partymgr.autoUserLoginId=admin; ordermgr.autoUserLoginId=admin; facility.autoUserLoginId=admin; OFBiz.Visitor=10084; JSESSIONID=B6FC684089DD7F68FF3B3F3A0E24BF6D.jvm1
2008-03-15 10:18:17,997 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] content-type:application/x-www-form-urlencoded
2008-03-15 10:18:17,997 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] content-length:280
2008-03-15 10:18:17,997 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:326:DEBUG] --- End Request Headers: ---
2008-03-15 10:18:17,998 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:328:DEBUG] --- Start Request Parameters: ---
2008-03-15 10:18:17,998 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] datetimeEnded:
2008-03-15 10:18:17,998 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] contactMechIdFrom:10050
2008-03-15 10:18:17,999 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] partyIdFrom:Company
2008-03-15 10:18:17,999 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] datetimeStarted:
2008-03-15 10:18:17,999 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] content:TEST
2008-03-15 10:18:17,999 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] roleTypeIdTo:
2008-03-15 10:18:18,000 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] statusId:COM_IN_PROGRESS
2008-03-15 10:18:18,000 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] communicationEventId:10774
2008-03-15 10:18:18,000 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] note:
2008-03-15 10:18:18,001 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] contentMimeTypeId:text/html
2008-03-15 10:18:18,001 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] subject:TEST
2008-03-15 10:18:18,001 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] contactListId:10000
2008-03-15 10:18:18,001 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] communicationEventTypeId:AUTO_EMAIL_COMM
2008-03-15 10:18:18,002 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] roleTypeIdFrom:
2008-03-15 10:18:18,002 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:334:DEBUG] --- End Request Parameters: ---
2008-03-15 10:18:18,002 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:336:DEBUG] --- Start Request Attributes: ---
2008-03-15 10:18:18,002 (http-0.0.0.0-8443-Processor1) [      JSSE14Support.java:115:DEBUG] Error getting client certs
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
    at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:345)
    at org.apache.tomcat.util.net.jsse.JSSE14Support.getX509Certificates(JSSE14Support.java:113)
    at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSESupport.java:124)
    at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1040)
    at org.apache.coyote.Request.action(Request.java:351)
    at org.apache.catalina.connector.Request.getAttribute(Request.java:861)
    at org.apache.catalina.connector.Request.getAttributeNames(Request.java:901)
    at org.apache.catalina.connector.RequestFacade.getAttributeNames(RequestFacade.java:276)
    at org.ofbiz.webapp.control.ControlServlet.logRequestInfo(ControlServlet.java:337)
    at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:182)
    at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    at java.lang.Thread.run(Thread.java:595)
2008-03-15 10:18:18,003 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] dispatcher:org.ofbiz.service.WebAppDispatcher@6c137c
2008-03-15 10:18:18,003 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] javax.servlet.request.key_size:0
2008-03-15 10:18:18,003 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] servletContext:org.apache.catalina.core.ApplicationContextFacade@1735602
2008-03-15 10:18:18,004 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] javax.servlet.request.cipher_suite:TLS_DHE_RSA_WITH_AES_128_CBC_SHA
2008-03-15 10:18:18,004 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] _REQUEST_HANDLER_:org.ofbiz.webapp.control.RequestHandler@16f4ce0
2008-03-15 10:18:18,004 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] security:org.ofbiz.security.OFBizSecurity@113cf49





Re: Sending Bulk Email and Certificates

Posted by BJ Freeman <bj...@free-man.net>.
I am guessing this might have something to do with it.
2008-03-15 10:18:18,002 (http-0.0.0.0-8443-Processor1) [
JSSE14Support.java:115:DEBUG] Error getting client certs
if you are running JDK 1.5

another possibility is you don't have the certs setup as required.

also I dont' see a to: defined so you may have endpoint problems.

Alan Halley sent the following on 3/15/2008 2:58 AM:
> Hi
> 
> I am having trouble sending bulk email.
> 
> Everytime I try to send bulk emails I see the error shown below. We are running behind an Apache server. I wondered if anyone could indicate whether the certificates problem and the email problem are related or offer a suggestion as to the cause of the certificates problem.
> 
> The site name has been changed for anonymity.
> 
> Many thanks
> 
> Alan Halley
> 2008-03-15 10:18:17,993 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:126:DEBUG] [[[updateContactListCommEvent] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> 2008-03-15 10:18:17,993 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:136:DEBUG] Control Path: /marketing/control
> 2008-03-15 10:18:17,994 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:320:DEBUG] --- Start Request Headers: ---
> 2008-03-15 10:18:17,994 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] host:www.oursite.co.uk:8443
> 2008-03-15 10:18:17,994 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] user-agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
> 2008-03-15 10:18:17,994 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] accept:text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
> 2008-03-15 10:18:17,995 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] accept-language:en-gb,en;q=0.5
> 2008-03-15 10:18:17,995 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] accept-encoding:gzip,deflate
> 2008-03-15 10:18:17,995 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] accept-charset:ISO-8859-1,utf-8;q=0.7,*;q=0.7
> 2008-03-15 10:18:17,996 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] keep-alive:300
> 2008-03-15 10:18:17,996 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] connection:keep-alive
> 2008-03-15 10:18:17,996 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] referer:https://www.oursite.co.uk:8443/marketing/control/createContactListCommEvent
> 2008-03-15 10:18:17,996 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] cookie:JSESSIONID=6AB5AFCA8FD8BCFFA68A5FD79B46CF95.jvm1; webtools.autoUserLoginId=admin; marketing.autoUserLoginId=alan; root.autoUserLoginId=admin; accounting.autoUserLoginId=admin; partymgr.autoUserLoginId=admin; ordermgr.autoUserLoginId=admin; facility.autoUserLoginId=admin; OFBiz.Visitor=10084; JSESSIONID=B6FC684089DD7F68FF3B3F3A0E24BF6D.jvm1
> 2008-03-15 10:18:17,997 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] content-type:application/x-www-form-urlencoded
> 2008-03-15 10:18:17,997 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:324:DEBUG] content-length:280
> 2008-03-15 10:18:17,997 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:326:DEBUG] --- End Request Headers: ---
> 2008-03-15 10:18:17,998 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:328:DEBUG] --- Start Request Parameters: ---
> 2008-03-15 10:18:17,998 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] datetimeEnded:
> 2008-03-15 10:18:17,998 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] contactMechIdFrom:10050
> 2008-03-15 10:18:17,999 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] partyIdFrom:Company
> 2008-03-15 10:18:17,999 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] datetimeStarted:
> 2008-03-15 10:18:17,999 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] content:TEST
> 2008-03-15 10:18:17,999 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] roleTypeIdTo:
> 2008-03-15 10:18:18,000 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] statusId:COM_IN_PROGRESS
> 2008-03-15 10:18:18,000 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] communicationEventId:10774
> 2008-03-15 10:18:18,000 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] note:
> 2008-03-15 10:18:18,001 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] contentMimeTypeId:text/html
> 2008-03-15 10:18:18,001 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] subject:TEST
> 2008-03-15 10:18:18,001 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] contactListId:10000
> 2008-03-15 10:18:18,001 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] communicationEventTypeId:AUTO_EMAIL_COMM
> 2008-03-15 10:18:18,002 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:332:DEBUG] roleTypeIdFrom:
> 2008-03-15 10:18:18,002 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:334:DEBUG] --- End Request Parameters: ---
> 2008-03-15 10:18:18,002 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:336:DEBUG] --- Start Request Attributes: ---
> 2008-03-15 10:18:18,002 (http-0.0.0.0-8443-Processor1) [      JSSE14Support.java:115:DEBUG] Error getting client certs
> javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
>     at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:345)
>     at org.apache.tomcat.util.net.jsse.JSSE14Support.getX509Certificates(JSSE14Support.java:113)
>     at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSESupport.java:124)
>     at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1040)
>     at org.apache.coyote.Request.action(Request.java:351)
>     at org.apache.catalina.connector.Request.getAttribute(Request.java:861)
>     at org.apache.catalina.connector.Request.getAttributeNames(Request.java:901)
>     at org.apache.catalina.connector.RequestFacade.getAttributeNames(RequestFacade.java:276)
>     at org.ofbiz.webapp.control.ControlServlet.logRequestInfo(ControlServlet.java:337)
>     at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:182)
>     at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>     at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)
>     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
>     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>     at java.lang.Thread.run(Thread.java:595)
> 2008-03-15 10:18:18,003 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] dispatcher:org.ofbiz.service.WebAppDispatcher@6c137c
> 2008-03-15 10:18:18,003 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] javax.servlet.request.key_size:0
> 2008-03-15 10:18:18,003 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] servletContext:org.apache.catalina.core.ApplicationContextFacade@1735602
> 2008-03-15 10:18:18,004 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] javax.servlet.request.cipher_suite:TLS_DHE_RSA_WITH_AES_128_CBC_SHA
> 2008-03-15 10:18:18,004 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] _REQUEST_HANDLER_:org.ofbiz.webapp.control.RequestHandler@16f4ce0
> 2008-03-15 10:18:18,004 (http-0.0.0.0-8443-Processor1) [     ControlServlet.java:340:DEBUG] security:org.ofbiz.security.OFBizSecurity@113cf49
> 
> 
> 
> 
>