Logging in JPublishEngine.java 1.15+
Alejandro Revilla <[email protected]> Thu, 3 Mar 2005 23:23:20 -0200
| Newsgroups | gmane.comp.java.jpublish.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Anthony,
in JPublishEngine.java version 1.15 you added the following
log.warn:
+ if (context.getResponse().isCommitted()) {
+ log.warn("The response is already committed, but we're running post evaluation actions. BE CAREFUL");
+ }
I have an application that opens an Hibernate session in a
pre-evaluation-action, and then closes it in a post-evaluation-action,
as the last thing to do, after obviously the response is committed.
Is there a clean way to get rid of that warning message?
Thanks in advance and congratulations, once again, for JPublish.
--Alejandro
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click