Re: [Dspace-tech] How can i move the view statisitcs link

2014-09-02 Thread Peter Sichilyango Tutu
Hi Hilton,

 

Thank you so much. I will make use of the link.

 

Cheers..

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Monday, September 01, 2014 3:03 PM
To: Peter Sichilyango Tutu
Cc: dspace-tech
Subject: Re: [Dspace-tech] How can i move the view statisitcs  link

 

Hi Peter

 

Perhaps this will help: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M1/Page_Structure#Create_custom_navigation_list

 

Cheers

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

http://scholar.sun.ac.za

http://bit.ly/goodir

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 1 September 2014 14:20, Peter Sichilyango Tutu petertu...@gmail.com wrote:

 

 

From: Peter Sichilyango Tutu [mailto:petertu...@gmail.com] 
Sent: Tuesday, July 29, 2014 8:35 PM
To: 'dspace-tech'
Subject: How to move the view statisitcs link

 

Dear all,

 

I am running dspace 3.2 xmlui. I have enabled the statistics and all is fine. 
However, I would like to move  “view statistics” link that appears on every 
items page, so that it is placed side by side with the  “show full item record 
link”. Any hints /ideas and workarounds?

 

 



 


--
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
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

 

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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 troubles

2014-07-29 Thread Peter Sichilyango Tutu
Dear all,

 

I am running  dspace 3.2 xmlui on centos 6 with apache tomacat
7.0.47.However, my tomcat takes about 5-10 minutes to startup every time I
restart  it using( ./shutdown.sh and ./startup.sh).Sometimes, it doesn't
startup at all.

What is the way round this problem?

 

Regards ,

 

Peter.

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
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] Gmail Authentication

2014-07-29 Thread Peter Sichilyango Tutu
HI Andy, looking at your email configs, I think you should try to  fill the 
mail.server.username variable with a complete username ,that includes the gmail 
domain name. I suggest you use  mail.server.username=usern...@gmail.com  or 
whatever address you might be using.

 

Hope that helps..

 

Regards,

 

Peter

 

From: Andy Kirkyla [mailto:a...@bridgit.com] 
Sent: Tuesday, July 29, 2014 6:00 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Gmail Authentication

 

Folks,

 

  I trust all is well. 

 

  I have been deploying DSpace 4.2 on unix and I am having issues 
integrating with our gmail server. 

 

   When I try to create to update a user I get the following error: 

 

javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:306)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at org.dspace.core.Email.send(Email.java:359)
at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:262)
at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:222)
at 
org.dspace.eperson.AccountManager.sendForgotPasswordInfo(AccountManager.java:87)
at 
org.dspace.app.xmlui.aspect.administrative.FlowEPersonUtils.processResetPassword(FlowEPersonUtils.java:234)
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:606)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
at 
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at 
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
at 
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at 
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160)
at org.mozilla.javascript.Context.call(Context.java:538)
at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1833) 

 at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1803) 

 

I have made the following changes to my build.properties file:

 

###

# EMAIL CONFIGURATION #

###

 

# SMTP mail server

mail.server = smtp.gmail.com

 

# SMTP mail server authentication username and password (if required)

# mail.server.username = myusername

# mail.server.password = mypassword

mail.server.username= andy 

mail.server.password= XXX

 

# SMTP mail server alternate port (defaults to 25)

 

 

 

mail.server.port = 465

 

I added the Gmail fix suggested on this post 
(http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/) to my 
dspace.cfg file:

 

mail.extraproperties = mail.smtp.socketFactory.port=465,\

   mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory,\

   mail.smtp.socketFactory.fallback=false

 

Is there anything else I need to do.

 

Thanks as always for your help.

 

Andy

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
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 troubles

2014-07-29 Thread Peter Sichilyango Tutu
Thanks Helix, will try that one out..

Regards,

Peter

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, July 29, 2014 12:42 PM
To: Peter Sichilyango Tutu
Cc: dspace-tech
Subject: Re: [Dspace-tech] tomcat troubles

Use tail -f to watch catalina.out (and then the latest dspace.log
file) during startup. You can find more info about log files here:

https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error


Regards,
~~helix84

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


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
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] How to move the view statisitcs link

2014-07-29 Thread Peter Sichilyango Tutu
Dear all,

 

I am running dspace 3.2 xmlui. I have enabled the statistics and all is
fine. However, I would like to move  view statistics link that appears on
every items page, so that it is placed side by side with the  show full
item record link. Any hints /ideas and workarounds?

 

 



 

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
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] Gmail Authentication

2014-07-29 Thread Peter Sichilyango Tutu
You are welcome Andy. I am glad it worked.

 

Regards,

 

Peter.

 

 

 

From: Andy Kirkyla [mailto:a...@bridgit.com] 
Sent: Tuesday, July 29, 2014 8:35 PM
To: Peter Sichilyango Tutu
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Gmail Authentication

 

Dear Peter,

 

   You sir are a genius.

 

That worked.

 

Thanks.

 

Andy

 

On Tue, Jul 29, 2014 at 1:50 PM, Peter Sichilyango Tutu petertu...@gmail.com 
wrote:

HI Andy, looking at your email configs, I think you should try to  fill the 
mail.server.username variable with a complete username ,that includes the gmail 
domain name. I suggest you use  mail.server.username=usern...@gmail.com  or 
whatever address you might be using.

 

Hope that helps..

 

Regards,

 

Peter

 

From: Andy Kirkyla [mailto:a...@bridgit.com] 
Sent: Tuesday, July 29, 2014 6:00 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Gmail Authentication

 

Folks,

 

  I trust all is well. 

 

  I have been deploying DSpace 4.2 on unix and I am having issues 
integrating with our gmail server. 

 

   When I try to create to update a user I get the following error: 

 

javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:306)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at org.dspace.core.Email.send(Email.java:359)
at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:262)
at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:222)
at 
org.dspace.eperson.AccountManager.sendForgotPasswordInfo(AccountManager.java:87)
at 
org.dspace.app.xmlui.aspect.administrative.FlowEPersonUtils.processResetPassword(FlowEPersonUtils.java:234)
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:606)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
at 
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at 
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
at 
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at 
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160)
at org.mozilla.javascript.Context.call(Context.java:538)
at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1833) 

 at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1803) 

 

I have made the following changes to my build.properties file:

 

###

# EMAIL CONFIGURATION #

###

 

# SMTP mail server

mail.server = smtp.gmail.com

 

# SMTP mail server authentication username and password (if required)

# mail.server.username = myusername

# mail.server.password = mypassword

mail.server.username= andy 

mail.server.password= XXX

 

# SMTP mail server alternate port (defaults to 25)

 

 

 

mail.server.port = 465

 

I added the Gmail fix suggested on this post 
(http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/) to my 
dspace.cfg file:

 

mail.extraproperties = mail.smtp.socketFactory.port=465,\

   mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory,\

   mail.smtp.socketFactory.fallback=false

 

Is there anything else I need to do.

 

Thanks as always for your help.

 

Andy

 

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
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] help to imbed images/icons in news-xmlui.xml

2014-07-24 Thread Peter Sichilyango Tutu
Hello Guys,

Please help me on this one. I want to embed images /icons in my
news-xmlui.xml document and link them to both internal and external
resources. I have  several images that I have placed in my images directory
and I would like to link them from there.I tried using the figure element
and linked to the images in my local images directory,but they are not being
displayed on the home page.But, when I change the source and link them to
external images(i.e images hosted on remote sites) they are rendered on the
home page.

I am using dspace 3.2 xmlui. Please help.

 

Regards,

 

Peter

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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] not work, ReIndexing Content for Browse or Search, upgrade 4.1

2014-07-15 Thread Peter Sichilyango Tutu
Have you tried to restart tomcat? Try to do that and see what happens.

 

From: Julio Pemau [mailto:julio.pe...@bib.csic.es] 
Sent: Tuesday, July 15, 2014 11:04 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] not work, ReIndexing Content for Browse or Search,
upgrade 4.1

 

We are upgrading from version 1.6.2 to version 4.1 of dspace. We use oracle
as the database,  dspace is installed on Linux and we use JSPUI.

We performed the update to version 4.1 successfully, but the faceted
searching and browsing functionalities don´t work. 

We have executed dspace index-discovery -b command and the process was
completed without error, but faceted search still not working.

Any tips? 

Thanks in advance

 

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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] Re XMLUI not updating with changes to discovery.xml

2014-06-04 Thread Peter Sichilyango Tutu
Hi Gibson,

Please help me.

I have enabled discovery in  dspace 3.1xmlui using these instructions: 
https://wiki.duraspace.org/display/DSDOC3x/Discovery

However,it turns out that discovery is only  is only accessible to logged in 
user and unavailable to the anonymous ones.I am interested in making it 
available to both authenticated and anonymous user. How do I go about it?

 

Regards,

 

Peter

 

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Wednesday, June 04, 2014 8:59 AM
To: Robin Harper
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

 

A further tip for those on POSIX systems (Linux), ALWAYS rename files by 
modifying the extension. For example: dspace.cfg becomes dspace.cfg-old.

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

http://scholar.sun.ac.za

http://bit.ly/goodir

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 4 June 2014 07:51, Robin Harper robin.har...@barnet.com.au wrote:

I solved this, but thought I would say how in case anyone else had the same 
problem.

 

First off, I worked out you can inspect what dspace is making of your 
configuration by using the following command:

 

bin/dspace dsrun 
org.dspace.discovery.configuration.DiscoveryConfigurationService - incredibly 
useful but so far as I can see undocumented feature.

 

From there it became apparent that it was not reading the discovery.xml file 
in config/spring/api

 

When I was grinding my teeth on this problem I had renamed one of my files 
An-old-discovery.xml and for some reason it was picking this one up.

 

Anyway renaming all the .xml files that were old versions to something like 
.xml.old meant the correct file was picked up. bin/dspace index-discovery -b 
and restart tomcat and it was working.

 

A little more digging and an-old.xml ban-old.xml and zan-old.xml and 
zanoldandverylongfilename.xml all got picked up before discovery.xml, even if I 
“touched” discovery.xml after creating the other files. So I have no idea why, 
but don’t care. Undocumented feature - don’t have any valid discovery.xml files 
ending with .xml in the config/spring/api directory!

 

Robin

 


 I have been updating discovery.xml, but for some reason recently when I 
 update it, re-index (index-discovery -b) and restart tomcat, the changes are 
 not reflected in the xmlui web app. Even a machine restart isn't helping.

 

 

 


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
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

 

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
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] Re XMLUI not updating with changes to discovery.xml

2014-06-04 Thread Peter Sichilyango Tutu
Dear Hilton,

 

Sorry, my bad. I am actually running dspace xmlui 3.2 and I did go through the 
whole entire installation process. Discovery is working but the trouble is that 
it does not display for anonymous users.Is there a  parameter in some  
configuration file somewhere that I have to change?or it can be done via the 
web interface? 

 

Please help.

 

Regards,

 

Peter

 

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Wednesday, June 04, 2014 11:21 AM
To: Peter Sichilyango Tutu
Cc: Robin Harper; dspace-tech
Subject: Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

 

Hi Peter

 

Firstly, will you be able to upgrade to DSpace 3.2?

Secondly, please look at: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery for help tips.

 

Cheers

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

http://scholar.sun.ac.za

http://bit.ly/goodir

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 4 June 2014 11:05, Peter Sichilyango Tutu petertu...@gmail.com wrote:

Hi Gibson,

Please help me.

I have enabled discovery in  dspace 3.1xmlui using these instructions: 
https://wiki.duraspace.org/display/DSDOC3x/Discovery

However,it turns out that discovery is only  is only accessible to logged in 
user and unavailable to the anonymous ones.I am interested in making it 
available to both authenticated and anonymous user. How do I go about it?

 

Regards,

 

Peter

 

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Wednesday, June 04, 2014 8:59 AM
To: Robin Harper
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

 

A further tip for those on POSIX systems (Linux), ALWAYS rename files by 
modifying the extension. For example: dspace.cfg becomes dspace.cfg-old.

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 tel:%2B27%2021%20808%204100  | Cell: +27 84 646 4758 
tel:%2B27%2084%20646%204758 

http://scholar.sun.ac.za

http://bit.ly/goodir

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 4 June 2014 07:51, Robin Harper robin.har...@barnet.com.au wrote:

I solved this, but thought I would say how in case anyone else had the same 
problem.

 

First off, I worked out you can inspect what dspace is making of your 
configuration by using the following command:

 

bin/dspace dsrun 
org.dspace.discovery.configuration.DiscoveryConfigurationService - incredibly 
useful but so far as I can see undocumented feature.

 

From there it became apparent that it was not reading the discovery.xml file 
in config/spring/api

 

When I was grinding my teeth on this problem I had renamed one of my files 
An-old-discovery.xml and for some reason it was picking this one up.

 

Anyway renaming all the .xml files that were old versions to something like 
.xml.old meant the correct file was picked up. bin/dspace index-discovery -b 
and restart tomcat and it was working.

 

A little more digging and an-old.xml ban-old.xml and zan-old.xml and 
zanoldandverylongfilename.xml all got picked up before discovery.xml, even if I 
“touched” discovery.xml after creating the other files. So I have no idea why, 
but don’t care. Undocumented feature - don’t have any valid discovery.xml files 
ending with .xml in the config/spring/api directory!

 

Robin

 


 I have been updating discovery.xml, but for some reason recently when I 
 update it, re-index (index-discovery -b) and restart tomcat, the changes are 
 not reflected in the xmlui web app. Even a machine restart isn't helping.

 

 

 


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
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

 

 

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https

Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

2014-06-04 Thread Peter Sichilyango Tutu
Dear Hilton,

 

Thanks so much , will try to figure out.

 

Cheers…

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Wednesday, June 04, 2014 11:59 AM
To: Peter Sichilyango Tutu
Cc: Robin Harper; dspace-tech
Subject: Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

 

Hi Peter

 

Not that I know of, perhaps someone else on the list has better help.

 

Cheers

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

http://scholar.sun.ac.za

http://bit.ly/goodir

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 4 June 2014 11:50, Peter Sichilyango Tutu petertu...@gmail.com wrote:

Dear Hilton,

 

Sorry, my bad. I am actually running dspace xmlui 3.2 and I did go through the 
whole entire installation process. Discovery is working but the trouble is that 
it does not display for anonymous users.Is there a  parameter in some  
configuration file somewhere that I have to change?or it can be done via the 
web interface? 

 

Please help.

 

Regards,

 

Peter

 

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Wednesday, June 04, 2014 11:21 AM
To: Peter Sichilyango Tutu
Cc: Robin Harper; dspace-tech
Subject: Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

 

Hi Peter

 

Firstly, will you be able to upgrade to DSpace 3.2?

Secondly, please look at: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery for help tips.

 

Cheers

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 tel:%2B27%2021%20808%204100  | Cell: +27 84 646 4758 
tel:%2B27%2084%20646%204758 

http://scholar.sun.ac.za

http://bit.ly/goodir

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 4 June 2014 11:05, Peter Sichilyango Tutu petertu...@gmail.com wrote:

Hi Gibson,

Please help me.

I have enabled discovery in  dspace 3.1xmlui using these instructions: 
https://wiki.duraspace.org/display/DSDOC3x/Discovery

However,it turns out that discovery is only  is only accessible to logged in 
user and unavailable to the anonymous ones.I am interested in making it 
available to both authenticated and anonymous user. How do I go about it?

 

Regards,

 

Peter

 

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Wednesday, June 04, 2014 8:59 AM
To: Robin Harper
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

 

A further tip for those on POSIX systems (Linux), ALWAYS rename files by 
modifying the extension. For example: dspace.cfg becomes dspace.cfg-old.

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 tel:%2B27%2021%20808%204100  | Cell: +27 84 646 4758 
tel:%2B27%2084%20646%204758 

http://scholar.sun.ac.za

http://bit.ly/goodir

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 4 June 2014 07:51, Robin Harper robin.har...@barnet.com.au wrote:

I solved this, but thought I would say how in case anyone else had the same 
problem.

 

First off, I worked out you can inspect what dspace is making of your 
configuration by using the following command:

 

bin/dspace dsrun 
org.dspace.discovery.configuration.DiscoveryConfigurationService - incredibly 
useful but so far as I can see undocumented feature.

 

From there it became apparent that it was not reading the discovery.xml file 
in config/spring/api

 

When I was grinding my teeth on this problem I had renamed one of my files 
An-old-discovery.xml and for some reason it was picking this one up.

 

Anyway renaming all the .xml files that were old versions to something like 
.xml.old meant the correct file was picked up. bin/dspace index-discovery -b 
and restart tomcat and it was working.

 

A little more digging and an-old.xml ban-old.xml and zan-old.xml and 
zanoldandverylongfilename.xml all got picked up before discovery.xml, even if I 
“touched” discovery.xml after creating the other files. So I have no idea why, 
but don’t care. Undocumented feature - don’t have any valid discovery.xml files 
ending with .xml in the config/spring/api directory!

 

Robin

 


 I have been updating discovery.xml, but for some reason recently when I 
 update it, re-index (index-discovery -b) and restart tomcat, the changes are 
 not reflected in the xmlui web app. Even a machine restart isn't helping.

 

 

 


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications

Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

2014-06-04 Thread Peter Sichilyango Tutu
hi Hilton,

I managed to figure it it by commenting out the bean and alias in 
[dspace.dir]/config/spring/api/discovery.xml

In case anybody encounter a similar challenge, just comment out  these lines:

bean class=org.dspace.discovery.SolrServiceResourceRestrictionPlugin 
id=solrServiceResourceIndexPlugin/

 

alias name=solrServiceResourceIndexPlugin 
alias=org.dspace.discovery.SolrServiceResourceRestrictionP Plugin/

 

Cheers..

 

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Wednesday, June 04, 2014 11:59 AM
To: Peter Sichilyango Tutu
Cc: Robin Harper; dspace-tech
Subject: Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

 

Hi Peter

 

Not that I know of, perhaps someone else on the list has better help.

 

Cheers

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

http://scholar.sun.ac.za

http://bit.ly/goodir

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 4 June 2014 11:50, Peter Sichilyango Tutu petertu...@gmail.com wrote:

Dear Hilton,

 

Sorry, my bad. I am actually running dspace xmlui 3.2 and I did go through the 
whole entire installation process. Discovery is working but the trouble is that 
it does not display for anonymous users.Is there a  parameter in some  
configuration file somewhere that I have to change?or it can be done via the 
web interface? 

 

Please help.

 

Regards,

 

Peter

 

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Wednesday, June 04, 2014 11:21 AM
To: Peter Sichilyango Tutu
Cc: Robin Harper; dspace-tech
Subject: Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

 

Hi Peter

 

Firstly, will you be able to upgrade to DSpace 3.2?

Secondly, please look at: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery for help tips.

 

Cheers

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 tel:%2B27%2021%20808%204100  | Cell: +27 84 646 4758 
tel:%2B27%2084%20646%204758 

http://scholar.sun.ac.za

http://bit.ly/goodir

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 4 June 2014 11:05, Peter Sichilyango Tutu petertu...@gmail.com wrote:

Hi Gibson,

Please help me.

I have enabled discovery in  dspace 3.1xmlui using these instructions: 
https://wiki.duraspace.org/display/DSDOC3x/Discovery

However,it turns out that discovery is only  is only accessible to logged in 
user and unavailable to the anonymous ones.I am interested in making it 
available to both authenticated and anonymous user. How do I go about it?

 

Regards,

 

Peter

 

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: Wednesday, June 04, 2014 8:59 AM
To: Robin Harper
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Re XMLUI not updating with changes to discovery.xml

 

A further tip for those on POSIX systems (Linux), ALWAYS rename files by 
modifying the extension. For example: dspace.cfg becomes dspace.cfg-old.

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 tel:%2B27%2021%20808%204100  | Cell: +27 84 646 4758 
tel:%2B27%2084%20646%204758 

http://scholar.sun.ac.za

http://bit.ly/goodir

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 4 June 2014 07:51, Robin Harper robin.har...@barnet.com.au wrote:

I solved this, but thought I would say how in case anyone else had the same 
problem.

 

First off, I worked out you can inspect what dspace is making of your 
configuration by using the following command:

 

bin/dspace dsrun 
org.dspace.discovery.configuration.DiscoveryConfigurationService - incredibly 
useful but so far as I can see undocumented feature.

 

From there it became apparent that it was not reading the discovery.xml file 
in config/spring/api

 

When I was grinding my teeth on this problem I had renamed one of my files 
An-old-discovery.xml and for some reason it was picking this one up.

 

Anyway renaming all the .xml files that were old versions to something like 
.xml.old meant the correct file was picked up. bin/dspace index-discovery -b 
and restart tomcat and it was working.

 

A little more digging and an-old.xml ban-old.xml and zan-old.xml and 
zanoldandverylongfilename.xml all got picked up before discovery.xml, even if I 
“touched” discovery.xml after creating the other files. So I have no idea why, 
but don’t care. Undocumented feature - don’t have any valid discovery.xml files 
ending with .xml in the config/spring/api directory!

 

Robin

 


 I have been updating discovery.xml, but for some reason recently when I 
 update it, re

[Dspace-tech] How can one insert a hyperlink in the ds-header

2014-05-23 Thread Peter Sichilyango Tutu
Hi everyone,

I want to insert a hyperlink  to link to an external site in the header of
my dspace installation (XMLUI 3.x)

Can someone please give me a hint on how to go about it?

 

Best regards,

 

Peter

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
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] FW: dspace discovery configuration error

2014-05-07 Thread Peter Sichilyango Tutu
 

 

From: Peter Sichilyango Tutu [mailto:petertu...@gmail.com] 
Sent: Friday, May 02, 2014 1:18 PM
To: 'DSpace-tech@lists.sourceforge.net'
Subject: dspace discovery configuration error

 

Dear all,

Somebody please help me.I am trying to enable discovery on Dspace 3.x xmlui
using the following procedure found at
https://wiki.duraspace.org/display/DSDOC3x/Discovery but, whenever  run
dspace  update-discovery-index ,I get the following error. Is there a way of
going around this error?

 

 

dspace update-discovery-index

INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=cd0b7057-b77d-4799-9bbd-0727d4fcd4f6,type=DSpac
eKernel: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:39
)

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

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

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:1wt=javabinversion=2

at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
olrServer.java:435)

at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
olrServer.java:244)

at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:
89)

... 9 more

 

Regards,

 

Peter Sichilyango Tutu

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
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] dspace discovery configuration error

2014-05-02 Thread Peter Sichilyango Tutu
Dear all,

Somebody please help me.I am trying to enable discovery on Dspace 3.x xmlui
using the following procedure found at
https://wiki.duraspace.org/display/DSDOC3x/Discovery but, whenever  run
dspace  update-discovery-index ,I get the following error. Is there a way of
going around this error?

 

 

dspace update-discovery-index

INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=cd0b7057-b77d-4799-9bbd-0727d4fcd4f6,type=DSpac
eKernel: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:39
)

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

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

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:1wt=javabinversion=2

at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
olrServer.java:435)

at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
olrServer.java:244)

at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:
89)

... 9 more

 

Regards,

 

Peter Sichilyango Tutu

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
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