From: Wolfgang M. <wol...@ex...> - 2012-02-12 21:27:03
|
Hi Erik, I had exactly the same problem when preparing my app for the demo jam yesterday. But unfortunately - I can't remember what the solution was, but I believe it had to do with a missing permission on the parent collection. Something rather simple at least. Wolfgang 2012/2/12 Erik Siegel <er...@xa...>: > More problems and strange behavior: > > > > When I add the web application as a site (added > > > > <root server-name="dev.uwlr.nl" pattern="/*" > path="xmldb:exist:///db/Kennisnet-uwlr"/> > > > > to the controller-config.xml suddenly the URL rewriting does get executed on > http://dev.uwlr.nl:8080/exist/home > > > > But… When I try to load an image through the controller (which is perfectly > accessible by its direct URL), I get the error below. All this has worked. > > > > eXist guys, when you are back from Prague (nice meeting you again), please > help! > > > > HTTP ERROR 500 > > Problem accessing /exist/images/Kennisnet.png. Reason: > > Failed to initialize request dispatcher to forward request to > /images/Kennisnet.png > > Caused by: > > javax.servlet.ServletException: Failed to initialize request dispatcher to > forward request to /images/Kennisnet.png > > at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:45) > > at > org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:211) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) > > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480) > > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) > > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:483) > > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) > > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941) > > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) > > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) > > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875) > > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) > > at > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) > > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) > > at org.eclipse.jetty.server.Server.handle(Server.java:349) > > at > org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) > > at > org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919) > > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582) > > at > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218) > > at > org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51) > > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586) > > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44) > > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) > > at > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) > > at java.lang.Thread.run(Thread.java:619) > > > > > > > > Van: Erik Siegel [mailto:er...@xa...] > Verzonden: zondag 12 februari 2012 20:22 > Aan: exi...@li... > Onderwerp: Security system problem or something else? (Adam: Help!) > > > > Hi, > > > > I’v just migrated to the latest trunk version (at 13:00 this afternoon) > > > > Since I just wanted to get things up again (before I started to play with > the new security system), I’ve set every xql and xqm file and every relevant > directory to rwxr-xr-x > > > > However, the code doesn’t seem to reach my controller.xql anymore… > > > > Before the latest upgrade, my home URL > http://localhost:8080/exist/apps/Kennisnet-uwlr/home worked and the > controller turned it into the right page. Worked fine. > > Now it always comes up with a login dialog. > > When I login, the answer is Document /db/Kennisnet-uwlr/home not found è Of > course not, it doesn’t exist. > > > > What do I need to do to get my URL rewriting controller working again? > > > > > > Erik Siegel > > > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |