Hi again:

in respect with this error, I think that I've found its source: when
compiling dSpace the following error message appears:

[ERROR] error reading
/home/ubuntu-srv-dspace6/.m2/repository/org/restlet/jee/org.restlet/2.1.1/org.restlet-2.1.1.jar;
error in opening zip file
[ERROR] error reading
/home/ubuntu-srv-dspace6/.m2/repository/org/restlet/jee/org.restlet.ext.servlet/2.1.1/org.restlet.ext.servlet-2.1.1.jar;
error in opening zip file
[ERROR] error reading
/home/ubuntu-srv-dspace6/.m2/repository/org/restlet/jee/org.restlet/2.1.1/org.restlet-2.1.1.jar;
error in opening zip file
[ERROR] error reading
/home/ubuntu-srv-dspace6/.m2/repository/org/restlet/jee/org.restlet.ext.servlet/2.1.1/org.restlet.ext.servlet-2.1.1.jar;
error in opening zip file

This is caused because the following repository doesnt exist
[WARNING] Invalid POM for org.restlet.jee:org.restlet:jar:2.1.1, transitive
dependencies (if any) will not be available, enable debug logging for more
details
[WARNING] Invalid POM for
org.restlet.jee:org.restlet.ext.servlet:jar:2.1.1, transitive dependencies
(if any) will not be available, enable debug logging for more details
[WARNING] Invalid POM for org.restlet.jee:org.restlet:jar:2.1.1, transitive
dependencies (if any) will not be available, enable debug logging for more
details
[WARNING] Invalid POM for
org.restlet.jee:org.restlet.ext.servlet:jar:2.1.1, transitive dependencies
(if any) will not be available, enable debug logging for more details
[WARNING] Invalid POM for org.restlet.jee:org.restlet:jar:2.1.1, transitive
dependencies (if any) will not be available, enable debug logging for more
details
[WARNING] Invalid POM for
org.restlet.jee:org.restlet.ext.servlet:jar:2.1.1, transitive dependencies
(if any) will not be available, enable debug logging for more details

The org.restlet.jee:org.restlet:jar is broken or something like that: when
Tomcat tries to execute the .jar the message "error in opening zip file"
appears

I suppose that is possible to fix the problem changing the .pom file or
something like that

Thanks in advance
Camilo Freire





Hi:

I've install dSpace 6 in Ubuntu 20.04 following these instructions

http://libtechnophile.blogspot.com/2020/06/install-dspace-63-on-ubuntu-2004-lts.html

The instructions are almost the same in all tutorials that I've consulted.
Postgres, java 8 where installed via apt-get and Tomcat 9 was installed
manually. First running with the user root and then with a tomcat user.

After installing I've an error in all scenarios I got the same error,
apparently caused by Solr, this is the exception

2024-11-13 14:06:51,418 INFO  org.dspace.browse.BrowseEngine @
anonymous:session_id=7BA363FF882F44B2A19A48FD94FB4E90:ip_addr=127.0.0.1:
browse_mini:
2024-11-13 14:06:51,506 ERROR
org.dspace.app.webui.components.RecentSubmissionsManager @ caught
exception:
org.dspace.browse.BrowseException:
org.dspace.discovery.SearchServiceException: Expected mime type
application/octet-stream but got text/html. <!doctype html><html
lang="es"><head><title>Estado HTTP 404 – No encontrado</title><style
type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b
{color:white;background-color:#525D76;} h1 {font-size:22px;} h2
{font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;}
.line
{height:1px;background-color:#525D76;border:none;}</style></head><body><h1>Estado
HTTP 404 – No encontrado</h1><hr class="line" /><p><b>Tipo</b> Informe de
estado</p><p><b>mensaje</b> El recurso requerido
[&#47;solr&#47;search&#47;select] no se encuentra
disponible</p><p><b>Descripción</b> El recurso requerido no está
disponible.</p><hr class="line" /><h3>Apache
Tomcat/9.0.97</h3></body></html>
at org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:206)
at org.dspace.browse.SolrBrowseDAO.doQuery(SolrBrowseDAO.java:315)
at org.dspace.browse.BrowseEngine.browseMini(BrowseEngine.java:167)
at
org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmissions(RecentSubmissionsManager.java:90)
at
org.dspace.app.webui.components.RecentSiteSubmissions.process(RecentSiteSubmissions.java:47)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:187)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:376)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:324)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:396)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:937)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.lang.Thread.run(Thread.java:750)

The same occurs if I run the command /dspace/bin/dspace index-discovery -o

As I said, I try to create a user tomcat for running Tomcat 9 and change
the ownership of the folder /dspace and their subfoders with no result.
Also I change the tomcat.service file adding the line
*ReadWritePaths=/dspace*

I've copied the folder solr form /dspace/webapps to /opt/tomcat/webapps,
however in the web brower If I put http://localhost:8080/solr and 404 Error
message is displayed


I've read that the same problem happened to some user in DSpace 5, but the
thead with the answer no longer exists

Thank you very much in advance
Camilo Freire

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-community+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-community/CAMZv8nbOAJjpxSSLPW%2BVWM346k5o%3Dk%2BPaWyvhNgsXHHQ0spLEQ%40mail.gmail.com.

Reply via email to