Re: [Dspace-tech] Activate Discovery in Dspace 3.2

2013-11-26 Thread Oscar Sanchez Gomez
Hi all,
Thanks a lot to all. At last I could configure discovery. Someone should change 
the DSpace manual to adjust the installation instructions that are leading to 
error:  Section 6.8.3 "Enabling Discovery" step 3, that specify the following:

3. Check that the port is correct for solr.search.server in 
config/modules/discovery.cfg
If all of your traffic runs over port 80, then you need to remove the port from 
the URL

# Search Indexing #
solr.search.server = http://localhost/solr/search


Best regards,

Ing. Oscar Sánchez G., MAE
Profesional en TI
Biblioteca José Figueres Ferrer
Instituto Tecnológico de Costa Rica
I  Tel: 2550-2135
   Fax: 2591-4820
F  Apdo Postal:  159-7050

-Mensaje original-
De: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] En nombre de helix84
Enviado el: martes, 26 de noviembre de 2013 02:52 a.m.
Para: Oscar Sanchez Gomez
CC: DSpace-tech@lists.sourceforge.net
Asunto: Re: [Dspace-tech] Activate Discovery in Dspace 3.2

Hi Oscar,

you mentioned solr.search.server, but in DSpace 3.x the property is only called 
search.server and is located in [dspace]/config/modules/discovery.cfg. If 
you're running Tomcat on port 8080, its correct value should be 
http://localhost:8080/solr/search

Also check similar Solr URLs in
[dspace]/config/modules/solr-statistics.cfg and [dspace]/config/modules/oai.cfg 
if you use those, but the one above is used in Discovery.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/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] Activate Discovery in Dspace 3.2

2013-11-26 Thread helix84
Hi Oscar,

you mentioned solr.search.server, but in DSpace 3.x the property is
only called search.server and is located in
[dspace]/config/modules/discovery.cfg. If you're running Tomcat on
port 8080, its correct value should be
http://localhost:8080/solr/search

Also check similar Solr URLs in
[dspace]/config/modules/solr-statistics.cfg and
[dspace]/config/modules/oai.cfg if you use those, but the one above is
used in Discovery.


Regards,
~~helix84

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

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Activate Discovery in Dspace 3.2

2013-11-25 Thread Hilton Gibson
Hi Oscar

This may help you debug:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery
It is based on DSpace 1.8.2 on Ubuntu 10.04 LTS.

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://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 26 November 2013 04:11, Oscar Sanchez Gomez  wrote:

>  Hi all,
>
> I am having problems to run discovery in Dspace 3.2. I follow the
> instructions from Dspace Manual, review all the parameters and
> configuration files and all looks right, but when I run the command dspace
> update-discovery-index a null exception raise. Tomcat7 and dspace 3.2 run
> under same user and tomcat is in port 8080, same as solr.search.server. Can
> anybody help me?
>
>
>
> [dspace@bibliorep bin]$ ./dspace update-discovery-index -f
>
> INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
> DSpaceKernel:org.dspace:name=c6856ebf-aada-41f1-9bfd-0251d919d7a6,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
>
> INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
> file:/opt/dspace/config/dspace.cfg
>
> INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
> configuration (log.init.config)
>
> INFO [main] (ConfigurationManager.java:1224) - Loading:
> /opt/dspace/config/log4j.properties
>
> Exception: null
>
> org.dspace.discovery.SearchServiceException
>
> 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:606)
>
> at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
>
> Caused by: java.net.MalformedURLException
>
> at java.net.URL.(URL.java:619)
>
> at java.net.URL.(URL.java:482)
>
> at java.net.URL.(URL.java:431)
>
> at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.(CommonsHttpSolrServer.java:146)
>
> at
> org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:99)
>
> at
> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384)
>
> ... 6 more
>
> Caused by: java.lang.NullPointerException
>
> at java.net.URL.(URL.java:524)
>
> ... 11 more
>
> [
>
>
>
> Thanks to all,
>
>
>
> Ing. Oscar Sánchez G., MAE
>
> *Profesional en TI*
>
> *Biblioteca José Figueres Ferrer*
>
> *Instituto Tecnológico de Costa Rica*
>
> *(*  *Tel: 2550-2135*
>
> *7*   *Fax: 2591-4820*
>
> *+*  *Apdo Postal:  159-7050*
>
>
>
>
> --
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up
> now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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
>
--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Activate Discovery in Dspace 3.2

2013-11-25 Thread Oscar Sanchez Gomez
Hi all,
I am having problems to run discovery in Dspace 3.2. I follow the instructions 
from Dspace Manual, review all the parameters and configuration files and all 
looks right, but when I run the command dspace update-discovery-index a null 
exception raise. Tomcat7 and dspace 3.2 run under same user and tomcat is in 
port 8080, same as solr.search.server. Can anybody help me?

[dspace@bibliorep bin]$ ./dspace update-discovery-index -f
INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: 
DSpaceKernel:org.dspace:name=c6856ebf-aada-41f1-9bfd-0251d919d7a6,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: 
file:/opt/dspace/config/dspace.cfg
INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log 
configuration (log.init.config)
INFO [main] (ConfigurationManager.java:1224) - Loading: 
/opt/dspace/config/log4j.properties
Exception: null
org.dspace.discovery.SearchServiceException
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:606)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: java.net.MalformedURLException
at java.net.URL.(URL.java:619)
at java.net.URL.(URL.java:482)
at java.net.URL.(URL.java:431)
at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.(CommonsHttpSolrServer.java:146)
at org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:99)
at 
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384)
... 6 more
Caused by: java.lang.NullPointerException
at java.net.URL.(URL.java:524)
... 11 more
[

Thanks to all,

Ing. Oscar Sánchez G., MAE
Profesional en TI
Biblioteca José Figueres Ferrer
Instituto Tecnológico de Costa Rica
*  Tel: 2550-2135
7   Fax: 2591-4820
*  Apdo Postal:  159-7050

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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