HTTP Status 500 – Internal Server Error


Type Exception Report

Message org.dom4j.DocumentException: Server returned HTTP response code: 503 for URL: https://badigital.sgmf.gov.pt/Handler?verb=getSolrResponseWithThisQuery&startRecord=1&maximumRecords=1&query=acmf_codigo_ref%3A%22PT%2FACMF%2FDGCI%2FGUA%2FGUA%2FIS%2F07009%22&filterQuery= Nested exception: Server returned HTTP response code: 503 for URL: https://badigital.sgmf.gov.pt/Handler?verb=getSolrResponseWithThisQuery&startRecord=1&maximumRecords=1&query=acmf_codigo_ref%3A%22PT%2FACMF%2FDGCI%2FGUA%2FGUA%2FIS%2F07009%22&filterQuery=

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

Exception

java.lang.RuntimeException: org.dom4j.DocumentException: Server returned HTTP response code: 503 for URL: https://badigital.sgmf.gov.pt/Handler?verb=getSolrResponseWithThisQuery&startRecord=1&maximumRecords=1&query=acmf_codigo_ref%3A%22PT%2FACMF%2FDGCI%2FGUA%2FGUA%2FIS%2F07009%22&filterQuery= Nested exception: Server returned HTTP response code: 503 for URL: https://badigital.sgmf.gov.pt/Handler?verb=getSolrResponseWithThisQuery&startRecord=1&maximumRecords=1&query=acmf_codigo_ref%3A%22PT%2FACMF%2FDGCI%2FGUA%2FGUA%2FIS%2F07009%22&filterQuery=
	pt.sgmf.arquivo.urn.HandlerArquivo.doPost(HandlerArquivo.java:175)
	pt.sgmf.arquivo.urn.HandlerArquivo.doGet(HandlerArquivo.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:529)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)

Root Cause

org.dom4j.DocumentException: Server returned HTTP response code: 503 for URL: https://badigital.sgmf.gov.pt/Handler?verb=getSolrResponseWithThisQuery&startRecord=1&maximumRecords=1&query=acmf_codigo_ref%3A%22PT%2FACMF%2FDGCI%2FGUA%2FGUA%2FIS%2F07009%22&filterQuery= Nested exception: Server returned HTTP response code: 503 for URL: https://badigital.sgmf.gov.pt/Handler?verb=getSolrResponseWithThisQuery&startRecord=1&maximumRecords=1&query=acmf_codigo_ref%3A%22PT%2FACMF%2FDGCI%2FGUA%2FGUA%2FIS%2F07009%22&filterQuery=
	org.dom4j.io.SAXReader.read(SAXReader.java:484)
	org.dom4j.io.SAXReader.read(SAXReader.java:291)
	pt.sgmf.arquivo.imports.Dom4jUtil.parse(Dom4jUtil.java:55)
	pt.sgmf.arquivo.urn.HandlerArquivo.doPost(HandlerArquivo.java:161)
	pt.sgmf.arquivo.urn.HandlerArquivo.doGet(HandlerArquivo.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:529)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)

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


Apache Tomcat/9.0.86