Hello.. Okay, I got pass the first problem, now I have another weird one.
For those interested, the problem was because I forgot to copy the meta-inf folder into the classpath. I am using an eclipse setup and everything needs to be done manually, so I miss copying the meta-inf with its persistance xml. File.. Now the new exception is: ---------------------------------> <0.9.7-incubating fatal user error> org.apache.openjpa.persistence.ArgumentException: The type "class org.apache.roller.weblogger.pojos.WeblogTemplate" has not been enhanced. <--------------------------------- Any help is appreciated. ----- Original Message ---- From: Angel Vera <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, May 8, 2008 7:57:35 AM Subject: Re: Daily report of Referrers? 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 <[EMAIL PROTECTED]> To: [email protected] 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 <[EMAIL PROTECTED]> To: [email protected] 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 <[EMAIL PROTECTED]> 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 __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/
