Re: [Dspace-tech] adding Refworks features into my Dspace 1.4.2

2009-06-23 Thread mikan.d.dspace listmail
This should be  fairly simple to implement. We have implemented a simple
Refworks export at: tds.terkko.helsinki.fi/dspace.
It basicly uses a simple PHP script to produce Refworks tagged format and
then calls back a Refworks built-in importer to import the produced text.

Hope this helps,
Mika


2009/6/22 Joan Caparros jcapar...@cesca.es

 Hi guys! I have googled but I can't find the best solution for my
 problem, maybe some of you know the answer.
 I'm trying to add the Refwork's Export feature into my DSpace 1.4.2,
 actually I'm looking for a plugin to add this costumization. But I'm not
 sure if it exist... maybe all the people has developed his own code to
 export it... I don't know...

 Joan



 --
 Are you an open source citizen? Join us for the Open Source Bridge
 conference!
 Portland, OR, June 17-19. Two days of sessions, one day of unconference:
 $250.
 Need another reason to go? 24-hour hacker lounge. Register today!

 http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace Indexing MediaFilterManager Error

2009-06-23 Thread hardik mishra
Dear Ranjan

In the first reply i told you to add line(C:\DSpace\lib) to CLASSPATH 
environment variable.
not in PATH variable.

There is a difference in PATH and CLASSPATH environment variable.

Second thing , There is no need to have Perl loaded in your system.
 
Best Regards
Hardik Mishra
Jr. Software EngineerWebInito Technologies - Ahmedabad -Gujarat (India)


Give a man a fish, and you feed him for a day. Teach a man to catch fish and 
you feed him for a lifetime. 





From: Ranjan SinhaThakur ranjan...@dasturco.in
To: hardik mishra hardik_h...@yahoo.com
Sent: Tuesday, June 23, 2009 2:54:43 PM
Subject: Re: Dspace Indexing  MediaFilterManager Error

Dear Mishra

Again thank you for your mail. I am sending the error where I am getting,
as well as the path.

Is it necessary to load perl ? we have not loaded it.

with regards

Ranjan


Indexing

C:\DSpace.\bin\dsrun org.dspace.browse.IndexBrowse -f -r
Using DSpace installation in: C:\DSpace
Exception in thread main java.lang.ArrayIndexOutOfBoundsException: 3
        at
org.dspace.core.Context.turnOffAuthorisationSystem(Context.java:220)
        at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:617)

C:\DSpace.\bin\dsrun org.dspace.browse.IndexBrowse -i
Using DSpace installation in: C:\DSpace
Exception in thread main java.lang.ArrayIndexOutOfBoundsException: 3
        at
org.dspace.core.Context.turnOffAuthorisationSystem(Context.java:220)
        at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:617)

C:\DSpace.\bin\dsrun org.dspace.browse.IndexBrowse -r
Using DSpace installation in: C:\DSpace
Exception in thread main java.lang.ArrayIndexOutOfBoundsException: 3
        at
org.dspace.core.Context.turnOffAuthorisationSystem(Context.java:220)
        at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:617)

ITEM COUNTER

C:\DSpace.\bin\dsrun org.dspace.browse.Itemcounter
Using DSpace installation in: C:\DSpace
Exception in thread main java.lang.NoClassDefFoundError:
org/dspace/browse/Ite
mcounter

Media Filter

C:\DSpace.\bin\dsrun org.dspace.app.mediafilter.MediaFliterManager
Using DSpace installation in: C:\DSpace
Exception in thread main java.lang.NoClassDefFoundError:
org/dspace/app/mediaf
ilter/MediaFliterManager


Path

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
C:\Program Files\CA\SharedComponents\ScanEngine;C:\Program
Files\CA\SharedComponents\CAUpdate\;
C:\Program Files\CA\SharedComponents\ThirdParty\;
C:\Program Files\CA\SharedComponents\SubscriptionLicense\;
C:\Program Files\CA\eTrustITM;C:\ant\bin;
C:\Program Files\Java\j2re1.4.2_19\bin;
C:\Program Files\Java\jre6\bin;
C:\apache-maven-2.1.0\bin;
C:\j2sdk1.4.2_19\bin;%ANT_HOME%\bin;C:\apache-maven-2.1.0\bin;C:\DSpace\lib


Ranjan Sinha Thakur
Sr. Librarian
M. N. Dastur  Company (P) Ltd
P-17 Mission Row Extension
Kolkata 700013
Phone : 91-33-22255420- Ext. 519
Mob : 9433385736


  --
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace Indexing MediaFilterManager Error

2009-06-23 Thread hardik mishra
Dear Ranjan

There is no other alternate as per my opinion.
You do one thing,
remove backslash and keep c:\dspace\lib in classpath and restart computer and 
try again. it should work.

Best Regards
Hardik Mishra
Jr. Software Engineer WebInito Technologies - Ahmedabad - Gujarat

Give a man a fish, and you feed him for a day. Teach a man to catch fish and 
you feed him for a lifetime. 

 




From: Ranjan SinhaThakur ranjan...@dasturco.in
To: hardik mishra hardik_h...@yahoo.com
Sent: Tuesday, June 23, 2009 4:06:10 PM
Subject: Re: Dspace Indexing  MediaFilterManager Error

Dear Mishra

The itemCounter Problem is now solve with setting classpath error. But
while indexing  mediafiltermanager I am getting the same error


With Regards,

Ranjan Sinha Thakur
Sr. Librarian
M. N. Dastur  Company (P) Ltd
P-17 Mission Row Extension
Kolkata 700013
Phone : 91-33-22255420- Ext. 519
Mob : 9433385736


  --
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem Installing dspace 1.5.2

2009-06-23 Thread Andrea Bollini
you need to run mvn package from inside the dspace subdirectory
 dsp...@zimtheses dspace-1.5.2-release$ mvn package
dsp...@zimtheses dspace-1.5.2-release/dspace$ mvn package
hope this help,
Andrea

Mutsikiwa Admire ha scritto:

 I am trying to install  DSpace release 1.5.2. I am running Fedora 8
 and using the following package:

  

 java version 1.6.0_06

 Apache Ant version 1.7.1

 Maven version: 2.0.9

  I have set everthing well as my installation of dspace 1.4.1 is
 running smoothly.

  

 I am behind a firewall. I have set the proxy setting in
 /etc/maven/settings.xml as directed on
 http://maven.apache.org/guides/mini/guide-proxies.html . I have gone a
 step further and set the proxy settings in
 /home/dspace/.m2/settings.xml. However, when, as user dspace, I run :

 $ mvn package I am getting the following error.

  

 dsp...@zimtheses dspace-1.5.2-release$ mvn package

 [INFO] Scanning for projects...

 [INFO]
 

 [ERROR] FATAL ERROR

 [INFO]
 

 [INFO] Error building POM (may not be this project's POM).

  

  

 Project ID: unknown

  

 Reason: Could not find the model file
 '/dspace-1.5.2-release/dspace-api'. for project unknown

  

  

 [INFO]
 

 [INFO] Trace

 org.apache.maven.reactor.MavenExecutionException: Could not find the
 model file '/dspace-1.5.2-release/dspace-api'. for project unknown

 at
 org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)

 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)

 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)

 at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

 at java.lang.reflect.Method.invoke(Method.java:597)

 at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

 at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

 Caused by: org.apache.maven.project.ProjectBuildingException: Could
 not find the model file '/dspace-1.5.2-release/dspace-api'. for
 project unknown

 at
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1557)

 at
 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:504)

 at
 org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)

 at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)

 at
 org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)

 at
 org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)

 at
 org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)

 ... 11 more

 Caused by: java.io.FileNotFoundException:
 /dspace-1.5.2-release/dspace-api (No such file or directory)

 at java.io.FileInputStream.open(Native Method)

 at java.io.FileInputStream.init(FileInputStream.java:106)

 at
 hidden.org.codehaus.plexus.util.xml.XmlReader.init(XmlReader.java:123)

 at
 hidden.org.codehaus.plexus.util.xml.XmlStreamReader.init(XmlStreamReader.java:67)

 at
 hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:113)

 at
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1552)

 ... 17 more

 [INFO]
 

 [INFO] Total time:  1 second

 [INFO] Finished at: Tue Jun 23 10:14:23 CAT 2009

 [INFO] Final Memory: 1M/4M

 [INFO]
 

  

  

 I will appreciate any help as I want to be on the latest stable release.

 Kind Regards,

  

 Admire Mutsikiwa (Mr)

 ICT Projects Manager

 Library IT

 University of Zimbabwe

 Tell:+263-4-303276

 Cell:+263-92239187

 Alt/email:amutsik...@gmail.com

  

 

 --
 Are you an open source citizen? Join us for the Open Source Bridge conference!
 Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
 Need another reason to go? 24-hour hacker lounge. Register today!
 http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
 

Re: [Dspace-tech] filter-media allways get java.lang.OutOfMemoryError:Java heap space

2009-06-23 Thread Stuart Lewis
Hi Rui,

Which version of DSpace are you running? If you are running 1.5 or
later, you can set the following options in dspace.cfg:

# If true, larger PDFs are written to a temp file as they are
indexed...this 
# is slower, but helps ensure that PDFBox software DSpace uses doesn't
eat up
# all your memory 
#pdffilter.largepdfs = true

# If true, PDFs which still result in an Out of Memory error from PDFBox
# are skipped over...these problematic PDFs will never be indexed until 
# memory usage can be decreased in the PDFBox software
#pdffilter.skiponmemoryexception = true

Thanks,


Stuart Lewis
Digital Services Programmer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/




-Original Message-
From: Rui Ramos [mailto:rra...@reit.up.pt] 
Sent: Tuesday, 23 June 2009 11:29 p.m.
To: Dspace Tech
Subject: [Dspace-tech] filter-media allways get
java.lang.OutOfMemoryError:Java heap space

Hi *,

 I'm getting this error when running filter-media

...
ERROR filtering, skipping bitstream:

Item Handle: 10216/10063
Bundle Name: ORIGINAL
File Size: 122589469
Checksum: 7f9aa1bde30b1c3f17b6e8589bcf36f6 (MD5)
Asset Store: 0
org.pdfbox.exceptions.WrappedIOException: Java heap space
org.pdfbox.exceptions.WrappedIOException: Java heap space
at org.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:234)
at org.pdfbox.pdmodel.PDDocument.load(PDDocument.java:707)
at org.pdfbox.pdmodel.PDDocument.load(PDDocument.java:691)
at
org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java
:140)
at
org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilt
erManager.java:652)
at
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilte
rManager.java:554)
at
org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterMana
ger.java:504)
at
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilt
erManager.java:472)
at
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(Media
FilterManager.java:425)
at
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.ja
va:359)
java.lang.OutOfMemoryError: Java heap space Exception in thread main
java.lang.OutOfMemoryError: Java heap space


I don't know if this is because of a big pdf file or another thing
that's causing this.

Is it possible to prevent the filter command to open pdf files bigger
then XX mb ?

Or skip some of them ?

Another thoughts on how to solve this would be apreciated.

 Best regards, Rui



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


[Dspace-tech] FW:Look who?s talking about IRs---Provosts!

2009-06-23 Thread Valorie Hollister
Below is a recent article that may be of interest.

Valorie Hollister
Community Outreach Manager
DSpace Foundation


- Forwarded Message 

Begin forwarded message:

 From: Kathleen Cowan kco...@bepress.com
 Date: June 23, 2009 7:09:18 AM EDT
 To: sparc...@serv01.m349.sgded.com
 Subject: [SPARC-IR] Look who?s talking about IRs---Provosts!
 Reply-To: SPARC Institutional Repositories Discussion List  
 sparc...@arl.org

 Provost listservs have been buzzing with exchanges about open access  
 and distribution of university-produced knowledge.  I see this as  
 pretty exciting news for the IR community.  It could make the work  
 of getting a committed top-level stakeholder a whole lot easier.  If  
 this is your job, I would suggest you check out Making the Case for  
 an Institutional Repository to Your Provost.  The stories and  
 examples in this paper should provide you with some good ammunition  
 as you seek to bring in high-level support for your repository.

 http://works.bepress.com/cgi/viewcontent.cgi?article=1027context=ir_research 
 -- Kathleen  
 Cowan
 Product Marketing Manager
 Berkeley Electronic Press
 2809 Telegraph Ave.
 Suite 202
 Berkeley, CA 94705
 510-665-1200 X118
 Fax: 510-665-1201

 www.bepress.com

 bepress: 10 years of accelerating and enhancing the flow of scholarly ideas




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


Re: [Dspace-tech] XMLUI: how to add the commuinities collections in the starting page

2009-06-23 Thread Κώστας Παρασκευόπουλος
Hi Yureshwar,

You want to remove all else from the front page in xmlui and place a full
listing of communities and collections or just want to render the full
list.
In both cases you need to edit
[dspace
source]/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/ArtifactBrowser/sitemap.xmap
Since you want to change the front page find the map:match pattern= and
either remove / comment out the
map:transform 
you don't want to appear
or change the parameter for map:transform type=CommunityBrowser
to 999 in order to render the full list in the front page

after the changes rebuild / update_webapps / deploy...

Kostas Paraskevopoulos
Κωνσταντίνος Παρασκευόπουλος
Casey Stengelhttp://www.brainyquote.com/quotes/authors/c/casey_stengel.html
- All right everyone, line up alphabetically according to your
height.

On Fri, Jun 5, 2009 at 10:10, Yureshwar Dspace
dspace.yuresh...@gmail.comwrote:

 Hi all,

 Can anyone help me how to add communities  collections page to the
 front page in xmlui.





 --
 OpenSolaris 2009.06 is a cutting edge operating system for enterprises
 looking to deploy the next generation of Solaris that includes the latest
 innovations from Sun and the OpenSource community. Download a copy and
 enjoy capabilities such as Networking, Storage and Virtualization.
 Go to: http://p.sf.net/sfu/opensolaris-get
 ___
 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