Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 64959 invoked from network); 8 May 2008 11:58:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 11:58:09 -0000 Received: (qmail 89866 invoked by uid 500); 8 May 2008 11:58:10 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 89834 invoked by uid 500); 8 May 2008 11:58:10 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 89823 invoked by uid 99); 8 May 2008 11:58:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 04:58:10 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.39.129] (HELO web51010.mail.re2.yahoo.com) (206.190.39.129) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 08 May 2008 11:57:22 +0000 Received: (qmail 38019 invoked by uid 60001); 8 May 2008 11:57:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=G42xEdmTVAOe/y+7wgZPmmYlCQgIjTWYPVhn/ZTqBhcwfkObuOd1EpA4pcT9FGZZ9i3dg5TVikaJKeKUeKo+lpwUDdicE3PGYBSTY2pdazvth/WBldW9vYwx0kPFflZ4M1ZgC1X1zjhEC8sD2qIClOC8c3LZa3UG7LAK1f8bQSw=; X-YMail-OSG: R1e8qCUVM1lFBPTUgg3gg1gcKyD9pekoeVYKr4SdVQ3Tur2RyuYdsHr3eNyoaCtNCvbFB79_FXFdJq8HKFC007Pkg7a.0g.HWJmNs53R_.oycXMAWGrb0v8slg-- Received: from [64.26.128.64] by web51010.mail.re2.yahoo.com via HTTP; Thu, 08 May 2008 04:57:35 PDT X-Mailer: YahooMailRC/975.37 YahooMailWebService/0.7.185 Date: Thu, 8 May 2008 04:57:35 -0700 (PDT) From: Angel Vera Subject: Re: Daily report of Referrers? To: user@roller.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-620674547-1210247855=:37310" Message-ID: <228210.37310.qm@web51010.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-620674547-1210247855=:37310 Content-Type: text/plain; charset=us-ascii I forgot to mentioned (if it isn't obvious) this is happening in the EntityManager during: RollerTaskWithLeasing.run() -> JPAThreadManagerImpl.registerLease() -> JPAThreadManagerImpl.getTaskLockByName() -> JPAPersistenceStrategy.getNamedQuery() -> I just tried copying my latest derby database, but that didn't seem to help. ----- Original Message ---- From: Angel Vera To: user@roller.apache.org Sent: Wednesday, May 7, 2008 11:21:36 PM Subject: Re: Daily report of Referrers? Hi Dave, Until recently I got a chance to look at this, and I noticed that the task has a main method, so I am doing my proper bootstraping of roller, but I am getting an error related to no lease found for the task during the run method. Can you shed some light to how to get rid of this exception? Would it be because my database is not populated properly..? I think I am using an old copy of my derby database. -----Exception----- <0.9.7-incubating fatal user error> org.apache.openjpa.persistence.ArgumentException: There is no query with the name "TaskLock.getByName" defined for any of the known persistent classes: null. -----Exception----- ----- Original Message ---- From: Dave To: user@roller.apache.org Sent: Wednesday, February 6, 2008 4:22:01 PM Subject: Re: Daily report of Referrers? You could create a new version of the referrer turnover task, which by default runs nightly at midnight, to replace the existing one: org.apache.roller.weblogger.business.runnable.TurnoverReferersTask Your version could copy the referrer data or some subset of that data to some statistics history table, to an email or whatever. Create a new turnover task, put it in your classpath and configure it via roller-custom.properties. - Dave On Feb 6, 2008 12:15 PM, Angel Vera wrote: > I noticed that there is a list of "Referrers" that seems to get reset every day or so. I want extend its functionality so that it would either get sent to my email, or it would create a page with the statistics of a particular day so that the admin or anyone can see it. > > What would be the proper steps to get me started with that? implement a javaBean? > > __________________________________________________________________ Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail: http://ca.promos.yahoo.com/newmail/overview2/ __________________________________________________________________ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca --0-620674547-1210247855=:37310--