Re: [Dspace-tech] DSpace 1.6.2 issue date format

2010-08-05 Thread Clive Gould
Hi Robin

Appended are the appropriate sections from dspace.cfg.

Note that these sections are derived unchanged from the default
configuration files that came with DSpace 1.5.2 and 1.6.2
respectively.

Any suggestions most welcome.

Thanks :)

Clive


## Browse Configuration 1.5.2 ##
# Issue Date is displayed in full

webui.browse.index.1 = dateissued:item:dateissued
webui.browse.index.2 = author:metadata:dc.contributor.*:text
webui.browse.index.3 = title:item:title
webui.browse.index.4 = subject:metadata:dc.subject.*:text

webui.itemlist.sort-option.1 = title:dc.title:title
webui.itemlist.sort-option.2 = dateissued:dc.date.issued:date
webui.itemlist.sort-option.3 = dateaccessioned:dc.date.accessioned:date

plugin.named.org.dspace.sort.OrderFormatDelegate= \
org.dspace.sort.OrderFormatTitleMarc21=title

webui.browse.link.1 = author:dc.contributor.*


 Additional configuration for Recent Submissions code 

recent.submissions.sort-option = dateaccessioned

recent.submissions.count = 5

plugin.sequence.org.dspace.plugin.CommunityHomeProcessor = \
org.dspace.app.webui.components.RecentCommunitySubmissions

plugin.sequence.org.dspace.plugin.CollectionHomeProcessor = \
org.dspace.app.webui.components.RecentCollectionSubmissions



## Browse Configuration 1.6.2 ##
# Issue date is truncated to just the year

webui.browse.index.1 = dateissued:item:dateissued
webui.browse.index.2 = author:metadata:dc.contributor.*,dc.creator:text
webui.browse.index.3 = title:item:title
webui.browse.index.4 = subject:metadata:dc.subject.*:text

webui.itemlist.sort-option.1 = title:dc.title:title
webui.itemlist.sort-option.2 = dateissued:dc.date.issued:date
webui.itemlist.sort-option.3 = dateaccessioned:dc.date.accessioned:date

plugin.named.org.dspace.sort.OrderFormatDelegate= \
org.dspace.sort.OrderFormatTitleMarc21=title

webui.browse.link.1 = author:dc.contributor.*

 Additional configuration for Recent Submissions code 

recent.submissions.sort-option = dateaccessioned

recent.submissions.count = 5

plugin.sequence.org.dspace.plugin.CommunityHomeProcessor = \
org.dspace.app.webui.components.RecentCommunitySubmissions

plugin.sequence.org.dspace.plugin.CollectionHomeProcessor = \
org.dspace.app.webui.components.RecentCollectionSubmissions

plugin.named.org.dspace.content.license.LicenseArgumentFormatter = \
org.dspace.content.license.SimpleDSpaceObjectLicenseFormatter
= collection, \
org.dspace.content.license.SimpleDSpaceObjectLicenseFormatter = item, \
org.dspace.content.license.SimpleDSpaceObjectLicenseFormatter = eperson



On Wed, Aug 4, 2010 at 1:51 PM, TAYLOR Robin robin.tay...@ed.ac.uk wrote:
 Hi Clive,

 Could you post to the list the contents of the ## Browse Configuration 
 ## section from dspace.cfg ?

 Thanks.

 Robin Taylor
 Main Library
 University of Edinburgh
 Tel. 0131 6513808

 -Original Message-
 From: Clive Gould [mailto:cli...@gmail.com]
 Sent: 04 August 2010 12:54
 To: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] DSpace 1.6.2 issue date format

 Hi Robin

 1.5.2 production repository:-

 http://vle.bromley.ac.uk/dspace/browse?type=dateissued

 1.6.2 test repository:-

 http://standbyvle.bromley.ac.uk/dspace/browse?type=dateissued

 Thanks :)

 Clive


 On Wed, Aug 4, 2010 at 10:27 AM, TAYLOR Robin
 robin.tay...@ed.ac.uk wrote:
  Hi Clive,
 
  Do you have a url for the item so I could have a look at it ?
 
  Thanks, Robin.
 
 
  Robin Taylor
  Main Library
  University of Edinburgh
  Tel. 0131 6513808
 
  -Original Message-
  From: Clive Gould [mailto:cli...@gmail.com]
  Sent: 04 August 2010 08:01
  To: dspace-tech@lists.sourceforge.net
  Subject: [Dspace-tech] DSpace 1.6.2 issue date format
 
  Hi everyone
 
  Just wondering why the date display format appears to have changed
  with DSpace 1.6.2 when browsing by issue date and title?
 
  With DSpace 1.5.2 the issue date appears in the format:
 
   29-Apr-2009
 
  With DSpace 1.6.2 the same items issue date appears in the format:
 
  2009
 
  Any ideas what I have done wrong in the configuration settings?
 
  Thanks
 
  Clive
 
  --
  
  The Palm PDK Hot Apps Program offers developers who use
 the Plug-In
  Development Kit to bring their C/C++ apps to Palm for a
 share of $1
  Million in cash or HP Products. Visit us here for more details:
  http://p.sf.net/sfu/dev2dev-palm
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
  --
  The University of Edinburgh is a charitable body, registered in
  Scotland, with registration number SC005336.
 
 

 --
 
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring 

Re: [Dspace-tech] Browse Configuration

2010-08-05 Thread Webshet, Sisay (ILRI)
Hello,

 

Excellent it works! Thanks again.

 



From: Rajshekhar Pandey [mailto:rajshek...@webinito.com] 
Sent: Wednesday, August 04, 2010 3:00 PM
To: dspace-tech@lists.sourceforge.net
Cc: Webshet, Sisay (ILRI)
Subject: Re: Browse Configuration

 

Hello 
 
Please run index-init command from [dspace]/bin directory, which
will re-index your database.

Thanks

On Wed, Aug 4, 2010 at 4:41 PM, Webshet, Sisay (ILRI)
s.webs...@cgiar.org wrote:

 

Hi

I  Just try now but here is the error from the log file!

 

2010-08-04 14:04:59,004 WARN
org.dspace.app.webui.servlet.InternalErrorServlet @
:session_id=E7749D24A4AA0FD2AC12C939F0DBD184:internal_error:-- URL Was:
http://ilri-31539:8080/jspui/browse?type=ilrisubject

-- Method: GET

-- Parameters were:

-- type: ilrisubject

 

javax.servlet.ServletException: org.dspace.browse.BrowseException:
org.postgresql.util.PSQLException: ERROR: relation bi_5_dis does not
exist

at
org.dspace.app.webui.servlet.AbstractBrowserServlet.processBrowse(Abstra
ctBrowserServlet.java:371)

at
org.dspace.app.webui.servlet.BrowserServlet.doDSGet(BrowserServlet.java:
112)

at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.
java:151)

at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebapp
ServletFilter.java:112)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.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:2
86)

at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
5)

at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:583)

at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

at java.lang.Thread.run(Unknown Source)

Caused by: org.dspace.browse.BrowseException:
org.postgresql.util.PSQLException: ERROR: relation bi_5_dis does not
exist

at
org.dspace.browse.BrowseDAOPostgres.doCountQuery(BrowseDAOPostgres.java:
196)

at
org.dspace.browse.BrowseEngine.getTotalResults(BrowseEngine.java:791)

at
org.dspace.browse.BrowseEngine.browseByValue(BrowseEngine.java:478)

at
org.dspace.browse.BrowseEngine.browse(BrowseEngine.java:126)

at
org.dspace.app.webui.servlet.AbstractBrowserServlet.processBrowse(Abstra
ctBrowserServlet.java:342)

... 20 more

Caused by: org.postgresql.util.PSQLException: ERROR: relation bi_5_dis
does not exist

at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecu
torImpl.java:1531)

at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImp
l.java:1313)

at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:
188)

at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stateme
nt.java:452)

at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdb
c2Statement.java:354)

at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2St
atement.java:258)

at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Delegat
ingPreparedStatement.java:93)

at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Delegat
ingPreparedStatement.java:93)

at
org.dspace.storage.rdbms.DatabaseManager.query(DatabaseManager.java:291)

at
org.dspace.browse.BrowseDAOPostgres.doCountQuery(BrowseDAOPostgres.java:
181)

... 24 more

 



From: Webshet, Sisay (ILRI) 
Sent: Wednesday, August 04, 2010 11:05 AM
To: 'Rajshekhar Pandey'; dspace-tech@lists.sourceforge.net
Subject: RE: Browse Configuration

 

Hi,

 

Iam not sure, can I try 

[Dspace-tech] Cannot open the xml user interface

2010-08-05 Thread Bongiwe Shongwe
Halo,
 
We are on Dspace 1.6.2. The jsp user interface works fine but when we try to 
use the xmlui we get the following error:
 
 
HTTP Status 500 - 
type Exception report
message 
description The server encountered an internal error () that prevented it from 
fulfilling this request.
exception javax.servlet.ServletException: DSpace has failed to initialize, 
during stage 2. Error while attempting to read the DSpace configuration file 
(Path: '/dspace/config/dspace.cfg'). This has likely occurred because either 
the file does not exist, or it's permissions are set incorrectly, or the path 
to the configuration file is incorrect. The path to the DSpace configuration 
file is stored in a context variable, 'dspace-config', in either the local 
servlet or global context. 
org.dspace.app.xmlui.cocoon.DSpaceCocoonServlet.init(DSpaceCocoonServlet.java:149)
 javax.servlet.GenericServlet.init(GenericServlet.java:212) 
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:255) 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) 
java.lang.Thread.run(Unknown Source)

root cause java.lang.NoClassDefFoundError: Could not initialize class 
org.dspace.core.ConfigurationManager 
org.dspace.app.xmlui.cocoon.DSpaceCocoonServlet.init(DSpaceCocoonServlet.java:145)
 javax.servlet.GenericServlet.init(GenericServlet.java:212) 
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:255) 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) 
java.lang.Thread.run(Unknown Source)

note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.16 logs.Apache Tomcat/6.0.16
 
 
 
Bongiwe Shongwe
IT User Support Consultant (Libraries)
Tel: 031 260 1460
Fax: 031 260 2051
web: http://library.ukzn.ac.za 
Please find our Email Disclaimer here: http://www.ukzn.ac.za/disclaimer/
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Assistance

2010-08-05 Thread Daniel Francis

Hi All,

Please can anyone help on how to prevent anonymous users so that they
won't download the materials.

Regards,

Daniel Francis.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] SWORD submission

2010-08-05 Thread Rajshekhar Pandey
Hello to all,

  I am trying to deposit the item in DSpace using SWORD. I am using
sword-client-1.1, downloaded from
http://sourceforge.net/projects/sword-app/files/

Can I upload a single file using sword?
I have tried this with sword-client-1.1 by uploading single pdf file, it
gives me unsupported media file.

If no, then I need to upload the whole zip file similar to
[dspace-source]/dspace-sword/example/example.zip file.
but it contains mets.xml file, which contains meta data information.

How can I write that file?

Thanks

-- 
Regards,
Rajshekhar Pandey
Software Programmer
Webinito Networks.
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: mvn package error

2010-08-05 Thread Alex Maia Sanchez
Sure,

I have typed
mvn package

After error
mvn clean

And tried again with

mvn -U package

*Alex Maia Sanchez*
*LINUX Registred User # 399667
LIBERTE SUA MENTE ! Use LINUX !
Celular (11) 8034.6420*


2010/8/3 MOHIT SHARMA mohit7...@gmail.com

 Hi ,
 May i knw the line u typed to to run mvn package .

 -Mohit  Sharma

 On Tue, Aug 3, 2010 at 01:12, Alex Maia Sanchez alexmaiasanc...@gmail.com
  wrote:

 When I run mvn package I get the following error message:

 [INFO] Scanning for projects...
 [INFO] Reactor build order:
 [INFO]   DSpace Addon Modules
 [INFO]   DSpace XML-UI (Manakin) :: Web Application
 [INFO]   DSpace LNI :: Web Application
 [INFO]   DSpace OAI :: Web Application
 [INFO]   DSpace JSP-UI :: Web Application
 [INFO]   DSpace SWORD :: Web Application
 [INFO]   DSpace SOLR :: Web Application
 [INFO]   DSpace Assembly and Configuration
 [INFO]
 
 [INFO] Building DSpace Addon Modules
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO]
 
 [INFO] Building DSpace XML-UI (Manakin) :: Web Application
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] skip non existing resourceDirectory
 /srv/dspace/modules/xmlui/src/main/resources
 [INFO] artifact org.dspace:dspace-xmlui-lang: checking for updates from
 java.net
 [INFO] artifact org.dspace:dspace-api-lang: checking for updates from
 java.net
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] No sources to compile
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] skip non existing resourceDirectory
 /srv/dspace/modules/xmlui/src/test/resources
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] No sources to compile
 [INFO] [surefire:test {execution: default-test}]
 [INFO] No tests to run.
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Could not instantiate converter :
 com.thoughtworks.xstream.converters.extended.DurationConverter : null
 gnu.xml.datatype.JAXPDatatypeFactory
 [INFO]
 
 [INFO] Trace
 com.thoughtworks.xstream.XStream$InitializationException: Could not
 instantiate converter :
 com.thoughtworks.xstream.converters.extended.DurationConverter : null
at
 com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:732)
at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:696)
at com.thoughtworks.xstream.XStream.init(XStream.java:445)
at com.thoughtworks.xstream.XStream.init(XStream.java:385)
at com.thoughtworks.xstream.XStream.init(XStream.java:323)
at
 org.apache.maven.plugin.war.util.WebappStructureSerializer.init(WebappStructureSerializer.java:49)
at
 org.apache.maven.plugin.war.AbstractWarMojo.init(AbstractWarMojo.java:314)
at org.apache.maven.plugin.war.WarMojo.init(WarMojo.java:47)
at java.lang.Class.newInstance(libgcj.so.11)
at
 org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44)
at
 org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464)
at
 org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:93)
at
 org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent(PerLookupComponentManager.java:48)
at
 org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
at
 org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
at
 org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:652)
at
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 

Re: [Dspace-tech] DSpace-tech Digest, Vol 52, Issue 25

2010-08-05 Thread Rajshekhar Pandey
Hello Daniel

  You can remove the read permission policy over bitstream of the item of
the Anonymous group, by editing the item.

By removing read permission anonymous user can view the list of files but
unable to open it

Thanks.

--


 Message: 2
 Date: Thu, 5 Aug 2010 12:25:54 +0300 (EAT)
 From: Daniel Francis dan...@admin.udsm.ac.tz
 Subject: Re: [Dspace-tech] Assistance
 To: dspace-tech@lists.sourceforge.net
 Message-ID: 2999.196.44.164.3.1281000354.squir...@admin.udsm.ac.tz
 Content-Type: text/plain;charset=UTF-8


 Hi All,

 Please can anyone help on how to prevent anonymous users so that they
 won't download the materials.

 Regards,

 Daniel Francis.



 --

 --
Regards,
Rajshekhar Pandey
Software Programmer
Webinito Networks.
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace-tech Digest, Vol 52, Issue 25

2010-08-05 Thread Webshet, Sisay (ILRI)

Message: 2
Date: Thu, 5 Aug 2010 12:25:54 +0300 (EAT)
From: Daniel Francis dan...@admin.udsm.ac.tz
Subject: Re: [Dspace-tech] Assistance
To: dspace-tech@lists.sourceforge.net
Message-ID: 2999.196.44.164.3.1281000354.squir...@admin.udsm.ac.tz
Content-Type: text/plain;charset=UTF-8


Hi All,

Please can anyone help on how to prevent anonymous users so that they
won't download the materials.

Regards,

Daniel Francis.


Hi,

You first select the collection, edit,Collection's Authorizations,
You can create a group of your own,
Then change DEFAULT_BITSTREAM_READ Anonymous to that group

Thanks  

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace-tech Digest, Vol 52, Issue 25

2010-08-05 Thread Webshet, Sisay (ILRI)


-Original Message-
From: Webshet, Sisay (ILRI) 
Sent: Thursday, August 05, 2010 4:05 PM
To: 'dan...@admin.udsm.ac.tz'
Cc: 'dspace-tech@lists.sourceforge.net'
Subject: RE: DSpace-tech Digest, Vol 52, Issue 25


Message: 2
Date: Thu, 5 Aug 2010 12:25:54 +0300 (EAT)
From: Daniel Francis dan...@admin.udsm.ac.tz
Subject: Re: [Dspace-tech] Assistance
To: dspace-tech@lists.sourceforge.net
Message-ID: 2999.196.44.164.3.1281000354.squir...@admin.udsm.ac.tz
Content-Type: text/plain;charset=UTF-8


Hi All,

Please can anyone help on how to prevent anonymous users so that they
won't download the materials.

Regards,

Daniel Francis.


Hi,

You first select the collection, edit,Collection's Authorizations,
You can create a group of your own,
Then change DEFAULT_BITSTREAM_READ Anonymous to that group
One more change default read permission to your group

Thanks  

Sisay Webshet
Information systems Specialist ILRI

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Assistance

2010-08-05 Thread Claudia Jürgen
Hello Daniel,

in DSpace it is possible to define policies for the item view and the 
bitstream view (and some more).

During ingest the item derives its policies from the settings
DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ of the owning collection.
Per default this is set to anonymous read.

During collection creation there is an initial question New items 
should be publicly readable  already checked. If you uncheck it, you 
will be asked to select the eperson/group who will be permitted to read.
This will affect both settings DEFAULT_ITEM_READ and 
DEFAULT_BITSTREAM_READ at once. After having created a collection you 
can change these settings via Edit Collection - Authorization.

So in order for future items in your repository to not be publically 
available make sure the collections got the proper defaults.
Note, changing the DEFAULT_X_READ settings of a collection will NOT 
change the authorizations for already submitted items.

In order to change these you got to change the authorizations of the 
item/bitstream as admin. There is an advanced authorization/wildcard 
tool in the administrative section.

Hope that helps

Claudia Jürgen



Am 05.08.2010 11:25, schrieb Daniel Francis:

 Hi All,

 Please can anyone help on how to prevent anonymous users so that they
 won't download the materials.

 Regards,

 Daniel Francis.

 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Mit freundlichen Gruessen

Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Manakin: expanding and collapsing interface code package?

2010-08-05 Thread Deng, Sai
Hi, everybody,

Thanks for the help from this community, we started to customize our Manakin 
interface for DSpace 1.6.2. Now we've only done with the header, footer, some 
minor structural changes, modifying and applying local themes and adding the 
image gallery theme by following various documentations.  We still would like 
to implement Add expanding and collapsing interface to community-list 
hierarchy (Manakin) as shown at : 
https://wiki.duraspace.org/pages/viewpage.action?pageId=19006695 Who would like 
to share the menus.js file or a file package for easier implementation of this 
feature? Thank you.

Your help is very much appreciated!
Sophie


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin: expanding and collapsing interface code package?

2010-08-05 Thread Sands Alden Fish
Perhaps jQuery UI's Accordian.  v1.2 of jQuery is included in the Kubrick theme 
but if developing new functionality with it, the newest should be included, 
which is 1.4.2:

  http://jquery.com/
  http://docs.jquery.com/UI/Accordion


--
sands fish
Software Engineer
MIT Libraries
Technology Research  Development
sa...@mit.edumailto:sa...@mit.edu
E25-131




On Aug 5, 2010, at 10:51 AM, Deng, Sai wrote:

Hi, everybody,

Thanks for the help from this community, we started to customize our Manakin 
interface for DSpace 1.6.2. Now we’ve only done with the header, footer, some 
minor structural changes, modifying and applying local themes and adding the 
image gallery theme by following various documentations.  We still would like 
to implement “Add expanding and collapsing interface to community-list 
hierarchy (Manakin)” as shown at 
:https://wiki.duraspace.org/pages/viewpage.action?pageId=19006695 Who would 
like to share the menus.js file or a file package for easier implementation of 
this feature? Thank you.

Your help is very much appreciated!
Sophie


ATT1..cATT2..c

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] 2 patches submitted.

2010-08-05 Thread Blanco, Jose
I have submitted two patches that I would like to be considered for integration 
into the 1.7 release.  They are:

(1) A patch that checks bitstreams at ingest for viruses, and also verifies 
file formats.
http://jira.dspace.org/jira/browse/DS-638

AND

(2) Presently when an item is withdrawn there is no tombstone metadata 
generated, this patch gives users the ability to include tombstone metadata at 
the time of withdraw.
http://jira.dspace.org/jira/browse/DS-587

I will be attending the weekly Wednesday meetings and I'll be happy to answer 
any questions regarding these patches.

Thanks!
Jose

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Where to find the Where to locate dspace.properties

2010-08-05 Thread Mckeane Thomas
Can anyone help me with the problem below. cannot find the files listed that
is dspace.properties or discoverylocal.properties

INFO: Failed to load config properties from file
(/dspace-instances/discovery/config/dspace.properties): Does not exist
Aug 5, 2010 12:52:18 PM
org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyFile
INFO: Failed to load config properties from file
(/dspace-instances/discoverylocal.properties): Does not exist
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace 1.6.2 bin directory

2010-08-05 Thread bill . anderson
We've just upgraded from 1.6.0 to 1.6.2, and found that many of the files in 
our bin directory no longer work.  Upon investigation, a lot of former dsrun 
calls appear to have disappeared.  For instance, index-init used to read like 
this:

   # Get the DSPACE/bin directory
   BINDIR=`dirname $0`

   echo Creating browse index
   $BINDIR/dsrun org.dspace.browse.IndexBrowse -f -r
   $BINDIR/dsrun org.dspace.browse.ItemCounter

   echo Creating search index
   $BINDIR/dsrun org.dspace.search.DSIndexer -b

That's been replace by this:


   # Get the DSPACE/bin directory
   BINDIR=`dirname $0`

   echo Creating browse and search indexes
   $BINDIR/dspace index-init

There is no binary or sub-directory called dspace in the bin directory -- 
although there is a file called dspace.bat, which looks to be the batch file 
equivalent of dsrun.  I'm assuming this is the result of a glitch in the 
release; is there any reason we shouldn't simply revert to the 1.6.0 binaries?

Cheers,

Bill

Bill Anderson 
Software Developer 
Digital Library Development 
Georgia Tech Library 

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SWORD submission

2010-08-05 Thread Stuart Lewis
Hi Rajshekhar,

 Can I upload a single file using sword?
 I have tried this with sword-client-1.1 by uploading single pdf file, it 
 gives me unsupported media file.
 
 If no, then I need to upload the whole zip file similar to 
 [dspace-source]/dspace-sword/example/example.zip file.
 but it contains mets.xml file, which contains meta data information.

The SWORD implementation in DSpace will accept two types of deposit:

 - Full packages (such as example.zip) can be deposit into COLLECTIONS. The 
packages must contain the metadata (mets.xml) and files in order to create a 
new ITEM.

 - Single files can be deposited into existing ITEMS, and the new file will be 
added to the list of bitstreams.

You probably received that error because you were trying to deposit a single 
file into a COLLECTION, whereas you can only deposit it into an existing ITEM.

 How can I write that file?

You either have to create them yourself, or look at using a tools such as the 
PHP SWORD client library (http://github.com/stuartlewis/swordapp-php-library/) 
which includes a SWAP/METS packager that you can use 
(http://github.com/stuartlewis/swordapp-php-library/blob/master/packager_mets_swap.php).

Thanks,


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


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace 1.6.2 bin directory

2010-08-05 Thread Tim Donohue
Bill,

There should be a new [dspace]/bin/dspace binary file in your 1.6.2 bin 
directory.  If that is missing, then something must have gone wrong in 
your upgrade?

Your 1.6.2 'bin' directory should end up with these files:
http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.6.2/dspace/bin/

Essentially, DSpace 1.6 introduced this new 'dspace' binary script as a 
replacement for the old 'dsrun' script.  The new 'dspace' script is 
cross-OS compatible, which enables all [dspace]/bin/* scripts to run on 
any operating system (previously, most scripts only ran in Linux/Unix 
environments).   Currently, we still included the 'dsrun' script in 
1.6.x (to support backwards compatibility, if people are used to running 
it diretcory), however the 'dsrun' script itself now forwards all 
commands to the new 'dspace' script.

- Tim

On 8/5/2010 1:48 PM, bill.ander...@library.gatech.edu wrote:
 We've just upgraded from 1.6.0 to 1.6.2, and found that many of the files in 
 our bin directory no longer work.  Upon investigation, a lot of former dsrun 
 calls appear to have disappeared.  For instance, index-init used to read like 
 this:

 # Get the DSPACE/bin directory
 BINDIR=`dirname $0`

 echo Creating browse index
 $BINDIR/dsrun org.dspace.browse.IndexBrowse -f -r
 $BINDIR/dsrun org.dspace.browse.ItemCounter

 echo Creating search index
 $BINDIR/dsrun org.dspace.search.DSIndexer -b

 That's been replace by this:


 # Get the DSPACE/bin directory
 BINDIR=`dirname $0`

 echo Creating browse and search indexes
 $BINDIR/dspace index-init

 There is no binary or sub-directory called dspace in the bin directory -- 
 although there is a file called dspace.bat, which looks to be the batch 
 file equivalent of dsrun.  I'm assuming this is the result of a glitch in the 
 release; is there any reason we shouldn't simply revert to the 1.6.0 binaries?

 Cheers,

 Bill

 Bill Anderson
 Software Developer
 Digital Library Development
 Georgia Tech Library

 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] problems upgrading 1.5.2 to 1.6.2

2010-08-05 Thread Wally Grotophorst
Having a problem today getting a stable 1.6.2 upgrade in place.

Everything works as it should save author browsing.  I consistently see this 
error:


-- URL Was: http://digilib.gmu.edu:8080/xmlui/browse?type=author
-- Method: GET
-- Parameters were:
-- type: author


Exception:
javax.servlet.ServletException: org.apache.jasper.JasperException: Unable to 
compile class for JSP:

An error occurred at line: 334 in the jsp file: /browse/single.jsp
Type mismatch: cannot convert from String[][] to String[]
331: %
332: // Row: toggles between Odd and Even
333: String row = odd;
334: String[] results = bi.getStringResults();
335:
336: for (int i = 0; i  results.length; i++)
337: {



Does this ring a bell for anyone?

DSpace 1.6.2
Mac OSX Server: 10.6.4
java -version
java version 1.6.0_20
Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode

-- Wally

Wally Grotophorst
Associate University Librarian
Digital Programs and Systems
University Libraries
George Mason University
Fairfax, Virginia 22030
(703) 993-9005


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] problems upgrading 1.5.2 to 1.6.2

2010-08-05 Thread Kim Shepherd
Hi Wally,

It looks as though you still have some 1.5.2 JSPs sitting around, which is
confusing things. There was a very similar thread some weeks back (see:
http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg10128.html)
which should hopefully give you some pointers.

I'll also note that:

1. Even though your URL includes a webapp name of 'xmlui', it seems to be a
JSPUI error that is appearing...
2. Since the server you're talking about seems to be live and public, I did
a few quick tests myself and things seem to be working ok, using 'xmlui' and
the default/ROOT webapp... I saw no errors or exceptions... but they both
seem to be JSPUI webapps and I wonder whether it might be a bit confusing
later on down the track...

Cheers,

Kim

On 6 August 2010 08:04, Wally Grotophorst wal...@gmu.edu wrote:

 Having a problem today getting a stable 1.6.2 upgrade in place.

 Everything works as it should save author browsing.  I consistently see
 this error:


 -- URL Was: http://digilib.gmu.edu:8080/xmlui/browse?type=author
 -- Method: GET
 -- Parameters were:
 -- type: author


 Exception:
 javax.servlet.ServletException: org.apache.jasper.JasperException: Unable
 to
 compile class for JSP:

 An error occurred at line: 334 in the jsp file: /browse/single.jsp
 Type mismatch: cannot convert from String[][] to String[]
 331: %
 332: // Row: toggles between Odd and Even
 333: String row = odd;
 334: String[] results = bi.getStringResults();
 335:
 336: for (int i = 0; i  results.length; i++)
 337: {



 Does this ring a bell for anyone?

 DSpace 1.6.2
 Mac OSX Server: 10.6.4
 java -version
 java version 1.6.0_20
 Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
 Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode

 -- Wally

 Wally Grotophorst
 Associate University Librarian
 Digital Programs and Systems
 University Libraries
 George Mason University
 Fairfax, Virginia 22030
 (703) 993-9005



 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech