cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@informatik.tu-darmstadt.de>
Subject Re: AW: Sendmail still does not work for me
Date Wed, 23 Apr 2003 18:39:09 GMT
Torsten Schlabach wrote:
>>>A rebuild is not required. Just drop the jars to WEB-INF/libs and
> 
> restart Cocoon.
> 
> If you'd tell me where to download nightly snapshot builds I would have
> done that.

Right -- there is none. But you may build without the jars and drop them in
later you so desire.

>>>Did you read the page carefully? I.e. the sample silently fails if
>>>the client does not access the sample through http://localhost....
> 
> Yes! I access the sample through http://localhost:8080/cocoon-2.1/...
> 
> 
>>>Did it execute at all? (Invocation should show up in logs if debug
> 
> level is low enough i.e. "DEBUG") 
> 
> Could you maybe be a bit more specific here? What keyword should I watch
> for? In what log file? With what special settings in logkit.xconf. (Is
> there any documentation on the logging concept anywhere anyway?) I kept
> the defaults from the CVS head as of this morning.

in /logkit/categories/category[@name='sitemap'] @log-level:="DEBUG"

Result (from sitemap.log)
Two requests to ..../sendmail/new.html : 1) get form & init sitemap 2) send mail
"..." indicates snipping

...(1)
INFO    (2003-04-23) 20:16.32:712   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/PreparableMatchNode:
Matcher 'wildcard' matched prepared pattern '*/**' at 
file:cocoon-2.1/build/webapp/samples/mail/sitemap.xmap:57:30
DEBUG   (2003-04-23) 20:16.32:713   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/InvokeContext:
Current Sitemap Parameters:
LEVEL 1
PARAM: '2' VALUE: 'new.html'
PARAM: '0' VALUE: 'sendmail/new.html'
PARAM: '1' VALUE: 'sendmail'

...
DEBUG   (2003-04-23) 20:16.33:116   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/ExcaliburComponentSelector:
ComponentSelector setting up with root element: actions
DEBUG   (2003-04-23) 20:16.33:116   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/DefaultRoleManager:
looking up shorthand actions, returning org.apache.cocoon.acting.ActionSelector
DEBUG   (2003-04-23) 20:16.33:241   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/DefaultComponentFactory:
ComponentFactory creating new instance of org.apache.cocoon.acting.Sendmail.
DEBUG   (2003-04-23) 20:16.33:241   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/DefaultComponentFactory:
logger attribute is sitemap.action.sendmail
DEBUG   (2003-04-23) 20:16.33:242   [sitemap.action.sendmail] (/samples/mail/sendmail/new.html)
PoolThread-4/Sendmail: SendmailAction: init
DEBUG   (2003-04-23) 20:16.33:242   [sitemap.action.sendmail] (/samples/mail/sendmail/new.html)
PoolThread-4/Sendmail: SendmailAction: using 127.0.0.1 as the smtp server
DEBUG   (2003-04-23) 20:16.33:242   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/ThreadSafeComponentHandler:
ComponentHandler initialized for: org.apache.cocoon.acting.Sendmail
DEBUG   (2003-04-23) 20:16.33:242   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/ExcaliburComponentSelector:
Adding org.apache.cocoon.acting.Sendmail for hint [sendmail]
...
INFO    (2003-04-23) 20:16.34:332   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/PreparableMatchNode:
Matcher 'host-matcher' matched prepared pattern 'localhost' at 
file:cocoon-2.1/build/webapp/samples/mail/sendmail/sitemap.xmap:62:57
DEBUG   (2003-04-23) 20:16.34:333   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/InvokeContext:
Current Sitemap Parameters:
LEVEL 2
PARAM: '0' VALUE: 'localhost'
LEVEL 1
PARAM: '../0' VALUE: 'new.html'
PARAM: '../1' VALUE: 'new.html'

...(2)
INFO    (2003-04-23) 20:18.08:755   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/PreparableMatchNode:
Matcher 'wildcard' matched prepared pattern '*' at 
file:cocoon-2.1/build/webapp/samples/mail/sendmail/sitemap.xmap:60:27
DEBUG   (2003-04-23) 20:18.08:755   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/InvokeContext:
Current Sitemap Parameters:
LEVEL 1
PARAM: '0' VALUE: 'new.html'
PARAM: '1' VALUE: 'new.html'

INFO    (2003-04-23) 20:18.08:759   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/PreparableMatchNode:
Matcher 'host-matcher' matched prepared pattern 'localhost' at 
file:cocoon-2.1/build/webapp/samples/mail/sendmail/sitemap.xmap:62:57
DEBUG   (2003-04-23) 20:18.08:759   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/InvokeContext:
Current Sitemap Parameters:
LEVEL 2
PARAM: '0' VALUE: 'localhost'
LEVEL 1
PARAM: '../0' VALUE: 'new.html'
PARAM: '../1' VALUE: 'new.html'

DEBUG   (2003-04-23) 20:18.08:759   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/DefaultComponentFactory:
ComponentFactory creating new instance of 
org.apache.cocoon.acting.RequestParameterExistsAction.
DEBUG   (2003-04-23) 20:18.08:759   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/DefaultComponentFactory:
logger attribute is sitemap.action.requestParamExists
DEBUG   (2003-04-23) 20:18.08:760   [sitemap.action.requestParamExists] (/samples/mail/sendmail/new.html)
PoolThread-4/RequestParameterExistsAction: checking default parameters
DEBUG   (2003-04-23) 20:18.08:760   [sitemap.action.requestParamExists] (/samples/mail/sendmail/new.html)
PoolThread-4/RequestParameterExistsAction: checking sitemap parameters
DEBUG   (2003-04-23) 20:18.08:760   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/DefaultComponentFactory:
ComponentFactory decommissioning instance of 
org.apache.cocoon.acting.RequestParameterExistsAction.
DEBUG   (2003-04-23) 20:18.08:761   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/InvokeContext:
Current Sitemap Parameters:
LEVEL 3
PARAM: 'use-action' VALUE: 'action'
LEVEL 2
PARAM: '../0' VALUE: 'localhost'
LEVEL 1
PARAM: '../../0' VALUE: 'new.html'
PARAM: '../../1' VALUE: 'new.html'

DEBUG   (2003-04-23) 20:18.08:761   [sitemap.action.sendmail] (/samples/mail/sendmail/new.html)
PoolThread-4/Sendmail: SendmailAction: act start
DEBUG   (2003-04-23) 20:18.08:761   [sitemap.action.sendmail] (/samples/mail/sendmail/new.html)
PoolThread-4/Sendmail: SendmailAction: overriding default smtp server, using localhost
DEBUG   (2003-04-23) 20:18.09:204   [sitemap.action.sendmail] (/samples/mail/sendmail/new.html)
PoolThread-4/Sendmail: request-attachment: null
DEBUG   (2003-04-23) 20:18.09:207   [sitemap.action.sendmail] (/samples/mail/sendmail/new.html)
PoolThread-4/Sendmail: sitemap-attachment: cocoon:///
DEBUG   (2003-04-23) 20:18.09:208   [sitemap.action.sendmail] (/samples/mail/sendmail/new.html)
PoolThread-4/Sendmail: sitemap-attachment: context://welcome.xml
...
DEBUG   (2003-04-23) 20:18.10:730   [sitemap.action.sendmail] (/samples/mail/sendmail/new.html)
PoolThread-4/Sendmail: SendmailAction: act stop
DEBUG   (2003-04-23) 20:18.10:731   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/InvokeContext:
Current Sitemap Parameters:
LEVEL 4
PARAM: 'status' VALUE: 'success'
LEVEL 3
PARAM: '../use-action' VALUE: 'action'
LEVEL 2
PARAM: '../../0' VALUE: 'localhost'
LEVEL 1
PARAM: '../../../0' VALUE: 'new.html'
PARAM: '../../../1' VALUE: 'new.html'

DEBUG   (2003-04-23) 20:18.10:731   [sitemap] (/samples/mail/sendmail/new.html) PoolThread-4/InvokeContext:
Current Sitemap Parameters:
LEVEL 5
PARAM: 'remove' VALUE: ''
PARAM: 'target' VALUE: 'done.xml'
LEVEL 4
PARAM: '../status' VALUE: 'success'
LEVEL 3
PARAM: '../../use-action' VALUE: 'action'
LEVEL 2
PARAM: '../../../0' VALUE: 'localhost'
LEVEL 1
PARAM: '../../../../0' VALUE: 'new.html'
PARAM: '../../../../1' VALUE: 'new.html'

...

HTH

	Chris.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message