I get the following servlet exception   when I access /rest on my site 

I can’t see any differences in my dspace/config directory that look like they 
might  impact this. Of cause dspace.cfg and the likes are heavily changed .. I 
did not touch the dspace-rest code at all 

I did change the rest api to run on http   - I know I shouldn’t do that - but 
haven’t set the server up with certificates 

What might be the issue ? 

Monika
 

type Exception report

message Servlet execution threw an exception

description The server encountered an internal error that prevented it from 
fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

root cause

java.lang.AbstractMethodError: 
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
        javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
        
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:669)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

note The full stack trace of the root cause is available in the Apache 
Tomcat/7.0.62 logs.


======
the full stack trace is not much more informative 

Jan 20, 2016 9:34:40 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [DSpace REST API] in context with path 
[/rest] threw exception [Servlet execution threw an exception] with root cause
java.lang.AbstractMethodError: 
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
    at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
    at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:669)
    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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
    at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
    at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
    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:744)



-----


-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to