[Dspace-tech] Item Display page

2010-12-14 Thread AMJAD USMAN

hello everybody,

can anybody tell me how to apply this policy:
Allow only administrator to see the bitsreams of any item, otherwise kept its 
files hide from all others

Regards:
Amjeeki


  --
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] 1.7.0-rc2 mvn error

2010-12-14 Thread helix84
Hello,

I'm doing a clean test installation of dspace-1.7.0-rc2 from SVN
source. I'm getting this error when I run mvn package:

[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error assembling WAR: Deployment descriptor:
/home/dspace/svn/dspace-1.7.0-rc2/dspace-discovery/dspace-discovery-xmlui-webapp/target/dspace-discovery-xmlui-webapp-1.7.0-rc2/WEB-INF/web.xml
does not exist.

[INFO] 

I thought maybe only there's a problem with the Discovery module, but
the dspace/target/ directory wasn't created either, so I can't
continue.

Regards,
~~helix84

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.0-rc2 mvn error

2010-12-14 Thread helix84
As a workaround, I commented out dspace-discovery from pom.xml and I
was able to run mvn package and apt fresh_install succesfully (though
the build is not working yet for probably unrelated reasons):


Index: pom.xml
===
--- pom.xml (revision 5955)
+++ pom.xml (working copy)
@@ -66,7 +66,7 @@
  modules
 moduledspace-api/module
 moduledspace-stats/module
-moduledspace-discovery/module
+!--moduledspace-discovery/module--
 moduledspace-jspui/module
 moduledspace-xmlui/module
 moduledspace-lni/module
@@ -89,7 +89,7 @@
  modules
 moduledspace-api/module
 moduledspace-stats/module
-moduledspace-discovery/module
+!--moduledspace-discovery/module--
 moduledspace-jspui/module
 moduledspace-xmlui/module
 moduledspace-lni/module

Regards,
~~helix84

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] intermittent crashes

2010-12-14 Thread anna headley
For the past 6 months or so we've had intermittent crashes; at this point we
seem to be going down once every 1-3 weeks.  When this happens, tomcat is
still running and postgres is stopped.  We restart both and everything is
fine until it happens again.  We finally decided to move our monitoring cron
from daily to hourly, which makes reading the error logs a little less
confusing.  Below please find tomcat / catalina error messages (these seem
to be the most informative).  I've removed tracebacks for the most part,
except for the first severe null pointer error, to make them more legible.
 We're running DSpace 1.5.1.  If anything looks familiar here, or more
significant than anything else, I appreciate any suggestions as to what the
problem could be!

Many thanks,
Anna
TriCollege Library Consortium


Dspace went down between 6pm and 7pm on dec 13th.  As usual, postgres was
down.
The site is back up now but we seem to be out of theories.

The logs contain many warnings like:

Dec 13, 2010 4:38:34 PM org.apache.jk.core.MsgContext action
WARNING: Error sending end packet
java.net.SocketException: Broken pipe


and

Dec 13, 2010 4:38:34 PM org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2


* Suspicious errors begin at 6:58 pm on the day in
question!  (see catalina logs for full tracebacks)

Dec 13, 2010 6:58:30 PM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request
processing java.lang.NullPointerException
at
org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:1995)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1790)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:873)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1326)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
at org.apache.log4j.spi.LoggingEvent.init(LoggingEvent.java:154)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.log(Category.java:853)
at
org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:250)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:636)



Dec 13, 2010 6:58:37 PM org.apache.naming.resources.FileDirContext list
WARNING: Could not get dir listing for /var/dspace/webapps/sword/WEB-INF/lib

Dec 13, 2010 6:58:37 PM org.apache.catalina.loader.WebappClassLoader
modified
INFO: Additional JARs have been added

Dec 13, 2010 6:58:37 PM org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started

Dec 13, 2010 6:58:37 PM
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor
 processChildren
SEVERE: Exception invoking periodic operation:
java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation

Dec 13, 2010 6:58:37 PM org.apache.naming.resources.FileDirContext list
WARNING: Could not get dir listing for /var/dspace/webapps/jspui/WEB-INF/lib

Dec 13, 2010 6:58:37 PM org.apache.catalina.loader.WebappClassLoader
modified
INFO: Additional JARs have been added

Dec 13, 2010 6:58:37 PM org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started

Dec 13, 2010 6:58:37 PM org.apache.catalina.startup.ContextConfig
defaultWebConfig
SEVERE: Missing default web.xml, using application web.xml only conf/web.xml
/usr/share/tomcat5/conf/web.xml
java.io.FileNotFoundException: /usr/share/tomcat5/conf/web.xml (Too many
open
files)

Dec 13, 2010 6:58:37 PM org.apache.naming.resources.FileDirContext list
WARNING: Could not get dir listing for /var/dspace/webapps/jspui/WEB-INF

Dec 13, 2010 6:58:37 PM org.apache.catalina.startup.TldConfig 

Re: [Dspace-tech] 1.7.0-rc2 mvn error

2010-12-14 Thread Mark Diggory
Did you try rebuilding in mvn with -U to make sure your getting the most
recent releases of artifacts?

Discovery is a dependency of xmlui but published into the maven repository
as an artifact, so sure, you can chose to not build it, it will
be retrieved from maven as a prebuilt artifact for you.
*
*
*(In fact this is what we in @Mire recommend for endusers, to not use the
src-release, but to always use the release without the source so you only
have to compile those classes/modules that are customizations to your
dspace. most of the dspace-xxx projects should be considered off-limits to
the enduser developer or system admin)*

Mark

On Tue, Dec 14, 2010 at 8:18 AM, helix84 heli...@centrum.sk wrote:

 As a workaround, I commented out dspace-discovery from pom.xml and I
 was able to run mvn package and apt fresh_install succesfully (though
 the build is not working yet for probably unrelated reasons):


 Index: pom.xml
 ===
 --- pom.xml (revision 5955)
 +++ pom.xml (working copy)
 @@ -66,7 +66,7 @@
  modules
 moduledspace-api/module
 moduledspace-stats/module
 -moduledspace-discovery/module
 +!--moduledspace-discovery/module--
 moduledspace-jspui/module
 moduledspace-xmlui/module
 moduledspace-lni/module
 @@ -89,7 +89,7 @@
  modules
 moduledspace-api/module
 moduledspace-stats/module
 -moduledspace-discovery/module
 +!--moduledspace-discovery/module--
 moduledspace-jspui/module
 moduledspace-xmlui/module
 moduledspace-lni/module

 Regards,
 ~~helix84


 --
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how
 to connect the dots, take your collaborative environment
 to the next level, and enter the era of Social Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Technologielaan 9 - 3001 Heverlee - Belgium
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.0-rc2 mvn error

2010-12-14 Thread Tim Donohue
Hi helix84,

Two of us just ran tests on this (both on Windows 7 and on Mac OSX snow 
leopard), and it seems to be building fine for both of us.

Can you verify your version of Java  Maven meet the current recommended 
1.7 Pre-requisites.  See:
https://wiki.duraspace.org/display/DSDOC/Installation#Installation-PrerequisiteSoftware

Also, what are the exact steps you are running?  Here's what seems to 
work fine on Mac OSX (and similar commands work fine on Windows too):

1. svn co http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.7.0-rc2/ 
dspace-17rc2

2. cd dspace-17rc2/dspace/

3. mvn clean package

Is this what you are doing?  If so, could you try and run Maven with 
'-e' (error tracing turned on) to see if it gives you more details? 
e.g. 'mvn -e clean package'

Thanks,

- Tim


On 12/14/2010 9:13 AM, helix84 wrote:
 Hello,

 I'm doing a clean test installation of dspace-1.7.0-rc2 from SVN
 source. I'm getting this error when I run mvn package:

 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Error assembling WAR: Deployment descriptor:
 /home/dspace/svn/dspace-1.7.0-rc2/dspace-discovery/dspace-discovery-xmlui-webapp/target/dspace-discovery-xmlui-webapp-1.7.0-rc2/WEB-INF/web.xml
 does not exist.

 [INFO] 
 

 I thought maybe only there's a problem with the Discovery module, but
 the dspace/target/ directory wasn't created either, so I can't
 continue.

 Regards,
 ~~helix84

 --
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how
 to connect the dots, take your collaborative environment
 to the next level, and enter the era of Social Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace log permissiom problem

2010-12-14 Thread amutsikiwa
Hi all,

I have a rather queer problem. My newly created dspace log files are always
owned by user root, though they are affiliated with the group dspace.  For
example:

~$ ls -l /dspace/log/dspace.log.2010-12-14

-rw-r--r-- 1 root dspace 1176 2010-12-14 10:50
/dspace/log/dspace.log.2010-12-14 

 

This gives me permission errors when running utilities that run as user
dspace. How can I make sure that the flog files are owned by dspace without
having to run chown -R dspace.dspace /dspace/log*

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace log permissiom problem

2010-12-14 Thread Sands Alden Fish
What operating system are you running on?  Typically you can set default file 
creation permissions with umask settings and other OS-level configuration.  I 
recommend you look into those types of settings for the OS you're dealing with.

-Sands


On Dec 14, 2010, at 1:13 PM, amutsikiwa wrote:

Hi all,
I have a rather queer problem. My newly created dspace log files are always 
owned by user root, though they are affiliated with the group dspace.  For 
example:
~$ ls -l /dspace/log/dspace.log.2010-12-14
-rw-r--r-- 1 root dspace 1176 2010-12-14 10:50 /dspace/log/dspace.log.2010-12-14

This gives me permission errors when running utilities that run as user dspace. 
How can I make sure that the flog files are owned by dspace without having to 
run chown –R dspace.dspace /dspace/log*
ATT1..cATT2..c

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] statistics generation question

2010-12-14 Thread amutsikiwa
I was very happy to bumb into this thread. I am experiencing the same
problems as Jason was experiencing. I checked on my solr.log.server in the
dspace.cfg file. It was set to  ${dspace.baseUrl}/solr/statistics and I
modified it to  http://localhost:8080/solr/statistics as directed below. I
rebuild dspace (mvn  package) and them run ant update. When I point my
browser to http://ir.uz.ac.zw:8080/solr/statistics, I get a HTTP Status 403-
description Access to the specified resource () has been forbidden. Iam at a
loss as to where I am getting it wrong.
-Original Message-
From: Jason Nugent [mailto:jnug...@unb.ca] 
Sent: Friday, December 10, 2010 3:57 PM
To: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] statistics generation question

Hi Stuart,

I've tracked down what my issue was.  SOLR was properly deployed, but the
1.6.0 dspace.cfg file appeared to default to the baseUrl property, not
localhost:8080, so my instance was bumping into the
LocalHostRestrictionFilter.enabled property, which is not disabled by
default in the web.xml file that ships with the webapp.

solr.log.server = ${dspace.baseUrl}/solr/statistics

With that filter in place, anything other than localhost for a domain will
fail silently.  I haven't checked to see if this is still the case in newer
DSpace releases.

Cheers,

Jason

On 2010-12-09, at 5:00 PM, Stuart Lewis wrote:

 Hi Jason,
 
 In 1.6+ there are two forms of statistics.  There is the 'classic'
statistics that used to be there and continues to be, and the new 'solr'
statistics.
 
 The classic statistics are available from /statistics and are generated
nightly from your dspace.log files.
 
 The solr statistics rely on a new webapp being deployed.  The solr webapp
needs to be deployed, and is configured in dspace.cfg: 
 
 - solr.log.server = http://localhost:8080/solr/statistics
 
 This collects events 'as they happen', and logs them into a solr index in
real-time so that the statics are always up to date.  It is these statistics
that are shown on the community / collection / item pages.  The solr stats
also perform other tasks that Minho stats provided, such as logging of the
geographical location of the visits.
 
 I hope this helps,
 
 
 Stuart Lewis
 IT Innovations Analyst and Developer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: +64 (0)9 373 7599 x81928
 
 
 
 On 10/12/2010, at 8:04 AM, Jason Nugent wrote:
 
 Hi everyone,
 
 I am curious about the stats reporting in DSpace 1.6.x.  I'm running  a
1.6.0 installation and I've noticed that the general stats pages do have
stats, but if I drill down into a particular collection at a particular
handle, I also have a statistics link that points to a URL with a handle in
it.  Clicking that link gives me a Manakin themed page which is empty.
 
 My top level pages do show stats, and I can browse by month without
problem.  
 
 Is this simply a UI issue and that link shouldn't exist? maybe a relative
path to statistics instead of an absolute one to the top of my DSpace
installation?  Bug in the UI, maybe?  Here's an example of that:
 
 http://dspace.hil.unb.ca:8080/handle/1882/38
 
 The link in the lower right (you'd need to log in to see it) points to
 
 http://dspace.hil.unb.ca:8080/handle/1882/38/statistics 
 
 which doesn't seem right.
 
 My./stats-* report generation tools run just fine.
 
 Also, I was wondering if the add-on for statistics, originally created by
the University of Minho, will ever be updated for newer versions?  Has
anyone looked at creating a Manakin-compatible stats addon?
 
 Thanks,
 
 Jason
 -
 Programmer/Analyst
 University of New Brunswick Libraries
 jnug...@unb.ca
 (506) 447 3177
 
 


--
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 



--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.0-rc2 mvn error

2010-12-14 Thread helix84
On Tue, Dec 14, 2010 at 18:29, Tim Donohue tdono...@duraspace.org wrote:
 Can you verify your version of Java  Maven meet the current recommended 1.7
 Pre-requisites.  See:
 https://wiki.duraspace.org/display/DSDOC/Installation#Installation-PrerequisiteSoftware

I'm running on Debian Lenny.
ii  maven22.0.9-2
ii  openjdk-6-jdk 6b11-9.1+lenny2
ii  ant   1.7.0-6

I know only Oracle Java is supported, but the problem is with Maven
not Java, right? I used Debian's OpenJDK with DSpace 1.5.x and 1.6.x
successfully. Anyway, the purpose of this build was to test if it's
working.

1) svn co http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.7.0-rc2/
2) cd dspace-17rc2/
I tried also dspace-17rc2/dspace/ with the same result.
3) mvn -U -e clean package

See the attached log.

I now also tried building from the tarballs.
dspace-1.7.0-rc2-release.tar.bz2 builds fine.
dspace-1.7.0-rc2-src-release.tar.bz2 throws the same error as above.

Regards,
~~helix84


build.log
Description: Binary data
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] statistics generation question

2010-12-14 Thread Jason Nugent

Hello,

The URL for /solr/statistics is only used by DSpace itself, for generation of 
statistics.  It's not the URL that you use for viewing them.  If you want to 
view them, there should be a link for statistics on the bottom right of the 
menu on the front of your DSpace installation.  

In your case, it would probably be: 

 http://ir.uz.ac.zw:8080/statistics


Regards,

Jason

On 2010-12-14, at 2:46 PM, amutsikiwa wrote:

 I was very happy to bumb into this thread. I am experiencing the same
 problems as Jason was experiencing. I checked on my solr.log.server in the
 dspace.cfg file. It was set to  ${dspace.baseUrl}/solr/statistics and I
 modified it to  http://localhost:8080/solr/statistics as directed below. I
 rebuild dspace (mvn  package) and them run ant update. When I point my
 browser to http://ir.uz.ac.zw:8080/solr/statistics, I get a HTTP Status 403-
 description Access to the specified resource () has been forbidden. Iam at a
 loss as to where I am getting it wrong.

--
Jason Nugent
jnug...@unb.ca
Programmer/Analyst, UNB Libraries
(506) 447-3177

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.0-rc2 mvn error

2010-12-14 Thread helix84
On Tue, Dec 14, 2010 at 20:01, Richard Rodgers rrodg...@mit.edu wrote:
 The component that looks iffy to me is maven. Any chance of trying with 2.2 
 or better?

The documentation says 2.0.8 is required.

I installed 2.2.1-5 from Debian Squeeze and built from SVN
successfully. Will you hunt down the problem or increase maven version
requirements? I'd prefere the former.

Regards,
~~helix84

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.0-rc2 mvn error

2010-12-14 Thread Tim Donohue
Hi Helix84,

After talking to a few other DSpace developers, we are pretty sure the 
problem is in our DSpace Maven settings.  It sounds like you may have an 
older version of the 'maven-war-plugin' which is what allows Maven to 
build WAR files, and it is confusing our normal build process.

So, essentially, this sounds like a bug in our Maven settings.   I just 
put a fix into our DSpace Trunk code that should fix this issue for you 
(and everyone else) in the 1.7.0 final release.

Can you try and test to make sure that the DSpace Trunk code builds fine 
for you?  This Trunk code is nearly identical to 1.7.0-rc2, but contains 
a minor XMLUI bug fix, and a fix for the Maven build issue that you were 
encountering.

svn co http://scm.dspace.org/svn/repo/dspace/trunk/
cd [checkout-location]
mvn clean package

Please let me know if this fixes your build issues -- if so, we'll know 
it's 100% resolved for the 1.7.0 final release (which will be available 
later this week).

Thanks,

- Tim


On 12/14/2010 12:51 PM, helix84 wrote:
 On Tue, Dec 14, 2010 at 18:29, Tim Donohuetdono...@duraspace.org  wrote:
 Can you verify your version of Java  Maven meet the current recommended 1.7
 Pre-requisites.  See:
 https://wiki.duraspace.org/display/DSDOC/Installation#Installation-PrerequisiteSoftware

 I'm running on Debian Lenny.
 ii  maven22.0.9-2
 ii  openjdk-6-jdk 6b11-9.1+lenny2
 ii  ant   1.7.0-6

 I know only Oracle Java is supported, but the problem is with Maven
 not Java, right? I used Debian's OpenJDK with DSpace 1.5.x and 1.6.x
 successfully. Anyway, the purpose of this build was to test if it's
 working.

 1) svn co http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.7.0-rc2/
 2) cd dspace-17rc2/
 I tried also dspace-17rc2/dspace/ with the same result.
 3) mvn -U -e clean package

 See the attached log.

 I now also tried building from the tarballs.
 dspace-1.7.0-rc2-release.tar.bz2 builds fine.
 dspace-1.7.0-rc2-src-release.tar.bz2 throws the same error as above.

 Regards,
 ~~helix84

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.0-rc2 mvn error

2010-12-14 Thread helix84
I now successfully built dspace from trunk r5955 on a pure Lenny
system (i.e. back to maven 2.0.9-2). Thanks for the fix.

I'll do more testing of dspace itself tomorrow, sorry I missed the
official testathon.

Regards,
~~helix84

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] statistics generation question

2010-12-14 Thread Jason Nugent
Actually, I just quickly tested your DSpace installation, and your statistics 
are available at:

http://ir.uz.ac.zw:8080/dspace/statistics

or also

http://ir.uz.ac.zw:8080/xmlui/statistics

Depending on which front end you prefer to use.

Jason

On 2010-12-14, at 3:00 PM, Jason Nugent wrote:

 
 Hello,
 
 The URL for /solr/statistics is only used by DSpace itself, for generation of 
 statistics.  It's not the URL that you use for viewing them.  If you want to 
 view them, there should be a link for statistics on the bottom right of the 
 menu on the front of your DSpace installation.  
 
 In your case, it would probably be: 
 
 http://ir.uz.ac.zw:8080/statistics
 
 
 Regards,
 
 Jason
 
 On 2010-12-14, at 2:46 PM, amutsikiwa wrote:
 
 I was very happy to bumb into this thread. I am experiencing the same
 problems as Jason was experiencing. I checked on my solr.log.server in the
 dspace.cfg file. It was set to  ${dspace.baseUrl}/solr/statistics and I
 modified it to  http://localhost:8080/solr/statistics as directed below. I
 rebuild dspace (mvn  package) and them run ant update. When I point my
 browser to http://ir.uz.ac.zw:8080/solr/statistics, I get a HTTP Status 403-
 description Access to the specified resource () has been forbidden. Iam at a
 loss as to where I am getting it wrong.
 
 --
 Jason Nugent
 jnug...@unb.ca
 Programmer/Analyst, UNB Libraries
 (506) 447-3177
 

--
Jason Nugent
jnug...@unb.ca
Programmer/Analyst, UNB Libraries
(506) 447-3177

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] IllegalAccessError has occurred when posting thru SWORD to DSpace 1.7.0 rc1 with discovery consumer setting

2010-12-14 Thread SUZUKI Keiji
Hi list,

Illegal AccessError has occurred when I posted an item through SWORD
to DSpace 1.7.0 rc1 with discovery cosumer setting.

This error has not occurred when I posted through jspui nor xmlui.
Also this error has not occurred when I posted through SWORD to
DSpace without discovery consumer setting.

The stacktrace is as follows:

java.lang.IllegalAccessError: tried to access field
org.slf4j.impl.StaticLoggerBinder.SINGLETON from class
org.slf4j.LoggerFactory
at org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
at org.slf4j.LoggerFactory.clinit(LoggerFactory.java:73)
at 
org.dspace.kernel.DSpaceKernelManager.clinit(DSpaceKernelManager.java:28)
at org.dspace.utils.DSpace.init(DSpace.java:57)
at org.dspace.utils.DSpace.init(DSpace.java:46)
at 
org.dspace.discovery.IndexEventConsumer.init(IndexEventConsumer.java:41)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at 
org.dspace.event.ConsumerProfile.readConfiguration(ConsumerProfile.java:87)
at 
org.dspace.event.ConsumerProfile.makeConsumerProfile(ConsumerProfile.java:62)
at 
org.dspace.event.EventManager$DispatcherPoolFactory.makeObject(EventManager.java:227)
at 
org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:964)
at 
org.apache.commons.pool.PoolUtils$SynchronizedKeyedObjectPool.borrowObject(PoolUtils.java:1159)
at org.dspace.event.EventManager.getDispatcher(EventManager.java:111)
at org.dspace.core.Context.commit(Context.java:333)
at org.dspace.sword.SWORDContext.commit(SWORDContext.java:178)
at 
org.dspace.sword.DSpaceSWORDServer.doDeposit(DSpaceSWORDServer.java:123)
at org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:299)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:427)
at 
org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:384)
at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527)
at java.lang.Thread.run(Thread.java:619)

And an excerpt from the dependency tree of Building DSpace SWORD is as follows:

[INFO] 
[INFO] Building DSpace SWORD :: Web Application
[INFO]task-segment: [dependency:tree]
[INFO] 
[INFO] [dependency:tree {execution: default-cli}]
[INFO] org.dspace.modules:sword:war:1.7.0-rc1
[INFO] +- org.dspace:dspace-sword-webapp:war:1.7.0-rc1:compile
[INFO] +- org.dspace:dspace-sword-api:jar:1.7.0-rc1:compile

-- snip

[INFO] +- org.dspace:dspace-discovery-provider:jar:1.7.0-rc1:compile
[INFO] |  \- org.apache.solr:solr-solrj:jar:1.4.1:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.5.5:compile
   === 1.5.5
[INFO] | +- org.codehaus.woodstox:wstx-asl:jar:3.2.7:compile
[INFO] | |  \- stax:stax-api:jar:1.0.1:compile
[INFO] | \-
org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile


-- 
Keiji Suzuki
Ebetsu, Japan

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech