org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: this IndexWriter is closed

Google Groups | Emmanuel Wilson | 4 months ago
  1. 0

    dspace index-discovery not running

    Google Groups | 4 months ago | Emmanuel Wilson
    org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: this IndexWriter is closed
  2. 0

    [DS-2212] Statistics Shard not working, version conflict - DuraSpace JIRA

    duraspace.org | 8 months ago
    org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Document is missing mandatory uniqueKey field: uid
  3. 0

    When attempting to run the command, it creates an initial solr core and then fails. The process cannot be restarted due to the existence of that solr core. Based on my experience, I would not recommend this command to folks with older records in their statistics core. Error (DSpace 4.2) ------------------------ Moving: 317727 into core statistics-2010 Exception: Document is missing mandatory uniqueKey field: uid org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Document is missing mandatory uniqueKey field: uid at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:424) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180) at org.dspace.statistics.SolrLogger.shardSolrIndex(SolrLogger.java:1345) at org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:101) 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) Error (DSpace 3.x) --------------------- [dspace@dspace-aux-1 ~]$ /opt/dspace/bin/dspace stats-util -s INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=0f8afeda-81b7-4bd1-80d3-d73a7f686f32,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1217) - Loading from classloader: file:/opt/dspace/config/dspace.cfg INFO [main] (ConfigurationManager.java:1217) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1217) - Loading: /opt/dspace/config/log4j.properties Exception: org.apache.solr.client.solrj.response.QueryResponse.getFacetRanges()Ljava/util/List; java.lang.NoSuchMethodError: org.apache.solr.client.solrj.response.QueryResponse.getFacetRanges()Ljava/util/List; at org.dspace.statistics.SolrLogger.shardSolrIndex(SolrLogger.java:1184) at org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:101) 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) Error when attempting to re-run the command ---------------------------------------------------------- Exception: Error CREATEing SolrCore 'statistics-2010': Core with name 'statistics-2010' already exists. org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Error CREATEing SolrCore 'statistics-2010': Core with name 'statistics-2010' already exists. at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:424) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180) at org.apache.solr.client.solrj.request.CoreAdminRequest.process(CoreAdminRequest.java:462) at org.dspace.statistics.SolrLogger.createCore(SolrLogger.java:1370) at org.dspace.statistics.SolrLogger.shardSolrIndex(SolrLogger.java:1318) at org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:101) 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)

    Sakai JIRA | 2 years ago | Terry Brady
    org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Document is missing mandatory uniqueKey field: uid
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SOLR issues with DSE Search

    GitHub | 2 years ago | Fitzoh
    com.thinkaurelius.titan.diskstorage.TemporaryBackendException: Unable to complete query on Solr.
  6. 0

    Issue during Solr Core creation

    Stack Overflow | 4 months ago | Nandan Priyadarshi
    org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html. <html><head><title>Apache Tomcat/6.0.45 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - Authentication required.</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Authentication required.</u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.45</h3></body></html>

    1 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

      this IndexWriter is closed

      at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod()
    2. Apache Solr Solrj
      SolrServer.deleteByQuery
      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.AbstractUpdateRequest.process(AbstractUpdateRequest.java:124)
      5. org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:285)
      6. org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:271)
      6 frames
    3. DSpace Kernel :: API and Implementation
      IndexClient.main
      1. org.dspace.discovery.SolrServiceImpl.unIndexContent(SolrServiceImpl.java:331)
      2. org.dspace.discovery.SolrServiceImpl.unIndexContent(SolrServiceImpl.java:315)
      3. org.dspace.discovery.SolrServiceImpl.indexContent(SolrServiceImpl.java:229)
      4. org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:410)
      5. org.dspace.discovery.SolrServiceImpl.createIndex(SolrServiceImpl.java:370)
      6. org.dspace.discovery.IndexClient.main(IndexClient.java:117)
      6 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. 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