HTTP Status 500 – Internal Server Error


Type Exception Report

Message Error from server at http://solr01.bsz-bw.de:8987/solr/x_sfg_x_l: Expected mime type application/octet-stream but got text/html. <html>

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

javax.servlet.ServletException: Error from server at http://solr01.bsz-bw.de:8987/solr/x_sfg_x_l: Expected mime type application/octet-stream but got text/html. <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /solr/x_sfg_x_l/select. Reason:
<pre>    Not Found</pre></p>
</body>
</html>

	javax.faces.webapp.FacesServlet.service(FacesServlet.java:671)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

Root Cause

org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://solr01.bsz-bw.de:8987/solr/x_sfg_x_l: Expected mime type application/octet-stream but got text/html. <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /solr/x_sfg_x_l/select. Reason:
<pre>    Not Found</pre></p>
</body>
</html>

	org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:635)
	org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:266)
	org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
	org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:214)
	org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1003)
	org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1018)
	bsz.swbexpo.store.SolrStore.execute(SolrStore.java:131)
	bsz.swbexpo.beans.Browse.executeQuery(Browse.java:78)
	java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.base/java.lang.reflect.Method.invoke(Method.java:568)
	org.apache.el.parser.AstValue.invoke(AstValue.java:247)
	org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:267)
	com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
	com.sun.faces.facelets.tag.jsf.core.DeclarativeSystemEventListener.processEvent(EventHandler.java:128)
	javax.faces.component.UIComponent$ComponentSystemEventListenerAdapter.processEvent(UIComponent.java:2584)
	javax.faces.event.SystemEvent.processListener(SystemEvent.java:108)
	javax.faces.event.ComponentSystemEvent.processListener(ComponentSystemEvent.java:118)
	com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2169)
	com.sun.faces.application.ApplicationImpl.invokeComponentListenersFor(ApplicationImpl.java:2114)
	com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:287)
	com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:245)
	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/9.0.43 (Debian)