Thank you Claudia, I'll see if I can find a new jar file.

Snowy greetings
Stephen

-----Original Message-----
From: Claudia Jürgen [mailto:[EMAIL PROTECTED]
Sent: November 19, 2008 2:49 AM
To: Stephen Wilkinson
Subject: Re: [Dspace-tech] problem initializing statistics v 1.5.1

Hi Stephen,

as you're not using the source release, these classes are in the
dspace-api jar pulled from the repository.

Sunny greetings

Claudia


Stephen Wilkinson schrieb:
> Hi Claudia thanks ever so much for trying, I don't seem to have the same
> directory structure as you at all.  I have [dspace-source]/dspace (no
> dspace-api) there is a src/main under that but all it contains
> is/config/build.xml; Lots of other */src/main/ as well but I don't see
the
> files anywhere.
> I've attached the directory listing I have if you're interested, they
> wouldn't be in .jar files would they?
>
> Thanks again
> Stephen
>
> -----Original Message-----
> From: Claudia Jürgen [mailto:[EMAIL PROTECTED]
> Sent: November 18, 2008 11:38 AM
> To: Stephen Wilkinson
> Subject: Re: [Dspace-tech] problem initializing statistics v 1.5.1
>
> Hi Stephen
>
> they are in
> [dspace-source]/dspace-api/src/main/java/org/dspace/app/statistics
>
> Claudia
>
>
> Stephen Wilkinson schrieb:
>> Thanks Claudia, I seem to be having a problem finding these files, can
> you
>> please tell me where they are located.
>>
>>
>> -----Original Message-----
>> From: Claudia Jürgen [mailto:[EMAIL PROTECTED]
>> Sent: November 18, 2008 10:39 AM
>> To: Stephen Wilkinson
>> Cc: [email protected]
>> Subject: Re: [Dspace-tech] problem initializing statistics v 1.5.1
>>
>> Hi Stephen,
>>
>> the best thing would be to change
>> org.dspace.app.statistics.CreateStatReport to use the report.dir
instead
>> of the log.dir for the output. This will work with both UI's.
>>
>> If you're only working with the XMLUI you might change
>> org.dspace.app.statistics.StatisticsLoader to use the log.dir instead
of
>> the report.dir.
>>
>> Hope that helps
>>
>> Claudia
>>
>>
>>
>>
>>
>> Stephen Wilkinson schrieb:
>>> Hello all and thanks again, I created a dspace.log and checker.log
> right
>>> off of /
>>> And ran stat-initial again, this now completes without errors.  Does
>>> anyone know if this will cause me grief latter on? I am using the
xmlui
>>> interface.
>>>
>>> -----Original Message-----
>>> From: Claudia Jürgen [mailto:[EMAIL PROTECTED]
>>> Sent: November 18, 2008 2:54 AM
>>> To: Stephen Wilkinson
>>> Cc: [email protected]
>>> Subject: Re: [Dspace-tech] problem initializing statistics v 1.5.1
>>>
>>> Hi Stephen,
>>>
>>> if you're using the xmlui you might be affected by this bug:
>>>
>>>
>
http://sourceforge.net/tracker/index.php?func=detail&aid=2137425&group_id=
>>> 19984&atid=119984
>>>
>>> Hope that helps
>>>
>>> Claudia Jürgen
>>>
>>>
>>> Stephen Wilkinson schrieb:
>>>> Hello all, I'm setting up a dspace server using v1.5.1, with tomcat
> and
>>>> postgresql as the backend.
>>>>
>>>> Dspace seems to be functioning properly but I'm getting an error when
>>>> trying to initialize the statistics.
>>>>
>>>>
>>>>
>>>> As the user dspace I tried to run [dspace]/bin/stat-initial; first I
>> got
>>> a
>>>> permission denied error which I fixed by making the files in the bin
>> dir
>>>> executable but I now get JAVA errors.  I'd appreciate it If anyone
can
>>>> point me in the right direction (pretty new to both dspace and linux
>>> btw).
>>>> The error I get is below where /apps/dspace is the install dir and
>>>> dspace.log and checker.log which are mentioned in the error are in
>>>> /apps/dspace/log.
>>>>
>>>>
>>>>
>>>> [EMAIL PROTECTED] ~]$ /apps/dspace/bin/stat-initial
>>>>
>>>> log4j:ERROR setFile(null,true) call failed.
>>>>
>>>> java.io.FileNotFoundException: /dspace.log (Permission denied)
>>>>
>>>>         at java.io.FileOutputStream.openAppend(Native Method)
>>>>
>>>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
>>>>
>>>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>>>>
>>>>         at
> org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
>>>>         at
>>>>
>
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
>>>>         at
>>>> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
>>>>
>>>>         at
>>>>
>>
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
>>>>         at
>>>>
>
org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:22
>>>> 0)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.ja
>>>> va:150)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurat
>>>> or.java:163)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfi
>>>> gurator.java:425)
>>>>
>>>>         at
>>>>
>>
org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)
>>>>         at
>>>> org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
>>>>         at
>>>>
>
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)
>>>>         at
>>>>
>
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverte
>>>> r.java:470)
>>>>
>>>>         at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
>>>>
>>>>         at org.apache.log4j.Logger.getLogger(Logger.java:117)
>>>>
>>>>         at
>>>>
>
org.dspace.core.ConfigurationManager.<clinit>(ConfigurationManager.java:88
>>>> )
>>>>
>>>>         at
>>>>
>
org.dspace.app.statistics.CreateStatReport.<clinit>(CreateStatReport.java:
>>>> 90)
>>>>
>>>> log4j:ERROR setFile(null,true) call failed.
>>>>
>>>> java.io.FileNotFoundException: /dspace.log (Permission denied)
>>>>
>>>>         at java.io.FileOutputStream.openAppend(Native Method)
>>>>
>>>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
>>>>
>>>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>>>>
>>>>         at
> org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
>>>>         at
>>>>
>
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
>>>>         at
>>>> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
>>>>
>>>>         at
>>>>
>>
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
>>>>         at
>>>>
>
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:1
>>>> 32)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:9
>>>> 6)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.j
>>>> ava:654)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.j
>>>> ava:612)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfig
>>>> urator.java:509)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.jav
>>>> a:415)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.jav
>>>> a:441)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverte
>>>> r.java:470)
>>>>
>>>>         at
>>>>
>
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:
>>>> 703)
>>>>
>>>>         at
>>>>
>
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java
>>>> :135)
>>>>
>>>>         at
>>>>
>
org.dspace.app.statistics.CreateStatReport.<clinit>(CreateStatReport.java:
>>>> 90)
>>>>
>>>> log4j:ERROR setFile(null,true) call failed.
>>>>
>>>> java.io.FileNotFoundException: /checker.log (Permission denied)
>>>>
>>>>         at java.io.FileOutputStream.openAppend(Native Method)
>>>>
>>>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
>>>>
>>>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>>>>
>>>>         at
> org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
>>>>         at
>>>>
>
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
>>>>         at
>>>> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
>>>>
>>>>         at
>>>>
>>
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
>>>>         at
>>>>
>
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:1
>>>> 32)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:9
>>>> 6)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.j
>>>> ava:654)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.j
>>>> ava:612)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfig
>>>> urator.java:533)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.jav
>>>> a:417)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.jav
>>>> a:441)
>>>>
>>>>         at
>>>>
>
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverte
>>>> r.java:470)
>>>>
>>>>         at
>>>>
>
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:
>>>> 703)
>>>>
>>>>         at
>>>>
>
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java
>>>> :135)
>>>>
>>>>         at
>>>>
>
org.dspace.app.statistics.CreateStatReport.<clinit>(CreateStatReport.java:
>>>> 90)
>>>>
>>>>
>>>>
>>>> Thank you
>>>>
>>>> Stephen
>>>>
>>>>
>>>>
>>>> Stephen Wilkinson
>>>>
>>>> System Support Technician
>>>>
>>>> Information Technology Services
>>>>
>>>> McLaughlin Library
>>>>
>>>> University of Guelph
>>>>
>>>> GUELPH, ON.  N1G 2W1
>>>>
>>>> 519-824-4120 X 53939
>>>>
>>>>  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
------------------------------------------------------------------------
>
-------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
great
>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>
>>>>
>>>>
>>
------------------------------------------------------------------------
>>>> _______________________________________________
>>>> DSpace-tech mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
-------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> DSpace-tech mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to