OK I'll try
On Thu, Jul 11, 2013 at 1:12 PM, Dan Haywood <d...@haywood-associates.co.uk>wrote: > It is a bug! Well found! Do you want to fix it too? :-) > > Sorry to be brief, sent from my phone > On 11 Jul 2013 20:59, "DImuthu Upeksha" <dimuthu.upeks...@gmail.com> > wrote: > >> Ok. Fixed it. Actual url is "http://localhost:8080/restful/domain-types/" >> >> But in homepage (http://localhost:8080/restful/) it shows >> >> >> - { >> - rel: "types", >> - href: "http://localhost:8080/restful/domainTypes", >> - method: "GET", >> - type: >> "application/json;profile="urn:org.restfulobjects/typelist"" >> } >> >> Url doesn't have "-" in domainTypes. Is it a bug? >> >> >> On Thu, Jul 11, 2013 at 12:51 PM, DImuthu Upeksha < >> dimuthu.upeks...@gmail.com> wrote: >> >>> Hi Dan, >>> When I tried to go to link "http://localhost:8080/restful/domainTypes" >>> it gives the following error. What could be the reason for that? >>> >>> { >>> >>> - message: "Could not find resource for relative : /domainTypes of >>> full path: http://localhost:8080/restful/domainTypes", >>> - stackTrace: >>> [ >>> - >>> >>> "org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:360)" >>> , >>> - >>> >>> "org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:374)" >>> , >>> - >>> >>> "org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:367)" >>> , >>> - >>> >>> "org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:350)" >>> , >>> - >>> >>> "org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:192)" >>> , >>> - >>> >>> "org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125)" >>> , >>> - >>> >>> "org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)" >>> , >>> - >>> >>> "org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)" >>> , >>> - >>> >>> "org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)" >>> , >>> - "javax.servlet.http.HttpServlet.service(HttpServlet.java:806)", >>> - >>> >>> "org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)" >>> , >>> - >>> >>> "org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)" >>> , >>> - >>> >>> "org.apache.isis.core.webapp.IsisSessionFilter$SessionState$1.handle(IsisSessionFilter.java:315)" >>> , >>> - >>> >>> "org.apache.isis.core.webapp.IsisSessionFilter.doFilter(IsisSessionFilter.java:404)" >>> , >>> - >>> >>> "org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)" >>> , >>> - >>> >>> "org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)" >>> , >>> - >>> >>> "org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)" >>> , >>> - >>> >>> "org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)" >>> , >>> - >>> >>> "org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)" >>> , >>> - >>> >>> "org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)" >>> , >>> - >>> >>> "org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)" >>> , >>> - >>> >>> "org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)" >>> , >>> - >>> >>> "org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)" >>> , >>> - >>> >>> "org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)" >>> , >>> - >>> >>> "org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)" >>> , >>> - >>> >>> "org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)" >>> , >>> - >>> >>> "org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)" >>> , >>> - >>> >>> "org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)" >>> , >>> - >>> >>> "org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)" >>> , >>> - "org.mortbay.jetty.Server.handle(Server.java:326)", >>> - >>> >>> "org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)" >>> , >>> - >>> >>> "org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)" >>> , >>> - "org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)", >>> - >>> "org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)" >>> , >>> - >>> "org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)" >>> , >>> - >>> >>> "org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)" >>> , >>> - >>> >>> "org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)" >>> ], >>> - causedBy: null >>> >>> } >>> >>> -- >>> Regards >>> >>> W.Dimuthu Upeksha >>> Undergraduate >>> Department of Computer Science And Engineering >>> >>> University of Moratuwa, Sri Lanka >>> >> >> >> >> -- >> Regards >> >> W.Dimuthu Upeksha >> Undergraduate >> Department of Computer Science And Engineering >> >> University of Moratuwa, Sri Lanka >> > -- Regards W.Dimuthu Upeksha Undergraduate Department of Computer Science And Engineering University of Moratuwa, Sri Lanka