cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Luzyanin <i...@ProZa.Lviv.UA>
Subject Sendmail again :(
Date Wed, 18 Sep 2002 12:33:42 GMT

I'm having a problem with sendmail. I've successfuly set up sendmail 
logicsheet, put mail.jar from JavaMail 1.3 pakage to WEB-INF/lib. Transformed 
XSP page (Java source in work dir, attached) seemes to be ok and no errors 
reported in log-file... 
But still i can't recieve an e-mail, and most strange thing is that result of 
pipeline execution is empty document... I try to apply not valid e-mail 
address and still the same result  - no result (empty document).

Desired result:

and an e-mail message in my inbox :)


<?xml version="1.0" encoding="UTF-8"?>
 xmlns:sendmail="" >
   String text =
   "this mail has been send through a web form ...\n";
   <sendmail:subject>Cocoon send mail test</sendmail:subject>
   <!-- Modify the next line to point to your mail server -->

Sitemap pipeline:
<map:match pattern="mail.xml">
     <map:generate src="docs/mail.xsp" type="serverpages"/>
      <map:serialize type="xml"/>

Snip from sitemap logfile:

DEBUG   (2002-09-18) 15:12.29:482   [sitemap] (/proza-new/mail.xml) 
HttpProcessor[8080][4]/sitemap_xmap: Matched wildcard pattern *.xml
DEBUG   (2002-09-18) 15:12.29:483   [sitemap] (/proza-new/mail.xml) 
Current Sitemap Parameters:
PARAM: '1' VALUE: 'mail'
PARAM: '0' VALUE: 'mail.xml'

DEBUG   (2002-09-18) 15:12.29:483   [sitemap.selector.request-parameter] 
(/proza-new/mail.xml) HttpProcessor[8080][4]/RequestParameterSelector: 
Request parameter 'action' not set -- failing.
DEBUG   (2002-09-18) 15:12.29:484   [sitemap] (/proza-new/mail.xml) 
HttpProcessor[8080][4]/sitemap_xmap: Matched wildcard pattern mail.xml
DEBUG   (2002-09-18) 15:12.29:485   [sitemap] (/proza-new/mail.xml) 
Current Sitemap Parameters:
PARAM: '0' VALUE: 'mail.xml'
PARAM: '../1' VALUE: 'mail'
PARAM: '../0' VALUE: 'mail.xml'

DEBUG   (2002-09-18) 15:12.29:485   [sitemap] (/proza-new/mail.xml) 
HttpProcessor[8080][4]/sitemap_xmap: Component 
DEBUG   (2002-09-18) 15:12.29:486   [sitemap] (/proza-new/mail.xmll) 
HttpProcessor[8080][4]/sitemap_xmap: Source= docs/mail.xsp
DEBUG   (2002-09-18) 15:12.29:487   [sitemap] (/proza-new/mail.xml) 
HttpProcessor[8080][4]/sitemap_xmap: Component 

Help me, please! I've killed 2 hours to find out where is the problem...

My env: Cocoon 2.0.3, Tomcat 4.0.4, JDK 1.4.0_01, SuSE 8.0

Ivan Luzyanin.

View raw message