You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Shawn Clark <sh...@golemur.com> on 2007/02/15 17:52:03 UTC
Initial Install of Roller
Hello,
I just finished the setup and installation of Roller 3.0 on a development
system. I read through the mailing list archive and couldn't find anyone
discussing a similar problem to what I have. Details of my environment:
Windows XP
Roller 3.0
Tomcat 5.5.20 (Including mail patch)
MySQL 5.0.27 (Connector/J 3.1.14)
Java 1.5.0_11
Here is the error in the roller.log file:
ERROR 2007-02-15 09:40:33,847 StandardWrapperValve:invoke -
Servlet.service() for servlet action threw exception
java.lang.ClassCastException: java.lang.Long
at
org.apache.roller.business.hibernate.HibernateRefererManagerImpl.getHits(Hib
ernateRefererManagerImpl.java:393)
at
org.apache.roller.business.hibernate.HibernateRefererManagerImpl.getDayHits(
HibernateRefererManagerImpl.java:547)
at org.apache.roller.pojos.WebsiteData.getTodaysHits(WebsiteData.java:1303)
at
org.apache.roller.ui.authoring.struts.forms.WebsiteForm.copyFrom(WebsiteForm
.java:851)
at
org.apache.roller.ui.authoring.struts.formbeans.WebsiteFormEx.copyFrom(Websi
teFormEx.java:97)
at
org.apache.roller.ui.authoring.struts.actions.WebsiteFormAction.edit(Website
FormAction.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
...
URL that was called that caused the error:
http://localhost:8080/roller/roller-ui/authoring/website.do?method=edit&webl
og=tuatara
Navigating around other parts of the site sometimes give an error as well
and it is all related to the getHits method. Anyone else had a similar
problem that might offer a solution? I am going to take a quick peak at the
source and maybe find something.
--
Shawn Clark
RE: Initial Install of Roller
Posted by Shawn Clark <sh...@golemur.com>.
Hi again,
I just found the issue/bug tracker for Roller and noticed that there is
already a entry for the ClassCastException in the getHits method.
http://opensource.atlassian.com/projects/roller/browse/ROL-1333
--
Shawn Clark
-----Original Message-----
From: Shawn Clark [mailto:shawn@golemur.com]
Sent: Thursday, February 15, 2007 9:52 AM
To: roller-dev@incubator.apache.org
Subject: Initial Install of Roller
Hello,
I just finished the setup and installation of Roller 3.0 on a development
system. I read through the mailing list archive and couldn't find anyone
discussing a similar problem to what I have. Details of my environment:
Windows XP
Roller 3.0
Tomcat 5.5.20 (Including mail patch)
MySQL 5.0.27 (Connector/J 3.1.14)
Java 1.5.0_11
Here is the error in the roller.log file:
ERROR 2007-02-15 09:40:33,847 StandardWrapperValve:invoke -
Servlet.service() for servlet action threw exception
java.lang.ClassCastException: java.lang.Long
at
org.apache.roller.business.hibernate.HibernateRefererManagerImpl.getHits(Hib
ernateRefererManagerImpl.java:393)
at
org.apache.roller.business.hibernate.HibernateRefererManagerImpl.getDayHits(
HibernateRefererManagerImpl.java:547)
at org.apache.roller.pojos.WebsiteData.getTodaysHits(WebsiteData.java:1303)
at
org.apache.roller.ui.authoring.struts.forms.WebsiteForm.copyFrom(WebsiteForm
.java:851)
at
org.apache.roller.ui.authoring.struts.formbeans.WebsiteFormEx.copyFrom(Websi
teFormEx.java:97)
at
org.apache.roller.ui.authoring.struts.actions.WebsiteFormAction.edit(Website
FormAction.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
...
URL that was called that caused the error:
http://localhost:8080/roller/roller-ui/authoring/website.do?method=edit&webl
og=tuatara
Navigating around other parts of the site sometimes give an error as well
and it is all related to the getHits method. Anyone else had a similar
problem that might offer a solution? I am going to take a quick peak at the
source and maybe find something.
--
Shawn Clark