Alterar URL de acesso

Eu tenho um Dspace (5.5) rodando e que esta publicado em HTTP. Estou precisando mudar a URL de acesso e inserir HTTPS.
Montei um ambiente de homologação, realizei primeiramente a alteração da URL de acesso, porém dar um erro. Alguém pode ajudar?

An exception occurred processing JSP page /index.jsp at line 59

56: SiteHomeProcessor[] chp = (SiteHomeProcessor[]) PluginManager.getPluginSequence(SiteHomeProcessor.class);
57: for (int i = 0; i < chp.length; i++)
58: {
59: chp[i].process(context, request, response);
60: }
61: }
62: catch (Exception e)

Stacktrace:

org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 59

56: SiteHomeProcessor[] chp = (SiteHomeProcessor[]) PluginManager.getPluginSequence(SiteHomeProcessor.class);
57: for (int i = 0; i < chp.length; i++)
58: {
59: chp[i].process(context, request, response);
60: }
61: }
62: catch (Exception e)

Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:575)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:462)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.servlet.ServletException: org.dspace.plugin.PluginException: org.dspace.app.webui.components.RecentSubmissionsException: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.apache.jsp.index_jsp._jspService(index_jsp.java:147)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
… 26 more
Caused by: org.dspace.plugin.PluginException: org.dspace.app.webui.components.RecentSubmissionsException: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.dspace.app.webui.components.RecentSiteSubmissions.process(RecentSiteSubmissions.java:53)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:140)
… 29 more
Caused by: org.dspace.app.webui.components.RecentSubmissionsException: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmissions(RecentSubmissionsManager.java:105)
at org.dspace.app.webui.components.RecentSiteSubmissions.process(RecentSiteSubmissions.java:47)
… 30 more
Caused by: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:197)
at org.dspace.browse.SolrBrowseDAO.doQuery(SolrBrowseDAO.java:291)
at org.dspace.browse.BrowseEngine.browseMini(BrowseEngine.java:164)
at org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmissions(RecentSubmissionsManager.java:89)
… 31 more
Caused by: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1618)
at org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:192)
… 34 more
Caused by: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1613)
… 35 more

org.dspace.plugin.PluginException: org.dspace.app.webui.components.RecentSubmissionsException: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70

javax.servlet.ServletException: org.dspace.plugin.PluginException: org.dspace.app.webui.components.RecentSubmissionsException: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.apache.jsp.index_jsp._jspService(index_jsp.java:147)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.dspace.plugin.PluginException: org.dspace.app.webui.components.RecentSubmissionsException: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.dspace.app.webui.components.RecentSiteSubmissions.process(RecentSiteSubmissions.java:53)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:140)
… 29 more
Caused by: org.dspace.app.webui.components.RecentSubmissionsException: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmissions(RecentSubmissionsManager.java:105)
at org.dspace.app.webui.components.RecentSiteSubmissions.process(RecentSiteSubmissions.java:47)
… 30 more
Caused by: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:197)
at org.dspace.browse.SolrBrowseDAO.doQuery(SolrBrowseDAO.java:291)
at org.dspace.browse.BrowseEngine.browseMini(BrowseEngine.java:164)
at org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmissions(RecentSubmissionsManager.java:89)
… 31 more
Caused by: org.dspace.discovery.SearchServiceException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1618)
at org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:192)
… 34 more
Caused by: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.70 - Error report

HTTP Status 403 -


type Status report

message

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.70


at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1613)
… 35 more

Olá KJR,
alterar a url é o primeiro passo, vocẽ configurou o dspace.cfg com a nova url? se sim, chegou a testar apenas se a nova url alcança o index do tomcat? Outro ponto você configurou o redirect para bater no /jspui no tomcat ou no apache? tudo que foi citado pode estar ocasionando o problema.
Além disso deve-se lembrar que o metadado uri não é dinâmico e que possivelmente terá que alterar o uri de cada item no seu repositório para a nova url utilizada. Quando puder, dê um feedback.

att, Lucas.

Oi, Lucas
Consegui realizar a alteração com sucesso depois de muitas tentativas…
Muito obrigado pela dica da alteração dos metadados da URI.

Att;
KJR

Boa tarde! Tudo bem?

Poderia me auxiliar? Precisava saber se tu recorda como aplicou a solução?

Depois que alterei para HTTPS (8443), deu Erro Interno na página inicial. Aí segui a dica acima e refiz os apontamentos nas URIs dos arquivos dspace.cnf e local.cnf porém continuo recebendo erro =(.

Dá uma exception: " An exception occurred processing [index.jsp] at line [59]" e nega conexão para o solr “Server refused connection at: http://localhost:8080/solr/search”.

Obrigado!

João Zem