[Building Sakai] Site Stats Install
Nuno Fernandes
nuno at ufp.edu.pt
Wed Oct 28 08:36:10 PDT 2009
Hi Paul,
So in shared/lib I have:
> /usr/local/tomcat/shared/lib/sakai-sitestats-api-2.0.4.jar
> /usr/local/tomcat/shared/lib/sakai-sitestats-help-2.0.4.jar
> /usr/local/tomcat/shared/lib/sakai-sitestats-impl-hib-2.0.4.jar
>
All good!
The other may be my problem then. I don't appear to have commons-beanutils
> at all. Do I need to manually add it from somewhere? I'm using maven2.
>
Humm.... you don't need to manually add it, that's maven2 job!!
I have tested it locally and it is correctly deploying commons-beanutils in
my Tomcat installation! Here's my mvn version and build/deploy command:
$ mvn --version
Apache Maven 2.1.0 (r755702; 2009-03-18 19:10:27+0000)
Java version: 1.5.0_11
Java home: /usr/java/jdk1.5.0_11/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.4.21-58.elsmp" arch: "i386" Family: "unix"
$ mvn -Dmaven.tomcat.home=/servicos/sakai-tomcat/cafe/ clean install
sakai:deploy
Are you using a different setup/mvn command?
Thanks,
Nuno
>
> If I run:
> ls -l
> /usr/local/tomcat/components/sakai-sitestats-components/WEB-INF/lib/sakai-sitestats*
>
>
> /usr/local/tomcat/components/sakai-sitestats-components/WEB-INF/lib/sakai-sitestats-bundle-2.0.4.jar
>
> /usr/local/tomcat/components/sakai-sitestats-components/WEB-INF/lib/sakai-sitestats-impl-2.0.4.jar
>
> I have not added the site-stats entries to sakai.properties yet; wanted to
> just stick to the defaults at first.
>
> Thanks.
>
> Paul
>
>
>
> On Wed, Oct 28, 2009 at 11:02 AM, Nuno Fernandes <nuno at ufp.edu.pt> wrote:
>
>> Hi Paul,
>>
>> The error indicates that Apache common beanutils
>>
>> Can you please:
>>
>> - make sure there are no multiple versions of SiteStats in Tomcat
>> shared lib?
>> - check with: *ls -l [tomcat]/shared/lib/sakai-sitestats-**
>> - make sure there is one and only one commons-beanutils in Tomcat
>> SiteStats component?
>> - check with: *ls -l
>> /servicos/tomcat-a/components/sakai-sitestats-components/WEB-INF/lib/commons-beanutils*
>> *
>> - send me the SiteStats relevant part (if any) of your
>> sakai.properties?
>>
>> Thank you,
>> Nuno
>>
>>
>> On Wed, Oct 28, 2009 at 2:48 PM, Paul Dagnall <dagnalpb at notes.udayton.edu
>> > wrote:
>>
>>> Hi
>>> I am trying to install the latest 2.x Site Stats tool in 2.6.x by
>>> following the Installation Guide on Confluence. I received the following
>>> error when starting Tomcat for the first time. Any ideas on what I've done
>>> wrong or things I should check?
>>>
>>> 2009-10-28 08:31:26,435 ERROR main
>>> org.sakaiproject.sitestats.impl.event.FileEventRegistry - init(): - trouble
>>> loading default event registry from :
>>> org/sakaiproject/sitestats/config/toolEventsDef.xml
>>> java.lang.NoClassDefFoundError: org/apache/commons/beanutils/DynaProperty
>>> at
>>> org.apache.commons.digester.Digester.addBeanPropertySetter(Digester.java:1731)
>>> at
>>> org.sakaiproject.sitestats.impl.parser.DigesterUtil.configureToolEventsDefDigester(DigesterUtil.java:31)
>>> at
>>> org.sakaiproject.sitestats.impl.parser.DigesterUtil.parseToolEventsDefinition(DigesterUtil.java:69)
>>> at
>>> org.sakaiproject.sitestats.impl.event.FileEventRegistry.loadEventRegistryFile(FileEventRegistry.java:122)
>>>
>>> Thank you for your time.
>>>
>>> --
>>> Paul Dagnall
>>> Web Developer
>>> University of Dayton
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>>
>>
>>
>>
>> --
>> Nuno Fernandes
>>
>> Profile | http://facebook.com/nfgrilo | http://linkedin.com/in/nfgrilo
>> Web | http://codingwithcoffee.com | http://twitter.com/nfgrilo
>> Work | Analyst/Programmer @ UFP-UV [http://elearning.ufp.pt]
>> | Analyst/Programmer @ Sakai Foundation [
>> http://sakaiproject.org]
>> | Sakai Fellow 2008 @ Sakai Foundation [
>> http://confluence.sakaiproject.org//x/6oCTAQ]
>> Address | Universidade Fernando Pessoa [http://www.ufp.pt]
>> | Praça 9 de Abril, 349 | 4249-004 Porto
>> | tel: + 351 22 507 13 00 | fax: + 351 22 550 82 69
>>
>
>
>
> --
> Paul Dagnall
> Web Developer
> University of Dayton
>
--
Nuno Fernandes
Profile | http://facebook.com/nfgrilo | http://linkedin.com/in/nfgrilo
Web | http://codingwithcoffee.com | http://twitter.com/nfgrilo
Work | Analyst/Programmer @ UFP-UV [http://elearning.ufp.pt]
| Analyst/Programmer @ Sakai Foundation [
http://sakaiproject.org]
| Sakai Fellow 2008 @ Sakai Foundation [
http://confluence.sakaiproject.org//x/6oCTAQ]
Address | Universidade Fernando Pessoa [http://www.ufp.pt]
| Praça 9 de Abril, 349 | 4249-004 Porto
| tel: + 351 22 507 13 00 | fax: + 351 22 550 82 69
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091028/d6e0c020/attachment.html
More information about the sakai-dev
mailing list