[Dspace-tech] how to add external resource links in dspace

2013-05-07 Thread jayachandra B
Hi,

can any one tell how to add external resource links in dspace
-- 
Regards
Jayachandra
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Please help with turning On discovery module.

2013-05-07 Thread Abhishek.Kulkarni
Thanks Hilton, I will follow the steps and let you know the result.

Regards,
Abhishek


On Tue, May 7, 2013 at 4:26 PM, Hilton Gibson-2 [via DSpace] <
ml-node+s2283337n4663668...@n4.nabble.com> wrote:

> Check this first:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery#Check_SOLR_webapp_operation
>
>
>
> On 7 May 2013 20:09, Abhishek.Kulkarni <[hidden 
> email]
> > wrote:
>
>> Hi Ivan,
>>
>> I ran the command :
>> wget "http://localhost:8080/solr/search/select/?q=*:*"; -O test.xml and
>> got
>> the following output-
>>
>> guru@dspace:~$ wget "http://localhost:8080/solr/search/select/?q=*:*"; -O
>> test.xml
>> --2013-05-07 13:04:44--  http://localhost:8080/solr/search/select/?q=*:*
>> Resolving localhost (localhost)... 127.0.0.1
>> Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2013-05-07 13:04:44 ERROR 404: Not Found.
>>
>>
>> Error in console after running command ./dspace update-discovery-index
>>
>>
>> guru@dspace:/dspace/bin$ ./dspace update-discovery-index
>>  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
>>
>> DSpaceKernel:org.dspace:name=f2939ee8-e90c-4131-9d00-de2f81bea941,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
>>  INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
>> file:/dspace/config/dspace.cfg
>>  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
>> configuration (log.init.config)
>>  INFO [main] (ConfigurationManager.java:1224) - Loading:
>> /dspace/config/log4j.properties
>> Exception: Error executing query
>> org.dspace.discovery.SearchServiceException: Error executing query
>> at
>> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
>> at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:601)
>> at
>> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
>> Caused by: org.apache.solr.client.solrj.SolrServerException: Error
>> executing
>> query
>> at
>>
>> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
>> at
>> org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
>> at
>> org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:106)
>> at
>> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:388)
>> ... 6 more
>> Caused by: org.apache.solr.common.SolrException: Not Found
>>
>> Not Found
>>
>> request: http://localhost:8080/solr/search/select?q=search.resourcetype:2
>> AND search.resourceid:1&wt=javabin&version=2
>> at
>>
>> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
>> at
>>
>> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
>> at
>>
>> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
>> ... 9 more
>>
>>
>> No log generated in dspace.log file.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -
>> Abhishek Kulkarni
>> Library Technology Group
>> Paul V Galvin Library
>> Illinois Institute of Technology, Chicago
>> --
>> View this message in context:
>> http://dspace.2283337.n4.nabble.com/Re-Please-help-with-turning-On-discovery-module-tp4663636p4663663.html
>> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>>
>>
>> --
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> ___
>> DSpace-tech mailing list
>> [hidden email] 
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
>
> --
> *Hilton Gibson*
> Systems Administrator
> JS Gericke Library
> Room 1025C
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
> http://library.sun.ac.za
> http://scholar.sun.ac.za
> http://ar1.sun.ac.za
> http://aj1.sun.ac.za
>
> --
>
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Database

Re: [Dspace-tech] Please help with turning On discovery module.

2013-05-07 Thread Hilton Gibson
Check this first:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery#Check_SOLR_webapp_operation



On 7 May 2013 20:09, Abhishek.Kulkarni  wrote:

> Hi Ivan,
>
> I ran the command :
> wget "http://localhost:8080/solr/search/select/?q=*:*"; -O test.xml and got
> the following output-
>
> guru@dspace:~$ wget "http://localhost:8080/solr/search/select/?q=*:*"; -O
> test.xml
> --2013-05-07 13:04:44--  http://localhost:8080/solr/search/select/?q=*:*
> Resolving localhost (localhost)... 127.0.0.1
> Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2013-05-07 13:04:44 ERROR 404: Not Found.
>
>
> Error in console after running command ./dspace update-discovery-index
>
>
> guru@dspace:/dspace/bin$ ./dspace update-discovery-index
>  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
>
> DSpaceKernel:org.dspace:name=f2939ee8-e90c-4131-9d00-de2f81bea941,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
>  INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
> file:/dspace/config/dspace.cfg
>  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
> configuration (log.init.config)
>  INFO [main] (ConfigurationManager.java:1224) - Loading:
> /dspace/config/log4j.properties
> Exception: Error executing query
> org.dspace.discovery.SearchServiceException: Error executing query
> at
> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
> at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
> Caused by: org.apache.solr.client.solrj.SolrServerException: Error
> executing
> query
> at
>
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
> at
> org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
> at
> org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:106)
> at
> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:388)
> ... 6 more
> Caused by: org.apache.solr.common.SolrException: Not Found
>
> Not Found
>
> request: http://localhost:8080/solr/search/select?q=search.resourcetype:2
> AND search.resourceid:1&wt=javabin&version=2
> at
>
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
> at
>
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
> at
>
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
> ... 9 more
>
>
> No log generated in dspace.log file.
>
>
>
>
>
>
>
>
>
> -
> Abhishek Kulkarni
> Library Technology Group
> Paul V Galvin Library
> Illinois Institute of Technology, Chicago
> --
> View this message in context:
> http://dspace.2283337.n4.nabble.com/Re-Please-help-with-turning-On-discovery-module-tp4663636p4663663.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/

Re: [Dspace-tech] Tomcat failed

2013-05-07 Thread Mark H. Wood
We would need to see the last part of the log written by Tomcat
itself.  It is probably called something like catalina.log.  Somewhere
between the beginning of start-up and the message you mention, we
should find clues about *how* it failed.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Tomcat failed

2013-05-07 Thread rémi Asare
I forgot to mention that i'm running dspace on ubuntu, newbie mistake :)


2013/5/7 rémi Asare 

> Hey, great community
>
>
> I'm having an error when i try to restart tomcat6. It is said tomcat
> servlet engine failes. Can anyone help me out, please?? Thanks
> in advance
>
> --
> Rémi Asare.
>



-- 
Rémi Asare.
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Tomcat failed

2013-05-07 Thread rémi Asare
Hey, great community


I'm having an error when i try to restart tomcat6. It is said tomcat
servlet engine failes. Can anyone help me out, please?? Thanks
in advance

-- 
Rémi Asare.
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Please help with turning On discovery module.

2013-05-07 Thread Abhishek.Kulkarni
Hi Ivan,

I ran the command :
wget "http://localhost:8080/solr/search/select/?q=*:*"; -O test.xml and got
the following output-

guru@dspace:~$ wget "http://localhost:8080/solr/search/select/?q=*:*"; -O
test.xml
--2013-05-07 13:04:44--  http://localhost:8080/solr/search/select/?q=*:*
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-05-07 13:04:44 ERROR 404: Not Found.


Error in console after running command ./dspace update-discovery-index


guru@dspace:/dspace/bin$ ./dspace update-discovery-index
 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=f2939ee8-e90c-4131-9d00-de2f81bea941,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
file:/dspace/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1224) - Loading:
/dspace/config/log4j.properties
Exception: Error executing query
org.dspace.discovery.SearchServiceException: Error executing query
at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing
query
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
at
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
at
org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:106)
at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:388)
... 6 more
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8080/solr/search/select?q=search.resourcetype:2
AND search.resourceid:1&wt=javabin&version=2
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
... 9 more


No log generated in dspace.log file.









-
Abhishek Kulkarni
Library Technology Group 
Paul V Galvin Library
Illinois Institute of Technology, Chicago
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Re-Please-help-with-turning-On-discovery-module-tp4663636p4663663.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Testing OAI harvesting

2013-05-07 Thread Calloni, Rodrigo
Thanks Helix

I did just that and for some reason the server can't reach my OAI server.

http://digital.library.iadb.org/public/oai/request

Here is a link to get the records:
http://digital.library.iadb.org/public/oai/request?verb=ListRecords&metadataPrefix=oai_dc
 

As far as I know there is a reverse proxy pushing out our OAI server to the 
public. But I am not a network person to know if this is being done correctly.

Any ideas?

Rodrigo

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, May 07, 2013 10:48 AM
To: Calloni, Rodrigo
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Testing OAI harvesting

Hi Rodrigo,

you can use the demo server to test harvesting from your repository to the demo 
server. Simply log in as administrator and set up harvesting.

http://demo.dspace.org/xmlui/


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Question about Creative Commons License

2013-05-07 Thread George Stanley Kozak
Thanks, helix!

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, May 07, 2013 11:00 AM
To: George Stanley Kozak
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question about Creative Commons License

On Tue, May 7, 2013 at 4:43 PM, George Stanley Kozak  wrote:
> I was asked today if the Creative Commons License can be added after 
> an item was submitted and in the system (sort of, after the fact).
>
> My gut feeling is “no”, but I wanted to check first.  Also, can batch 
> records have a Creative Commons License applied?  (again, I am 
> thinking “no”).

Hi George,

to answer that, we must first find out what makes a DSpace item a CC item. To 
find that out, I submitted a new item on demo.dspace.org. Now let's look at 
both metadata [1] and license bitstreams [2]:

[1] http://demo.dspace.org/xmlui/handle/10673/13012?show=full
[2] http://demo.dspace.org/xmlui/metadata/handle/10673/13012/mets.xml
[3] http://demo.dspace.org/xmlui/bitstream/handle/10673/13012/license_rdf

As you can see, metadata contains two fields:
dc.rights:Attribution-ShareAlike 3.0 United States 
dc.rights.uri:http://creativecommons.org/licenses/by-sa/3.0/us/

Also notice that "*" is a language, which seems unusual, because usually 
there's either a language code, an empty string or a NULL value. This might or 
might not matter.

Secondly, we can see the METS file pointing to a single bitstream [3].
There's nothing specific to the item there, it's the same for all items with 
the same type of CC license. Please note, that this bitstream is in the LICENSE 
bundle (you can upload to this bundle from the web interface, just select it 
from the dropdown menu).


So to answer your questions:
* yes, an existing item can be made CC
* yes, batch import can create CC items


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Question about Creative Commons License

2013-05-07 Thread helix84
On Tue, May 7, 2013 at 4:43 PM, George Stanley Kozak  wrote:
> I was asked today if the Creative Commons License can be added after an item
> was submitted and in the system (sort of, after the fact).
>
> My gut feeling is “no”, but I wanted to check first.  Also, can batch
> records have a Creative Commons License applied?  (again, I am thinking
> “no”).

Hi George,

to answer that, we must first find out what makes a DSpace item a CC
item. To find that out, I submitted a new item on demo.dspace.org. Now
let's look at both metadata [1] and license bitstreams [2]:

[1] http://demo.dspace.org/xmlui/handle/10673/13012?show=full
[2] http://demo.dspace.org/xmlui/metadata/handle/10673/13012/mets.xml
[3] http://demo.dspace.org/xmlui/bitstream/handle/10673/13012/license_rdf

As you can see, metadata contains two fields:
dc.rights:Attribution-ShareAlike 3.0 United States
dc.rights.uri:http://creativecommons.org/licenses/by-sa/3.0/us/

Also notice that "*" is a language, which seems unusual, because
usually there's either a language code, an empty string or a NULL
value. This might or might not matter.

Secondly, we can see the METS file pointing to a single bitstream [3].
There's nothing specific to the item there, it's the same for all
items with the same type of CC license. Please note, that this
bitstream is in the LICENSE bundle (you can upload to this bundle from
the web interface, just select it from the dropdown menu).


So to answer your questions:
* yes, an existing item can be made CC
* yes, batch import can create CC items


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Testing OAI harvesting

2013-05-07 Thread helix84
Hi Rodrigo,

you can use the demo server to test harvesting from your repository to
the demo server. Simply log in as administrator and set up harvesting.

http://demo.dspace.org/xmlui/


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Question about Creative Commons License

2013-05-07 Thread George Stanley Kozak
Hi...

I was asked today if the Creative Commons License can be added after an item 
was submitted and in the system (sort of, after the fact).
My gut feeling is "no", but I wanted to check first.  Also, can batch records 
have a Creative Commons License applied?  (again, I am thinking "no").

PS: we are using DSpace 1.8.2 with JSPUI interface.
George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Testing OAI harvesting

2013-05-07 Thread Calloni, Rodrigo
Hello

We are about to release the IDB Digital Repository harvesting to the public.

I wonder if someone could volunteer to harvest our collections as soon as we 
launch this?

I just want to know if access to OAI is working ok and I need some good soul to 
test it for us :)

Best regards
Rodrigo

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Export items in Marc21 format

2013-05-07 Thread Calloni, Rodrigo
Thanks Helix

According to our developers our installation is too complex to move to 3.0 (now 
3.1).

They recommended moving to 1.8.2 as it is more stable by now.

But it is good to know that marc is available on 3.1. It will save us a lot of 
money.

Best regards
Rodrigo

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Monday, May 06, 2013 5:53 PM
To: Calloni, Rodrigo
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Export items in Marc21 format

On Mon, May 6, 2013 at 11:00 PM, Calloni, Rodrigo  wrote:
> We would like to know if DSpace has an out-of-the box way to export the items 
> metadata in Marc21 format.

Hi Rodrigo,

no, DSpace can't do this yet out-of-the-box, as of 3.1. But in the new OAI in 
DSpace 3, MARC21 XML can be exported out-of-the-box (here's the schema used 
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd).
If you're upgrading from 1.6, I recommend you not to stop at 1.8 but to 
continue upgrading to 3. It's almost no extra work and you get nice features 
like this.

One more word of warning - the MARC 21 XML format in the new OAI may have a few 
bugs due to being new and not being tested so much yet, but
1) it's very easy to change by tweaking just one XSLT file
2) we'd appreciate if you report any problems so that we can fix it in DSpace

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] SMTP Configuration problem (javax.mail.MessagingException)

2013-05-07 Thread Mark H. Wood
On Tue, May 07, 2013 at 12:15:45PM +0530, Divya Gandhi wrote:
> I was trying to configure my gmail account as admin. my dspace.cfg looks
> like this:
> 
> # SMTP mail server
> mail.server = smtp.gmail.com
> 
> # SMTP mail server authentication username and password (if required)
> mail.server.username = divya.d7...@gmail.com
> mail.server.password = password.of.my.gmail.ac
> 
> # SMTP mail server alternate port (defaults to 25)
> mail.server.port = 465
> 
> # Recipient for new user registration emails
> registration.notify = divya.d7...@gmail.com
> mail.charset = UTF-8
> 
> mail.allowed.referrers = localhost
> mail.extraproperties = mail.smtp.socketFactory.port=465, \
> mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
>mail.smtp.socketFactory.fallback=false
> mail.server.disabled = false
> default.language = en_US
> 
> But whenever a new user registers, there is an error and my log file reads
> like this:
> 
> 2013-05-07 11:53:48,171 INFO  org.dspace.app.webui.servlet.RegisterServlet
> @ anonymous:session_id=AB658FFDEB01EB592D20F56C8ACA1953:ip_addr=127.0.0.1:
> error_emailing:email=i.rashmigo...@gmail.com
> *javax.mail.MessagingException*: Exception reading response;
>   nested exception is:
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
  ^^
> valid certification path to requested target
  

SSL is trying to validate Gmail's certificate, but it doesn't have a
trusted root certificate to chain back to, probably because you
haven't told it to trust anything.  Unlike most web browsers, Java's
SSL code correctly comes with NO certificates installed, so until you
take action, it trusts no one.

It isn't immediately obvious where to get information from Google
about the certificates Gmail will present, so I tried this:

  $ openssl s_client -connect smtp.gmail.com:465
  CONNECTED(0003)
  depth=1 C = US, O = Google Inc, CN = Google Internet Authority
  verify error:num=20:unable to get local issuer certificate
  verify return:0
  ---
  Certificate chain
   0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com
 i:/C=US/O=Google Inc/CN=Google Internet Authority
   1 s:/C=US/O=Google Inc/CN=Google Internet Authority
 i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority
  ---

So:  you need to either disable certificate validation (not
recommended), or provide a trust store containing at least a
certificate for "/C=US/O=Equifax/OU=Equifax Secure Certificate Authority".
You should be able to get that cert. from Equifax's web site if you don't
have a copy already.

[check]

Actually, it seems that Equifax roots are now held by GeoTrust.

  http://www.geotrust.com/resources/root-certificates/

Use the Java 'keytool' to create key/certificate/trust stores.

I think you should be able to use dspace.cfg:mail.extraproperties to
point to your trust store:

  mail.extraproperties = javax.net.ssl.trustStore=/path/to/trust/store

> I read online about *javax.mail.MessagingException* and I read about the
> following possibilities:
> 1. port 465 is closed. (I ran netsat -a to find the used ports but it was
> not listed there)

No, you'd need to verify that port 465 is open at the mail server's
host, which in this case is smtp.gmail.com.  As you can see from my
certificate check above, it is.

> 2. missing jar files in WEB-INF/lib. I downloaded the jar
> filesand
> put them in tomcat webapps/jspui/WEB-INF/lib

That is not the problem here, because javamail made a connection to
Gmail so clearly the javamail JAR is present.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] psql Login Problem

2013-05-07 Thread helix84
On Tue, May 7, 2013 at 7:38 AM, Pradip Patel  wrote:
> and Postgresql (9.0 folder with data folder)

What do you actually have? What is the contents of that directory?

Do you have backups in .sql format made e.g. by pg_dump?


> we get the screen of dspace and structure we designed but we do not find any 
> data in that DSpace

Do you mean your structure of communities and collections? Because
that's also data stored in database, along with items and metadata.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] SMTP Configuration problem (javax.mail.MessagingException)

2013-05-07 Thread helix84
On Tue, May 7, 2013 at 8:56 AM, Divya Gandhi  wrote:
> I did netstat -a| find "465" . This port "465" is infact not listening. How
> do I approach the problem now? Is there any other way that might allow me to
> use gmail as admin or do I abandon it completely and try some other sever
> (like my institute's smtp server)?

Port 465 is not supposed to be listening on your machine if you're
using the Gmail SMTP server (it's listening on the Gmail server).

> 2. missing jar files in WEB-INF/lib. I downloaded the jar files and put them 
> in tomcat webapps/jspui/WEB-INF/lib

This shouldn't be necessary, dspace already contains the appropriate jar:
[dspace]/lib/mail-1.4.jar
[dspace]/webapps/jspui/WEB-INF/lib/mail-1.4.jar


Hilton's advice on checking whether gmail's port 465 is blocked from
your network sounds reasonable.
What is the output of the following command from your dspace machine?

telnet smtp.gmail.com:465


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Batch import

2013-05-07 Thread Hilton Gibson
This is a good starter:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Asset_Import_and_Export



On 7 May 2013 09:48, jayachandra B  wrote:

> Hi can any one tell me how to do batch import in dspace 1.8.2
>
> --
> Regards
> Jayachandra
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Aggressive XMLUI cache

2013-05-07 Thread Alan Orth

Peter,

Unfortunately I haven't found a pattern.  It seems quite random, 
basically during random clicking around our site.  My test was to go 
visit several collections in communities which use custom XMLUI themes, 
and by a few collections into this exercise I'd see mismatched elements 
(CSS from one theme, banner from another!).


Regarding load/memory.  I haven't find that our server (development or 
production) is using more memory than before.  Also, it seems to be just 
as snappy as it ever was (if it ever was snappy!).  It should be noted 
that since I've ruled out client-side caching as causing this problem, 
I've encouraged a bit more aggressive client-side caching via 
mod_headers[1], so that will help reduce requests for static content.  
I'll have to keep an eye on it to see if load from dynamic pages increases.


Regards,

Alan

[1] 
https://gist.github.com/alanorth/5530986/raw/911457283ce9a4acacdbdf86edd7b65fe2db4753/gistfile1.txt


On 04/29/2013 07:03 PM, Peter Dietz wrote:

Hi Alan,

Disabling cache all-together was too high of a performance cost for 
us. Depending on your usage, you might be fine though.


If you can narrow your problems/grievances with 
incorrectly-cached-pages to a number of certain activities / 
use-cases, then it is worth it to debug those, and find problems in 
the cache logic.


i.e. for the recent-submissions the code had a bug where it didn't 
nullify the validity of the object, so cocoon assumed that it could 
continue to present the cache. Adding some code to nullify the 
validity upon changes, made the caching problem act how we intended it.


Peter Dietz


On Mon, Apr 29, 2013 at 8:17 AM, Bram Luyten > wrote:


Hi Alan,

great to hear that disabling the pipeline cache did not
substantially increase your memory footprint in development.
Did you see the same on production?

best regards,

Bram


-- 
logo

*Bram Luyten*/@mire/
/2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010/
/Esperantolaan 4, Heverlee 3001, Belgium/
www.atmire.com






On Sat, Apr 20, 2013 at 4:51 PM, Alan Orth mailto:alan.o...@gmail.com>> wrote:

Hi,

So for now I *seem* to have found a work around: setting the
pipeline to "noncaching".  I found the hint referenced in Jira
DS-298, and have modified my code[1] to use the noncaching
pipeline type.

It's been working on my development instance for a few hours
now, and I've been refreshing quite a bit, browsing a number
of other themes, etc, and still no cache corruption persisting
across this particular theme which was so often affected before.

Fingers crossed!

[1] https://gist.github.com/alanorth/5426188


On Fri, Apr 19, 2013 at 8:36 PM, Alan Orth
mailto:alan.o...@gmail.com>> wrote:

All,

I've been battling with overly-aggressive XMLUI caching ever
since version 1.7.  We use DSpace 3.1 with 14 different XMLUI
themes, and after a fresh restart it only takes around 5
minutes before themes start getting jumbled between
communities.  1.8 introduced the ability to clear the Cocoon
Cache from the Control Panel, but that only solves the
problem temporarily.

I see a few XMLUI caching issues on JIRA, but they look to be
only slightly related:

  * https://jira.duraspace.org/browse/DS-298
  * https://jira.duraspace.org/browse/DS-871

Client-side caching is expressly prohibited via mod_headers
in our httpd reverse proxy, so I'm positive it's not a
browser issue.

Can anyone shed insight on this?

Adios,

-- 
Alan Orth

alan.o...@gmail.com  
http://alaninkenya.org
http://mjanja.co.ke
"I have always wished for my computer to be as easy to use as my telephone; 
my wish has come true because I can no longer figure out how to use my telephone." 
-Bjarne Stroustrup, inventor of C++



--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs
for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free
account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/disp

[Dspace-tech] Batch import

2013-05-07 Thread jayachandra B
Hi can any one tell me how to do batch import in dspace 1.8.2

-- 
Regards
Jayachandra
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette