cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Praher <jpra...@yahoo.de>
Subject action gets configured and disposed 2x for one service
Date Tue, 11 Feb 2003 10:05:30 GMT
hi all,

in my previous mail I mentioned that I wanted to check for processing
events.

so I wrote a little action, that implements Disposable and logged the
events in a separate logkit file.

now for one request/response cycle I get the following logs:

DEBUG   (2003-02-11) 11:00.32:992   [oegampge.test] (/cocoon/test)
Thread-8/LifecycleTestAction: configuring for Thread-8
DEBUG   (2003-02-11) 11:00.32:992   [oegampge.test] (/cocoon/test)
Thread-8/LifecycleTestAction: disposing for Thread-8
DEBUG   (2003-02-11) 11:00.33:005   [oegampge.test] (/cocoon/test)
Thread-8/LifecycleTestAction: configuring for Thread-8
DEBUG   (2003-02-11) 11:00.33:005   [oegampge.test] (/cocoon/test)
Thread-8/LifecycleTestAction: disposing for Thread-8

the funny thing is that I get 2x configuration and 2x dispose.
But when I don't use the action I get none!

how does this come?

my sitemap:

<map:pipeline>
  <map:match pattern="test**">
	
	<map:act type="testlifecycle">
		<map:generate src="sitemap.xmap" />
		<map:serialize />
	</map:act>
	
 </map:match>
</map:pipeline>


thanks

-- Jakob


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


Mime
View raw message