I'm trying to enable the REST interface, but am just getting a 404:
curl -s -H "Accept: application/xml" http://localhost:8080/rest/communities
<html><head><title>Apache Tomcat/7.0.68 (Ubuntu) - Error
report</title><style>...<h1>HTTP Status 404 - </h1>...
I created a context:
/etc/tomcat7/Catalina/localhost/rest.xml:
<?xml version='1.0'?>
<Context
path="/rest"
docBase="/dspacecris-dut/webapps/rest"
/>
And disabled SSL by commenting out the security-constraint section in:
/dspacecris-dut/webapps/rest/WEB-INF/web.xml
These lines from catalina.out seem relevant:
INFO: Deploying configuration descriptor
/etc/tomcat7/Catalina/localhost/rest.xml
Nov 13, 2018 8:32:06 AM org.apache.catalina.loader.WebappClassLoaderBase
validateJarFile
INFO:
validateJarFile(/dspacecris-dut/webapps/rest/WEB-INF/lib/el-api-1.0.jar) -
jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class:
javax/el/Expression.class
Nov 13, 2018 8:32:06 AM org.apache.catalina.loader.WebappClassLoaderBase
validateJarFile
INFO:
validateJarFile(/dspacecris-dut/webapps/rest/WEB-INF/lib/jsp-api-2.1.jar) -
jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class:
javax/el/Expression.class
INFO: Deployment of configuration descriptor
/etc/tomcat7/Catalina/localhost/rest.xml has finished in 34,892 ms
Any ideas what else I can do?
DSpace version: CRIS-5.8.1-SNAPSHOT
SCM revision: 9e925eeed17155160c031f3775d5fec6436d79bf
SCM branch: dspace-5_x_x-cris
OS: Linux(amd64) version 4.4.0-138-generic
...
Discovery: enabled.
JRE: Oracle Corporation version 1.8.0_181
Ant version: Apache Ant(TM) version 1.9.6 compiled on July 8 2015
Maven version: 3.3.9
tomcat 7
postgres 9.5
--
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
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.