roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angel Vera <>
Subject Re: Daily report of Referrers?
Date Thu, 08 May 2008 11:57:35 GMT
I forgot to mentioned (if it isn't obvious) this is happening in the EntityManager during: -> 
    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 <>
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

Would it be because my database is not populated properly..? I think I am using an old copy
of my derby database.

<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.

----- Original Message ----
From: Dave <>
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:

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

- 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
> 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:

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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message