HTTP ERROR: 404

Splash Forums Redoculous Users HTTP ERROR: 404

This topic contains 6 replies, has 3 voices, and was last updated by  Lincoln Baxter III 2 years, 7 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #25680

    fharms
    Participant

    Hey

    Trying out your new real time markup editor, but get’s the error “HTTP ERROR: 404”

    HTTP ERROR: 404
    
    Problem accessing /p/. Reason:
    
        Not Found
    Powered by Jetty://

    Run it with the command java -jar redoculous-embedded-1.0.0.Alpha4.jar and the error below also shows up in the console.

    System :
    Java(TM) SE Runtime Environment (build 1.7.0_12-ea-b08)
    OS X 10.9.1

    BR
    Flemming

    2014-01-01 09:40:11.962:WARN:oejs.ServletHandler:qtp1479932893-32: 
    javax.servlet.ServletException: Error during Rewrite processing. Please inspect stack trace for root cause.
            at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:194)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1477)
            at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
            at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:211)
            at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
            at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
            at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
            at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
            at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
            at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
            at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
            at org.eclipse.jetty.server.Server.handle(Server.java:445)
            at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268)
            at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
            at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
            at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
            at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: 
    java.lang.RuntimeException: java.io.FileNotFoundException: /index.asciidoc (No such file or directory)
            at org.ocpsoft.redoculous.config.editor.LoadFileOperation.performHttp(LoadFileOperation.java:36)
            at org.ocpsoft.rewrite.servlet.config.HttpOperation.perform(HttpOperation.java:42)
            at org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultCompositeOperation.perform(DefaultOperationBuilder.java:56)
            at org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:136)
            at org.ocpsoft.rewrite.config.Subset.perform(Subset.java:107)
            at org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultCompositeOperation.perform(DefaultOperationBuilder.java:56)
            at org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultCompositeOperation.perform(DefaultOperationBuilder.java:56)
            at org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:136)
            at org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultCompositeOperation.perform(DefaultOperationBuilder.java:56)
            at org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:136)
            at org.ocpsoft.rewrite.servlet.impl.DefaultHttpRewriteProvider.rewriteHttp(DefaultHttpRewriteProvider.java:182)
            at org.ocpsoft.rewrite.servlet.http.HttpRewriteProvider.rewrite(HttpRewriteProvider.java:43)
            at org.ocpsoft.rewrite.servlet.RewriteFilter.rewrite(RewriteFilter.java:247)
            at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:188)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1477)
            at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
            at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:211)
            at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
            at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
            at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
            at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
            at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
            at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
            at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
            at org.eclipse.jetty.server.Server.handle(Server.java:445)
            at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268)
            at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
            at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
            at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
            at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
            at java.lang.Thread.run(Thread.java:722)
    • This topic was modified 2 years, 7 months ago by  fharms. Reason: Missing system information
    #25682

    I’m also getting this exception, but AFAIK you can ignore it.

    Opening the app with this URL works for me:

    http://localhost:4343/

    #25683

    fharms
    Participant

    Thanks for the reply.

    I forgot to mention this happen after I selected a file and press the “Open Viewer”

    #25684

    Hmmm, looks like you have to open a valid ASCIIDOC file which ends with .asciidoc to make it work.

    Try downloading a file from the Rewrite documentation and open that one:

    https://raw.github.com/ocpsoft/rewrite/master/documentation/src/main/asciidoc/migration/prettyfaces3.asciidoc

    #25685

    fharms
    Participant

    you are right. after I renamed my file to .asciidoc it works fine.

    thanks!

    #25725

    Yes, sorry about the file name restriction. Currently working on making it recognize a few more common extensions, but doing this in spare time from full time job and holidays are over 🙂 Sorry for the late reply, just got back from vacation. Thanks, Christian, for responding!

    #25726

    Also hoping to get it to work well with markdown and textile.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Comments are closed.