it looks like your dspace instance is not able to connect to SOLR.
<h1>HTTP Status 403 - </h1><div class="line"></div><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>Access to the specified resource has been forbidden.</u>
Which is your configuration of solr? [dspace-install]/config/modules/discovery.cfg (look for the search.server property)

Maybe solr recognize the dspace webapp as a client accessing from a public ip or using ip6 instead that from localhost. If this is the case you can fix that in a context file inside your tomcat, the general one or the one specific for the solr webeapp.

[tomcat]/conf/context.xml

<Context>
    <!-- Default set of monitored resources -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
<Parameter name="LocalhostRestrictionFilter.localhost" value="false" override="false"/>
    <Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="xxx\.yyy\.zzz\.kkk|127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1"/>
</Context>

replace xxx\.yyy\.zzz\.kkk with your public ip address.

Hope this help,
Andrea

Il 16/06/2016 10:17, [email protected] ha scritto:
I am also getting the following error in the tomcat8 localhost log file

SEVERE [http-nio-8080-exec-6] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [springmvc-rp] in context with path [/jspui] threw exception

[org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html.<!DOCTYPE html><html><head><title>Apache Tomcat/8.0.32 (Ubuntu) - Error report</title><style type="text/css">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;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 403 - </h1><div class="line"></div><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>Access to the specified resource has been forbidden.</u></p><hr class="line"><h3>Apache Tomcat/8.0.32 (Ubuntu)</h3></body></html>] with root cause

org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream


On Thursday, June 16, 2016 at 10:46:04 AM UTC+3, [email protected] wrote:

    Hello dear all.

    I have installed the latest version of dspace-cris and now I am
    getting the following error in solr.log which gives me an internal
    system error on the dspace home page.

    2016-06-16 09:43:14,239 ERROR org.apache.solr.core.SolrCore @
    org.apache.solr.common.SolrException: undefined field id
    at
    
org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1269)
    at
    
org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getWrappedAnalyzer(IndexSchema.java:434)
    at
    
org.apache.lucene.analysis.DelegatingAnalyzerWrapper$DelegatingReuseStrategy.getReusableComponents(DelegatingAnalyzerWrapper.java:74)
    at org.apache.lucene.analysis.Analyzer.tokenStream(Analyzer.java:175)
    at
    org.apache.lucene.util.QueryBuilder.createFieldQuery(QueryBuilder.java:207)
    at
    
org.apache.solr.parser.SolrQueryParserBase.newFieldQuery(SolrQueryParserBase.java:374)
    at
    
org.apache.solr.parser.SolrQueryParserBase.getFieldQuery(SolrQueryParserBase.java:742)
    at
    
org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(SolrQueryParserBase.java:541)
    at org.apache.solr.parser.QueryParser.Term(QueryParser.java:299)
    at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:185)
    at org.apache.solr.parser.QueryParser.Query(QueryParser.java:107)
    at
    org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:96)
    at
    
org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:151)
    at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50)
    at org.apache.solr.search.QParser.getQuery(QParser.java:141)
    at
    
org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:148)
    at
    
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:197)
    at
    
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
    at org.apache.solr.core.SolrCore.execute(SolrCore.java:1967)
    at
    
org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:64)
    at org.apache.solr.core.SolrCore$5.call(SolrCore.java:1739)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at
    
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at
    
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

    any ideas as to what could be causing this problem as I have
    searched through the forums and i have found nothing helpful so far.

    Kind regards,
    Alexia


--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Andrea Bollini
International Business Development, Deputy Leader
Open Source & Open Standards Strategy, Head
Cineca

Via dei Tizii, 6
00185 Roma, Italy
tel. +39 06 44 486 087 - mob. +39 348 82 77 525
http://www.cineca.it

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

Reply via email to