org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "dspace-cris", database "dspace-cris", SSL off

Google Groups | Yen-Tang Chen | 3 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Dspace-CRIS Item view and Download count problem

    Google Groups | 3 weeks ago | Yen-Tang Chen
    org.dspace.discovery.SearchServiceException: org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "dspace-cris", database "dspace-cris", SSL off
  2. 0

    DSpace / Mailing Lists

    sourceforge.net | 2 years ago
    java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
  3. 0

    Filter-media on PDFs exported from Outlook causes a TikaException error and prevents Items from indexing (DSpace 5.6)

    Google Groups | 4 months ago | Webb, Nicholas
    org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: org.apache.tika.exception.TikaException: Failed to parse an email message
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have a problem when indexing items in the search core of solr. [dspace-install]/bin/dspace index-discovery -bos Seeing the log messages, a NumberFormatException occurs: 2015-04-01 13:55:37,209 INFO org.dspace.discovery.SolrServiceImpl @ Wrote Item: 123456789/31 to Index 2015-04-01 13:55:37,237 ERROR org.dspace.discovery.SolrServiceImpl @ For input string: "cic:types/objetoDeConferencia/documentoDeConferencia" java.lang.NumberFormatException: For input string: "cic:types/objetoDeConferencia/documentoDeConferencia" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:492) at java.lang.Integer.parseInt(Integer.java:527) at org.dspace.content.authority.DCInputAuthority.getLabel(DCInputAuthority.java:155) at org.dspace.content.authority.ChoiceAuthorityManager.getLabel(ChoiceAuthorityManager.java:263) at org.dspace.content.authority.ChoiceAuthorityManager.getLabel(ChoiceAuthorityManager.java:249) at org.dspace.discovery.SolrServiceImpl.buildDocument(SolrServiceImpl.java:1055) at org.dspace.discovery.SolrServiceImpl.indexContent(SolrServiceImpl.java:225) at org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:405) at org.dspace.discovery.SolrServiceImpl.createIndex(SolrServiceImpl.java:365) at org.dspace.discovery.IndexClient.main(IndexClient.java:117) 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.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) 2015-04-01 13:55:37,665 INFO org.dspace.discovery.SolrServiceImpl @ Wrote Item: 123456789/57 to Index This exception is raised by the #getLabel() method of the DCInputAuthority class. This is because the method expects that the 'authority key' be a number. If I index a non numeric authority key (for example "info:eu-repo/semantics/article") , then this exception is raised and the item is not indexed. I'll do a pull-request with the changes I've made

    Sakai JIRA | 2 years ago | Facundo Gabriel Adorno (sedici.unlp.edu.ar)
    java.lang.NumberFormatException: For input string: "cic:types/objetoDeConferencia/documentoDeConferencia"

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException

      org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "dspace-cris", database "dspace-cris", SSL off

      at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod()
    2. Apache Solr Solrj
      SolrServer.query
      1. org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:552)
      2. org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
      3. org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
      4. org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
      5. org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
      5 frames
    3. DSpace Kernel :: API and Implementation
      SolrServiceImpl.search
      1. org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:2580)
      1 frame
    4. org.dspace.app
      ScriptStatsMetrics.main
      1. org.dspace.app.cris.discovery.CrisSearchService.renewMetricsCache(CrisSearchService.java:1026)
      2. org.dspace.app.cris.statistics.plugin.StatsPercentileIndicatorsPlugin.buildIndicator(StatsPercentileIndicatorsPlugin.java:95)
      3. org.dspace.app.cris.batch.ScriptStatsMetrics.main(ScriptStatsMetrics.java:134)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    6. DSpace Kernel :: API and Implementation
      ScriptLauncher.main
      1. org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226)
      2. org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
      2 frames