Bug 1048234 - REST Interface not working with CR1
Summary: REST Interface not working with CR1
Keywords:
Status: CLOSED DUPLICATE of bug 1048240
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: ModeShape
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Van Halbert
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-03 13:09 UTC by Filip Nguyen
Modified: 2014-01-08 14:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-08 14:22:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Filip Nguyen 2014-01-03 13:09:43 UTC
After starting CR1 I cannot access the content of DV repository via REST interface: 

http://localhost:8080/modeshape-rest/dv

Returns:


{
  "exception": "javax/servlet/http/HttpServletRequest",
  "stacktrace": "java.lang.LinkageError: javax/servlet/http/HttpServletRequestntat org.modeshape.jcr.security.ServletProvider$ServletSecurityContext.(ServletProvider.java:63)ntat org.modeshape.jcr.security.ServletProvider.authenticate(ServletProvider.java:51)ntat org.modeshape.jcr.security.AuthenticationProviders.authenticate(AuthenticationProviders.java:65)ntat org.modeshape.jcr.JcrRepository.login(JcrRepository.java:633)ntat org.modeshape.jcr.JcrRepository.login(JcrRepository.java:154)ntat org.modeshape.web.jcr.RepositoryManager.getSession(RepositoryManager.java:124)ntat org.modeshape.web.jcr.rest.handler.AbstractHandler.getSession(AbstractHandler.java:74)ntat org.modeshape.web.jcr.rest.handler.RestRepositoryHandler.getWorkspaces(RestRepositoryHandler.java:55)ntat org.modeshape.web.jcr.rest.ModeShapeRestService.getWorkspaces(ModeShapeRestService.java:177)ntat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)ntat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)ntat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)ntat java.lang.reflect.Method.invoke(Method.java:601)ntat org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)ntat org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)ntat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)ntat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216)ntat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542)ntat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)ntat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126)ntat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)ntat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)ntat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)ntat javax.servlet.http.HttpServlet.service(HttpServlet.java:847)ntat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)ntat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)ntat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)ntat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)ntat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:499)ntat org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)ntat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)ntat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)ntat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)ntat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)ntat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)ntat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)ntat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)ntat java.lang.Thread.run(Thread.java:722)n"
}


Note You need to log in before you can comment on or make changes to this bug.