Hi I have configured UGC and I am getting the above error and have added the stacktrace below
2014-01-12 15:24:38,446 DEBUG ClaimStore - put: uri=taf:request:cookies, value={}
2014-01-12 15:24:38,446 DEBUG AmbientDataServletFilter - Dispatching onSessionStart event
2014-01-12 15:24:38,447 DEBUG AmbientDataServletFilter - Dispatching onRequestStart event
2014-01-12 15:24:38,447 DEBUG AllowAnonymousPostClaimProcessor - No external user specified, using tracking id.
2014-01-12 15:24:38,447 DEBUG ClaimStore - put: uri=taf:claim:contentdelivery:webservice:user, value=tridion_3b4604fe-53cd-4460-9834-08d3cc4eecd9
2014-01-12 15:24:38,447 TRACE ODataInputParser - Parsing following queryString: /ItemStats(PublicationId=10,Id=109129,Type=64)
2014-01-12 15:24:38,448 TRACE BasePostClaimProcessor - User ID: tridion_3b4604fe-53cd-4460-9834-08d3cc4eecd9, Request URI: /cd_ugc_webservice_integrated/ws/odata.svc/ItemStats(PublicationId=10,Id=109129,Type=64)
2014-01-12 15:24:38,448 DEBUG PostAllowedByEveryoneClaimProcessor - Allowing user 'tridion_3b4604fe-53cd-4460-9834-08d3cc4eecd9' to post on: /cd_ugc_webservice_integrated/ws/odata.svc/ItemStats(PublicationId=10,Id=109129,Type=64)
2014-01-12 15:24:38,448 DEBUG ClaimStore - put: uri=taf:claim:contentdelivery:webservice:post:allowed, value=true
2014-01-12 15:24:38,448 TRACE AmbientDataServletFilter - There is no tracking cookie in the request!
2014-01-12 15:24:38,448 TRACE AmbientDataServletFilter - CookieClaim -> taf:response:cookie:generation:true
2014-01-12 15:24:38,448 TRACE AmbientDataServletFilter - CookieClaim has value true, setting tracking cookie!
2014-01-12 15:24:38,448 TRACE AmbientDataServletFilter - setCookie -> name: TAFTrackingId, persistent: true, id:tridion_3b4604fe-53cd-4460-9834-08d3cc4eecd9
2014-01-12 15:24:38,448 DEBUG ODataPublicationMappingFilter - Rewrite url from: /cd_ugc_webservice_integrated/ws/odata.svc/ItemStats(PublicationId=10,Id=109129,Type=64)
2014-01-12 15:24:38,448 DEBUG ODataPublicationMappingFilter - Getting publication url for: cd_ugc_webservice_integrated/ws
2014-01-12 15:24:38,448 DEBUG ODataPublicationMappingFilter - Rewrite url to: /odata.svc/ItemStats(PublicationId=1,Id=109129,Type=64)
2014-01-12 15:24:38,449 TRACE ODataInputParser - Parsing following queryString: ItemStats(PublicationId=1,Id=109129,Type=64)
2014-01-12 15:24:38,452 TRACE JPABaseDAO - [ActionTimer] Query List Result time: 2030147 nanoseconds (2.030147 milliseconds)
2014-01-12 15:24:38,452 DEBUG JPAItemStatsDAO - Could not find ItemStats to remove from storage.
2014-01-12 15:24:38,452 DEBUG AmbientDataServletFilter - Dispatching onRequestEnd event
2014-01-12 15:24:38,452 DEBUG WebContext - setCurrentClaimStore: null, thread: ajp-bio-/10.0.0.47-8214-exec-2
EDIT: Yes, this is from odata jsp application I set up for moderators and the above log is from cd_core.log. I cleared my logs and tried to open the comments tab of the component again and the cd_core logs don't have a db connection errors. What should I look for.