Yes, in fact till now i am failing to get solution of the same on web. also tried to optimize the collection using command dspace index-discovery -o which sucessfully worked but dspace index-discovery is not working.
Today i tried to run the same command on the another installation but surprisingly that too showed the connection refused error... I implemented your suggestions but that worsen the things. After that even jspui was giving homepage with errors.... Any way, many thanks for your extensive help. If you find any solution of the same, please do forward me.... On Jun 24, 2016 3:43 PM, "Hayden Young" <[email protected]> wrote: > okay that's a very strange problem. Only other thing I can think of is to > explicitly set the port on the solr.xml config. > > Back up /path/to/dspace/solr/solr.xml > > Open /path/to/dspace/solr/solr.xml > > Change: > > <cores adminPath="/admin/cores"> > > to > > <cores adminPath="/admin/cores" hostPort="8082"> > > Restart tomcat and see if that fixes the connection refused issue (but the > fact that you can get reqults back via > http://localhost/solr/search/select?q=*:* makes me think that may do > nothing). > > Also from the look of your error logs it appears xmlui's not working due > to a config issue in your xmlui.xml tomcat7 context. > > On Friday, June 24, 2016 at 4:10:05 PM UTC+8, Pawan Agrawal wrote: >> >> Yes, it is 8082 >> >> On Fri, Jun 24, 2016 at 10:48 AM, Hayden Young <[email protected]> >> wrote: >> >>> Is your port address correct? 8082? Not 8080? >>> >>> >>> On Friday, June 24, 2016 at 11:31:24 AM UTC+8, Pawan Agrawal wrote: >>> >>>> >>>> Thanks for the reply. >>>> >>>> Yes, I have records in dspace. In dsapce home I am able to see the >>>> communities, and name of author, articles written by them. However, I am >>>> not able to access pdf of the same. assetstore contains all pdf. on running >>>> command dsapce/bin/dspace index-discovery I received following error. >>>> >>>> Exception: Server refused connection at: >>>> http://localhost:8082/solr/search >>>> >>>> org.dspace.discovery.SearchServiceException: Server refused connection >>>> at: http: >>>> >>>> //localhost:8082/solr/search >>>> >>>> at >>>> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java: >>>> >>>> 507) >>>> >>>> at org.dspace.discovery.IndexClient.main(IndexClient.java:126) >>>> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) >>>> >>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown >>>> Source) >>>> >>>> at java.lang.reflect.Method.invoke(Unknown Source) >>>> >>>> at >>>> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.j >>>> >>>> ava:226) >>>> >>>> at >>>> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78) >>>> >>>> Caused by: org.apache.solr.client.solrj.SolrServerException: Server >>>> refused conn >>>> >>>> ection at: http://localhost:8082/solr/search >>>> >>>> at >>>> org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSo >>>> >>>> lrServer.java:559) >>>> >>>> at >>>> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServ >>>> >>>> er.java:210) >>>> >>>> at >>>> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServ >>>> >>>> er.java:206) >>>> >>>> at >>>> org.apache.solr.client.solrj.request.QueryRequest.process(QueryReques >>>> >>>> t.java:91) >>>> >>>> at >>>> org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301) >>>> >>>> at >>>> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java: >>>> >>>> 477) >>>> >>>> ... 7 more >>>> >>>> Caused by: java.net.ConnectException: Connection refused: connect >>>> >>>> at java.net.DualStackPlainSocketImpl.connect0(Native Method) >>>> >>>> at java.net.DualStackPlainSocketImpl.socketConnect(Unknown >>>> Source) >>>> >>>> at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) >>>> >>>> at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown >>>> Source) >>>> >>>> at java.net.AbstractPlainSocketImpl.connect(Unknown Source) >>>> >>>> at java.net.PlainSocketImpl.connect(Unknown Source) >>>> >>>> at java.net.SocksSocketImpl.connect(Unknown Source) >>>> >>>> at java.net.Socket.connect(Unknown Source) >>>> >>>> at >>>> org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSoc >>>> >>>> ketFactory.java:117) >>>> >>>> at >>>> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnect >>>> >>>> ion(DefaultClientConnectionOperator.java:177) >>>> >>>> at >>>> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedCli >>>> >>>> entConnectionImpl.java:304) >>>> >>>> at >>>> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(Default >>>> >>>> RequestDirector.java:611) >>>> >>>> at >>>> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultReq >>>> >>>> uestDirector.java:446) >>>> >>>> at >>>> org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttp >>>> >>>> Client.java:863) >>>> >>>> at >>>> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp >>>> >>>> Client.java:82) >>>> >>>> at >>>> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp >>>> >>>> Client.java:106) >>>> >>>> at >>>> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp >>>> >>>> Client.java:57) >>>> >>>> at >>>> org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSo >>>> >>>> lrServer.java:448) >>>> >>>> ... 12 more >>>> >>>> >>>> On second query regarding xmlui. >>>> >>>> >>>> I have deployed the xmlui folder to tomcat/webapps/ successfully still >>>> i am failing to access it >>>> >>>> >>>> tomcat logs file is attached herewith >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Thu, Jun 23, 2016 at 9:27 PM, Hayden Young <[email protected]> >>>> wrote: >>>> >>>>> Your solr server looks to be running. what you've pasted below shows >>>>> it is correctly querying but you have not indexed any records. If you have >>>>> records in dspace run from the command line: >>>>> >>>>> # /path/to/your/dspace/bin/dspace index-discovery >>>>> >>>>> xmlui is not accessible (It is returning a white screen) >>>>> >>>>> Have you deployed / configured xmlui in your tomcat? >>>>> >>>>> Also, check both the Tomcat logs and the dspace logs (dspace logs >>>>> under /path/to/your/dspace/log >>>>> >>>>> Good luck >>>>> >>>>> >>>>> Hayden >>>>> >>>>> >>>>> On 23/06/16 22:14, Dr. Pawan Agrawal wrote: >>>>> >>>>> on accessing >>>>> http://localhost:8082/solr/#/ Solr is accessible >>>>> >>>>> On accessing >>>>> http://localhost:8082/solr/search/ Error 404 is coming >>>>> >>>>> on accessing >>>>> http://localhost:8082/solr/search/select?q=*.* >>>>> Following error is coming >>>>> This XML file does not appear to have any style information associated >>>>> with it. The document tree is shown below. >>>>> <response> >>>>> <lst name="responseHeader"> >>>>> <int name="status">0</int> >>>>> <int name="QTime">21</int> >>>>> <lst name="params"> >>>>> <str name="q">*.*</str> >>>>> </lst> >>>>> </lst> >>>>> <result name="response" numFound="0" start="0"/> >>>>> </response> >>>>> >>>>> More Information >>>>> >>>>> It is taking about a minute to reach on the home page of jspui. >>>>> >>>>> xmlui is not accessible (It is returning a white screen) >>>>> >>>>> I have upgraded to version 5.5 from version 4.2. >>>>> >>>>> >>>>> >>>>> On Thu, Jun 23, 2016 at 6:56 PM, Hayden Young <[email protected] >>>>> > wrote: >>>>> >>>>>> What do you get when you try and access: >>>>>> >>>>>> http://localhost:8080/solr/search/select?q=*:* >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 23/06/16 18:27, Dr. Pawan Agrawal wrote: >>>>>> >>>>>> I am facing the same problem. <HTTP://localhost:8080/solr> >>>>>> HTTP://localhost:8080/solr is accessible.... >>>>>> On Jun 23, 2016 1:45 PM, "Hayden Young" <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi >>>>>>> >>>>>>> Are you able to ping your solr server? Try using lynx browser on the >>>>>>> server to browse to the solr server: >>>>>>> >>>>>>> # lynx http://localhost:8080/solr/search >>>>>>> >>>>>>> or try wget >>>>>>> >>>>>>> # wget http://localhost:8080/solr/search >>>>>>> >>>>>>> and see what error gets thrown to the screen. >>>>>>> >>>>>>> I'm guessing localhost resolves because jspui and xmlui are >>>>>>> accessible. >>>>>>> >>>>>>> On Tuesday, June 14, 2016 at 5:42:19 PM UTC+8, manu wrote: >>>>>>>> >>>>>>>> Hello all... >>>>>>>> >>>>>>>> I am using dspace 5.2 on debain server and i ave done database >>>>>>>> migration from 3.2 to 5.2. >>>>>>>> >>>>>>>> After data migration pdf not coming in item window, It shows >>>>>>>> "INTERNAL SYSTEM ERROR" >>>>>>>> >>>>>>>> Then i tried discovery tools; >>>>>>>> /dspace/bin/dspace index-discovery -b >>>>>>>> /dspace/bin/dspace filter-media >>>>>>>> /dspace/bin/dspace index-discovery >>>>>>>> /dspace/bin/dspace index-discovery -o >>>>>>>> >>>>>>>> While using 3 rd command i got this error: *Exception: Server >>>>>>>> refused connection at: http://localhost:8080/solr/search >>>>>>>> <http://localhost:8080/solr/search> >>>>>>>> org.dspace.discovery.SearchServiceException: Server refused connection >>>>>>>> at: >>>>>>>> <http://localhost:8080/solr/search>http://localhost:8080/solr/search >>>>>>>> <http://localhost:8080/solr/search>* >>>>>>>> >>>>>>>> http://localhost:8080/jspui n xmlui working but >>>>>>>> <http://localhost:8080/solr/search> >>>>>>>> http://localhost:8080/solr/search not working. I tried this to >>>>>>>> tomcat; >>>>>>>> >>>>>>>> <Context path="/xmlui" docBase="/home/user/dspace/webapps/xmlui" >>>>>>>> allowLinking="true"/> >>>>>>>> <Context path="/jspui" docBase="/home/user/dspace/webapps/jspui" >>>>>>>> allowLinking="true"/> >>>>>>>> <Context path="/solr" docBase="/home/user/dspace/webapps/solr" >>>>>>>> allowLinking="true"/> >>>>>>>> <Context path="/sword" docBase="/home/user/dspace/webapps/sword" >>>>>>>> allowLinking="true"/> >>>>>>>> <Context path="/oai" docBase="/home/user/dspace/webapps/oai" >>>>>>>> allowLinking="true"/> >>>>>>>> >>>>>>>> but still the problems exist...please help me to solve this. >>>>>>>> >>>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "DSpace Technical Support" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> >>>>>>> Visit this group at https://groups.google.com/group/dspace-tech. >>>>>>> For more options, visit <https://groups.google.com/d/optout> >>>>>>> https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Thanks and Regards >>>>> *-------* >>>>> Join hands, Join eLibrarian >>>>> >>>>> *https://sites.google.com/site/theelibrarians/ >>>>> <https://sites.google.com/site/theelibrarians/> * >>>>> *-------* >>>>> *Dr. Pawan R. Agrawal* >>>>> Registered freelancer: NewGenLib >>>>> Academic Councellor: IGNOU and BAOU >>>>> Assistant Librarian >>>>> Learning Resource Centre (Library) >>>>> Dr. APJ Abdul Kalam Government College >>>>> (Silvassa College, Govt. Arts, Commerce and Science College) >>>>> Silvassa , U.T. of Dadra and Nagar Haveli >>>>> INDIA- 396230 >>>>> Ph. 9376135580, 9904828387 >>>>> <http://www.pragrawal.wordpress.com>http://www.pragrawal.wordpress.com >>>>> Skype ID: pawanagrawal4u4u >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Thanks and Regards >>>> *-------* >>>> Join hands, Join eLibrarian >>>> >>>> *https://sites.google.com/site/theelibrarians/ >>>> <https://sites.google.com/site/theelibrarians/>* >>>> *-------* >>>> *Dr. Pawan R. Agrawal* >>>> Registered freelancer: NewGenLib >>>> Academic Councellor: IGNOU and BAOU >>>> Assistant Librarian >>>> Learning Resource Centre (Library) >>>> Dr. APJ Abdul Kalam Government College >>>> (Silvassa College, Govt. Arts, Commerce and Science College) >>>> Silvassa , U.T. of Dadra and Nagar Haveli >>>> INDIA- 396230 >>>> Ph. 9376135580, 9904828387 >>>> http://www.pragrawal.wordpress.com >>>> Skype ID: pawanagrawal4u4u >>>> >>>> >>>> >>>> -- >>>> Thanks and Regards >>>> *-------* >>>> Join hands, Join eLibrarian >>>> >>>> *https://sites.google.com/site/theelibrarians/ >>>> <https://sites.google.com/site/theelibrarians/>* >>>> *-------* >>>> *Dr. Pawan R. Agrawal* >>>> Registered freelancer: NewGenLib >>>> Academic Councellor: IGNOU and BAOU >>>> Assistant Librarian >>>> Learning Resource Centre (Library) >>>> Dr. APJ Abdul Kalam Government College >>>> (Silvassa College, Govt. Arts, Commerce and Science College) >>>> Silvassa , U.T. of Dadra and Nagar Haveli >>>> INDIA- 396230 >>>> Ph. 9376135580, 9904828387 >>>> http://www.pragrawal.wordpress.com >>>> Skype ID: pawanagrawal4u4u >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "DSpace Technical Support" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/dspace-tech. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Thanks and Regards >> *-------* >> Join hands, Join eLibrarian >> >> *https://sites.google.com/site/theelibrarians/ >> <https://sites.google.com/site/theelibrarians/>* >> *-------* >> *Dr. Pawan R. Agrawal* >> Registered freelancer: NewGenLib >> Academic Councellor: IGNOU and BAOU >> Assistant Librarian >> Learning Resource Centre (Library) >> Dr. APJ Abdul Kalam Government College >> (Silvassa College, Govt. Arts, Commerce and Science College) >> Silvassa , U.T. of Dadra and Nagar Haveli >> INDIA- 396230 >> Ph. 9376135580, 9904828387 >> http://www.pragrawal.wordpress.com >> Skype ID: pawanagrawal4u4u >> >> >> >> -- >> Thanks and Regards >> *-------* >> Join hands, Join eLibrarian >> >> *https://sites.google.com/site/theelibrarians/ >> <https://sites.google.com/site/theelibrarians/>* >> *-------* >> *Dr. Pawan R. Agrawal* >> Registered freelancer: NewGenLib >> Academic Councellor: IGNOU and BAOU >> Assistant Librarian >> Learning Resource Centre (Library) >> Dr. APJ Abdul Kalam Government College >> (Silvassa College, Govt. Arts, Commerce and Science College) >> Silvassa , U.T. of Dadra and Nagar Haveli >> INDIA- 396230 >> Ph. 9376135580, 9904828387 >> http://www.pragrawal.wordpress.com >> Skype ID: pawanagrawal4u4u >> > -- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
