Re: sendMail sample not working for Cocoon2.1M2...

2003-06-25 Thread Christian Haul
On 24.Jun.2003 -- 10:00 AM, Yan, Charlene wrote:
 Chris,
 
 Looks like that to field is not changed in the logs.  I hope this email is going to 
 go through.  After the send, the same page comes up.

Charlene, I have send a direct reply yesterday. In short, I cannot
reproduce this with a clean cvs checkout. The problem appear to be a
request parameter not getting through -- sendmail is never invoked.
Please update and try again with a fresh  clean version.

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: sendMail sample not working for Cocoon2.1M2...

2003-06-24 Thread Christian Haul
On 23.Jun.2003 -- 05:28 PM, Yan, Charlene wrote:
 
 I'm using Cocoon2.1M2.  I tried to run sample at
 http://localhost:8080/cocoon/samples/mail/sendmail/new.html.  It
 failed.  I didn't get any emails sent.  The mailing archive indicated
 to me that mail.jar and activation.jar should be in
 $tomcat/Webapps/WEB-INF/lib.  So I copied those two jars to the dir.

Correct.

 I also tested my local SMTP server using another java web appication
 which has mailhost as localhost and the email was sent successfully.

Good.

 I restarted tomcat and the mail sample still didn't work.  I tried all
 three: sendMail, sendMailAction and logicsheet.  I also set the
 log-level to debug for sitemap in logkit.xconf file (see below) 

Good.

 category log-level=DEBUG name=sitemap
   log-target id-ref=sitemap/
   log-target id-ref=error/
 /category
 It did not give me much useful info (see below).

Actually, the crucial part would be before the snippet you provided.

 Do I have to rebuild Cocoon if I want to run sendMail sample?  Are there any ways to 
 detect why it is not working?

No, no need to rebuild Cocoon. 

Which page is shown as result?

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: sendMail sample not working for Cocoon2.1M2...

2003-06-24 Thread Yan, Charlene
Chris,

Looks like that to field is not changed in the logs.  I hope this email is going to go 
through.  After the send, the same page comes up.

Thanks.

Charlene
: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '1' VALUE: 'new.html'
PARAM: '0' VALUE: 'new.html'

DEBUG   (2003-06-24) 09:40.21:261   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/PreparableMatchNode: Matcher 'host-matcher' matched prepared 
pattern 'localhost' at 
file:/C:/jakarta-tomcat-4.0.5/webapps/cocoon/samples/mail/sendmail/sitemap.xmap:62:57
DEBUG   (2003-06-24) 09:40.21:261   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/InvokeContext: 
Current Sitemap Parameters:
LEVEL 2
PARAM: '0' VALUE: 'localhost'
LEVEL 1
PARAM: '../1' VALUE: 'new.html'
PARAM: '../0' VALUE: 'new.html'

DEBUG   (2003-06-24) 09:40.21:261   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: ComponentFactory creating new instance 
of org.apache.cocoon.acting.RequestParameterExistsAction.
DEBUG   (2003-06-24) 09:40.21:271   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: logger attribute is 
sitemap.action.requestParamExists
DEBUG   (2003-06-24) 09:40.21:271   [sitemap.action.requestParamExists] 
(/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/RequestParameterExistsAction: checking default parameters
DEBUG   (2003-06-24) 09:40.21:271   [sitemap.action.requestParamExists] 
(/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/RequestParameterExistsAction: checking sitemap parameters
DEBUG   (2003-06-24) 09:40.21:271   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: ComponentFactory decommissioning 
instance of org.apache.cocoon.acting.RequestParameterExistsAction.
DEBUG   (2003-06-24) 09:40.21:271   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: ComponentFactory creating new instance 
of org.apache.cocoon.acting.RequestParameterExistsAction.
DEBUG   (2003-06-24) 09:40.21:271   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: logger attribute is 
sitemap.action.requestParamExists
DEBUG   (2003-06-24) 09:40.21:271   [sitemap.action.requestParamExists] 
(/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/RequestParameterExistsAction: checking default parameters
DEBUG   (2003-06-24) 09:40.21:271   [sitemap.action.requestParamExists] 
(/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/RequestParameterExistsAction: checking sitemap parameters
DEBUG   (2003-06-24) 09:40.21:271   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: ComponentFactory decommissioning 
instance of org.apache.cocoon.acting.RequestParameterExistsAction.
DEBUG   (2003-06-24) 09:40.21:271   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: ComponentFactory creating new instance 
of org.apache.cocoon.acting.RequestParameterExistsAction.
DEBUG   (2003-06-24) 09:40.21:271   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: logger attribute is 
sitemap.action.requestParamExists
DEBUG   (2003-06-24) 09:40.21:271   [sitemap.action.requestParamExists] 
(/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/RequestParameterExistsAction: checking default parameters
DEBUG   (2003-06-24) 09:40.21:271   [sitemap.action.requestParamExists] 
(/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/RequestParameterExistsAction: checking sitemap parameters
DEBUG   (2003-06-24) 09:40.21:271   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: ComponentFactory decommissioning 
instance of org.apache.cocoon.acting.RequestParameterExistsAction.
DEBUG   (2003-06-24) 09:40.21:281   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/InvokeContext: 
Current Sitemap Parameters:
LEVEL 2
PARAM: 'target' VALUE: 'form.xml'
PARAM: 'remove' VALUE: 'new.html'
LEVEL 1
PARAM: '../1' VALUE: 'new.html'
PARAM: '../0' VALUE: 'new.html'

DEBUG   (2003-06-24) 09:40.21:321   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: ComponentFactory creating new instance 
of org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline.
DEBUG   (2003-06-24) 09:40.21:321   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/DefaultComponentFactory: no logger attribute available, using 
standard logger
DEBUG   (2003-06-24) 09:40.21:341   [sitemap] (/cocoon/samples/mail/sendmail/new.html) 
HttpProcessor[8080][4]/ResourceLimitingPool: Created a new 
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline from the object 
factory.
DEBUG   (2003-06-24) 09:40.21:341   

RE: sendMail sample not working for Cocoon2.1M2...

2003-06-24 Thread Yan, Charlene
Chris,

I'm able to run the example now.  Please follow my other thread Chaining pipelines 
--- write a file to server --- email it as an attachment -- delete the file

Thanks.

Charlene

 category log-level=DEBUG name=sitemap
   log-target id-ref=sitemap/
   log-target id-ref=error/
 /category
 It did not give me much useful info (see below).

Actually, the crucial part would be before the snippet you provided.

 Do I have to rebuild Cocoon if I want to run sendMail sample?  Are there any ways to 
 detect why it is not working?

No, no need to rebuild Cocoon. 

Which page is shown as result?

Chris.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]