Re: [Dspace-tech] Dspace 4.2 Issue

2015-06-16 Thread helix84
In [dspace]/config/modules/discovery.cfg, change search.server to
http://localhost/solr/

Also change these other URLs to avoid problems with OAI and Solr statistics:
https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-ErrorsconnectingtoSolr

Then restart Tomcat.


Regards,
~~helix84

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



On Tue, Jun 16, 2015 at 2:02 PM, Wasefer Zaman 
wasefer.za...@simplexinfra.com wrote:

  Please find the output of the command wget  http://localhost:8080/solr/;




 With regards,
 Wasefer Zaman
 [image: Inactive hide details for helix84 ---06/16/2015 04:52:56 PM---On
 Tue, Jun 16, 2015 at 12:24 PM, Wasefer Zaman Wasefer.Zaman@si] helix84
 ---06/16/2015 04:52:56 PM---On Tue, Jun 16, 2015 at 12:24 PM, Wasefer Zaman
 wasefer.za...@simplexinfra.com wrote:

 From: helix84 heli...@centrum.sk
 To: Wasefer Zaman wasefer.za...@simplexinfra.com
 Cc: dspace-tech dspace-tech@lists.sourceforge.net
 Date: 06/16/2015 04:52 PM
 Subject: Re: [Dspace-tech] Dspace 4.2 Issue
 --



 On Tue, Jun 16, 2015 at 12:24 PM, Wasefer Zaman
 wasefer.za...@simplexinfra.com wrote:
  Caused by: org.dspace.browse.BrowseException:
 org.dspace.discovery.SearchServiceException: Server refused connection at:
 http://localhost:8080/solr/search

 My initial assessent was correct, DSpace cannot reach Solr at
  http://localhost:8080/solr/search . Proceed as I described.


 Regards,
 ~~helix84

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


 --
 ___
 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 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] Dspace 4.2 Issue

2015-06-16 Thread helix84
On Tue, Jun 16, 2015 at 2:59 PM, Wasefer Zaman 
wasefer.za...@simplexinfra.com wrote:

 On clicking the 'Feedback' link, we are getting the following error.


Just like it says, when you enter the feedback page URL directly, this
error will be thrown. This is intentional in order to provide context to
you, the repository administrator.

Instead, access the feedback page from any other DSpace page by clicking on
the feedback link.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
___
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] Dspace 4.2 Issue

2015-06-16 Thread Wasefer Zaman
Thanks a lot. The problem has been solved.

With regards,
Wasefer Zaman

-helix84 heli...@centrum.sk wrote: -
To: Wasefer Zaman wasefer.za...@simplexinfra.com
From: helix84 heli...@centrum.sk
Date: 06/16/2015 05:47PM
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Dspace 4.2 Issue

In [dspace]/config/modules/discovery.cfg, change search.server to 
http://localhost/solr/

Also change these other URLs to avoid problems with OAI and Solr statistics:
https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-ErrorsconnectingtoSolr

Then restart Tomcat.


Regards,
~~helix84

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



On Tue, Jun 16, 2015 at 2:02 PM, Wasefer Zaman wasefer.za...@simplexinfra.com 
wrote:
Please find the output of the command wget  http://localhost:8080/solr/;




With regards,
Wasefer Zaman
 helix84 ---06/16/2015 04:52:56 PM---On Tue, Jun 16, 2015 at 12:24 PM, Wasefer 
Zaman wasefer.za...@simplexinfra.com wrote: 

From: helix84 heli...@centrum.sk
To: Wasefer Zaman wasefer.za...@simplexinfra.com 
Cc: dspace-tech dspace-tech@lists.sourceforge.net 
Date: 06/16/2015 04:52 PM 
Subject: Re: [Dspace-tech] Dspace 4.2 Issue



On Tue, Jun 16, 2015 at 12:24 PM, Wasefer Zaman
wasefer.za...@simplexinfra.com wrote:
         Caused by: org.dspace.browse.BrowseException: 
 org.dspace.discovery.SearchServiceException: Server refused connection at: 
 http://localhost:8080/solr/search 

My initial assessent was correct, DSpace cannot reach Solr at
http://localhost:8080/solr/search . Proceed as I described.


Regards,
~~helix84

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

--
___
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 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 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] Dspace 4.2 Issue

2015-06-16 Thread Wasefer Zaman
Please find the output of the command wget http://localhost:8080/solr/;




With regards,
Wasefer Zaman
helix84 ---06/16/2015 04:52:56 PM---On Tue, Jun 16, 2015 at 12:24 PM, Wasefer 
Zaman wasefer.za...@simplexinfra.com wrote:

From:   helix84 heli...@centrum.sk
To: Wasefer Zaman wasefer.za...@simplexinfra.com
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Date:   06/16/2015 04:52 PM
Subject:Re: [Dspace-tech] Dspace 4.2 Issue



On Tue, Jun 16, 2015 at 12:24 PM, Wasefer Zaman
wasefer.za...@simplexinfra.com wrote:
         Caused by: org.dspace.browse.BrowseException: 
 org.dspace.discovery.SearchServiceException: Server refused connection at: 
 http://localhost:8080/solr/search

My initial assessent was correct, DSpace cannot reach Solr at
http://localhost:8080/solr/search. Proceed as I described.


Regards,
~~helix84

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

--
___
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 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 4.2 Issue

2015-06-16 Thread Wasefer Zaman
Hi,

Whenever we click on the By Issue Date, Authors, Titles, Subjects menu under 
Browse from left side, we are getting the following error. Please help.


With regards,
Wasefer Zaman
--
___
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] Dspace 4.2 Issue

2015-06-16 Thread helix84
You should paste the text from Java full stacktrace [show] to confirm the
error.

My guess is that DSpace can't connect to Solr. To confirm this, run wget
http://localhost:8080/solr/; (assuming you're running Solr on port 8080) -
if you get anything else than a 200 OK response, there is a problem.

To run Solr, make sure its Context is defined as per installation
instructions and search.server in [dspace]/config/modules/discovery.cfg is
a working URL endpoint (the procedure shown above).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
___
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] Dspace 4.2 Issue

2015-06-16 Thread Wasefer Zaman
(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy76.startElement(Unknown Source)
at 
org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
at 
org.apache.cocoon.components.sax.AbstractXMLByteStreamInterpreter.parse(AbstractXMLByteStreamInterpreter.java:117)
at 
org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize(XMLByteStreamInterpreter.java:44)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:324)
... 248 more
Caused by: org.dspace.app.xmlui.utils.UIException: Unable to process browse
at 
org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse.getBrowseInfo(ConfigurableBrowse.java:851)
at 
org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse.addBody(ConfigurableBrowse.java:276)
at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
... 275 more
Caused by: org.dspace.browse.BrowseException: 
org.dspace.discovery.SearchServiceException: Server refused connection at: 
http://localhost:8080/solr/search
at 
org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:194)
at org.dspace.browse.SolrBrowseDAO.doCountQuery(SolrBrowseDAO.java:230)
at org.dspace.browse.BrowseEngine.getTotalResults(BrowseEngine.java:761)
at org.dspace.browse.BrowseEngine.browseByValue(BrowseEngine.java:450)
at org.dspace.browse.BrowseEngine.browse(BrowseEngine.java:94)
at 
org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse.getBrowseInfo(ConfigurableBrowse.java:825)
... 277 more
Caused by: org.dspace.discovery.SearchServiceException: Server refused 
connection at: http://localhost:8080/solr/search
at 
org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1587)
at 
org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:189)
... 282 more
Caused by: org.apache.solr.client.solrj.SolrServerException: Server refused 
connection at: http://localhost:8080/solr/search
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:428)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at 
org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1582)
... 283 more
Caused by: org.apache.http.conn.HttpHostConnectException: Connection to 
http://localhost:8080 refused
at 
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190)
at 
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at 
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:365)
... 287 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at 
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127)
at 
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
... 294 more
With regards,
Wasefer Zaman
-helix84 heli...@centrum.sk wrote: -
To: Wasefer Zaman wasefer.za...@simplexinfra.com
From: helix84 heli...@centrum.sk
Date: 06/16/2015 02:19PM
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Dspace 4.2 Issue

You should paste the text from Java full stacktrace [show] to confirm the 
error.

My guess is that DSpace can't connect to Solr. To confirm this, run wget 
http://localhost:8080/solr/; (assuming you're running Solr on port 8080) - if 
you get anything else than a 200 OK response

Re: [Dspace-tech] Dspace 4.2 Issue

2015-06-16 Thread helix84
On Tue, Jun 16, 2015 at 12:24 PM, Wasefer Zaman
wasefer.za...@simplexinfra.com wrote:
 Caused by: org.dspace.browse.BrowseException: 
 org.dspace.discovery.SearchServiceException: Server refused connection at: 
 http://localhost:8080/solr/search

My initial assessent was correct, DSpace cannot reach Solr at
http://localhost:8080/solr/search. Proceed as I described.


Regards,
~~helix84

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

--
___
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