You are probably seeing the sequence:
DEBUG 2007-06-30 09:33:09,072 RequestMappingFilter:doFilter - entering
DEBUG 2007-06-30 09:33:09,073 RequestMappingFilter:doFilter - trying mapper
org.apache.roller.ui.rendering.WeblogRequestMapper
DEBUG 2007-06-30 09:33:09,073 WeblogRequestMapper:handleRequest - evaluating
[/blog/CommentAuthenticatorServlet]
DEBUG 2007-06-30 09:33:09,077 WeblogRequestMapper:handleRequest - potential
weblog handle = CommentAuthenticatorServlet
DEBUG 2007-06-30 09:33:09,078 WeblogRequestMapper:handleRequest - SKIPPED
CommentAuthenticatorServlet
DEBUG 2007-06-30 09:33:09,079 RequestMappingFilter:doFilter - request not
mapped
DEBUG 2007-06-30 09:33:09,080 RequestMappingFilter:doFilter - exiting
This is normal and should be occurring while the comment form is loading not
being submitted.
The CommentAuthenticatorServlet supplies the HTML that drives the
client-side comment authentication.
At posting time, you should be seeing something more like the following.
Try to find the corresponding fragment (or at least the beginning of it).
Let us know where it diverges from the sequence below and that will provide
a clue.
If the posting request does not look like url to the blog entry, you
probably do not have a fully converted theme.
DEBUG 2007-06-30 09:36:22,883 RequestMappingFilter:doFilter - entering
DEBUG 2007-06-30 09:36:22,884 RequestMappingFilter:doFilter - trying mapper
org.apache.roller.ui.rendering.WeblogRequestMapper
DEBUG 2007-06-30 09:36:22,885 WeblogRequestMapper:handleRequest - evaluating
[/blog/anil/entry/restoring_habeas_corpus]
DEBUG 2007-06-30 09:36:22,886 WeblogRequestMapper:handleRequest - potential
weblog handle = anil
DEBUG 2007-06-30 09:36:22,887 WeblogRequestMapper:isWeblog - checking weblog
handle anil
DEBUG 2007-06-30 09:36:22,887 HibernatePersistenceStrategy:getSession -
Opening Hibernate Session
DEBUG 2007-06-30 09:36:22,891 HibernateUserManagerImpl:getWebsiteByHandle -
weblogHandleToId CACHE HIT - anil
DEBUG 2007-06-30 09:36:22,892 WeblogRequestMapper:handleRequest - WEBLOG_URL
/anil/entry/restoring_habeas_corpus
DEBUG 2007-06-30 09:36:22,897 WeblogRequestMapper:calculateForwardUrl -
anil,null,entry,restoring_habeas_corpus
DEBUG 2007-06-30 09:36:22,899 WeblogRequestMapper:calculateForwardUrl -
FORWARD_URL /roller-ui/rendering/comment/anil/entry/restoring_habeas_corpus
DEBUG 2007-06-30 09:36:22,900 WeblogRequestMapper:handleRequest - forwarding
to /roller-ui/rendering/comment/anil/entry/restoring_habeas_corpus
DEBUG 2007-06-30 09:36:22,901 CharEncodingFilter:doFilter - Processing
CharEncodingFilter
DEBUG 2007-06-30 09:36:22,902 CharEncodingFilter:doFilter - Set request
character encoding to UTF-8
DEBUG 2007-06-30 09:36:22,902 StrutsCharEncodingFilter:doFilter - Processing
CharEncodingFilter
DEBUG 2007-06-30 09:36:22,903 StrutsCharEncodingFilter:doFilter -
Synchronizing JSTL and Struts locales
DEBUG 2007-06-30 09:36:22,904 StrutsCharEncodingFilter:doFilter - Set
request character encoding to UTF-8
DEBUG 2007-06-30 09:36:22,909 IPBanList:<init> - INIT
DEBUG 2007-06-30 09:36:22,910 RollerConfig:getProperty - Fetching property
[ipbanlist.file=null]
DEBUG 2007-06-30 09:36:22,914 WeblogRequest:<init> - parsing path
/anil/entry/restoring_habeas_corpus
DEBUG 2007-06-30 09:36:22,915 WeblogRequest:<init> - handle = anil
DEBUG 2007-06-30 09:36:22,916 WeblogRequest:<init> - locale = null
DEBUG 2007-06-30 09:36:22,918 WeblogRequest:<init> - pathInfo =
entry/restoring_habeas_corpus
DEBUG 2007-06-30 09:36:22,919 WeblogCommentRequest:<init> - name = Anil
DEBUG 2007-06-30 09:36:22,923 WeblogCommentRequest:<init> - email =
[EMAIL PROTECTED]
DEBUG 2007-06-30 09:36:22,925 WeblogCommentRequest:<init> - url =
DEBUG 2007-06-30 09:36:22,926 WeblogCommentRequest:<init> - content =
temporary test comment
DEBUG 2007-06-30 09:36:22,927 WeblogCommentRequest:<init> - notify = false
DEBUG 2007-06-30 09:36:22,929 WeblogCommentRequest:<init> - weblogAnchor =
restoring_habeas_corpus
DEBUG 2007-06-30 09:36:22,930 HibernatePersistenceStrategy:getSession -
Opening Hibernate Session
DEBUG 2007-06-30 09:36:22,931 HibernateUserManagerImpl:getWebsiteByHandle -
weblogHandleToId CACHE HIT - anil
DEBUG 2007-06-30 09:36:22,933 HibernatePersistenceStrategy:getSession -
Opening Hibernate Session
DEBUG 2007-06-30 09:36:22,934 HibernateUserManagerImpl:getWebsiteByHandle -
weblogHandleToId CACHE HIT - anil
DEBUG 2007-06-30 09:36:22,936 HibernatePersistenceStrategy:getSession -
Opening Hibernate Session
DEBUG 2007-06-30 09:36:22,939
HibernateWeblogManagerImpl:getWeblogEntryByAnchor - entryAnchorToIdMap CACHE
HIT - anil:restoring_habeas_corpus
DEBUG 2007-06-30 09:36:22,943 CommentServlet:doPost - Doing comment posting
for entry = /anil/entry/restoring_habeas_corpus
--a.
----- Original Message -----
From: "RW" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 28, 2007 2:48 PM
Subject: Re: Comments do not work anymore
Thanks for your reply!
Some general suggestions:
Try checking the entries in the database (the "roller_comment" table)
directly. Verify that your posted comments are making it there and are
in approved state (approved flag is 1).
I've checked this. The comments are not making it there. If I post a
comment nothing
get's inserted into "roller_comment" table. As a additional note: The
time comments have
worked and after submitting a comment the user got the message:
"Your comment has been submitted to the moderator for approval."
This text doesn't appear anymore.
Check that your theme is using up-to-date macros for displaying comments.
The macros are up to date but I think that displaying isn't the problem.
The comments
aren't making it into the database.
Try enabling DEBUG logging broadly.
I've enabled it but I really don't see anything usefull. After clearing
the cache I submitted
a comment and get 250 KByte of logfile. I don't want to post it here
because of the size.
Normally I would expect to see the comment text as a binding variable but
that's not
the case. I've also enabled hibernate logging but I don't see any entries
which shows me
the problem.
When the cache is filled and I submit a comment the only entries in the
logfile I get are:
DEBUG 2007-06-28 22:23:51,543 WeblogRequestMapper:handleRequest -
evaluating [/roller/CommentAuthenticatorServlet]
DEBUG 2007-06-28 22:23:51,543 WeblogRequestMapper:handleRequest -
potential weblog handle = CommentAuthenticatorServlet
DEBUG 2007-06-28 22:23:51,544 WeblogRequestMapper:handleRequest - SKIPPED
CommentAuthenticatorServlet
Any hints for what queries I especially should look for?
Greetings
Robert
--a.
----- Original Message ----- From: "RW" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, June 27, 2007 12:55 PM
Subject: Comments do not work anymore
Hi!
I'm using Roller 3.1 for a while now (updated from several versions
during the last years...) and I've just recognized that the comments
are not working anymore. I'm using Tomcat 5.5 and Java 1.5 on Linux
(Gentoo 2007.1).
Checking the output of catalina.out and roller.log gives me absolutely
no hint what's going on. There is no entry (error) in the log files when
I try
to make a comment and press "Post" button.
Formerly I've configured the comments to be moderated. I disabled
it but still no comments possible. Comments are of
course allowed in the weblog settings and by default comments
for new entries are also allowed for an unlimited time.
Are there anyboy who can give me some hints? Any ways I can track
this?
Thank you very much!
Robert