HTTP ERROR: 500 after building r59

0 views
Skip to first unread message

Fabini

unread,
Sep 16, 2008, 5:27:05 AM9/16/08
to atomicwiki-users
Hi,

I've been using AtomicWiki version 0.4, from the .war distribution on
Tomcat for a couple of months, integrating it with existing
applications on another eXist impementation. Now however, I've built
the latest version of AtomicWiki (i'm interested in the feature "add
generated table of contents to wiki pages containing multiple entries;
allow entries to be reordered by dragging them in the table of
contents; various fixes.")

Following the instructions at http://atomic.exist-db.org/atomic/Installation.
I'm using r59 of AtomicWiki, r7563 of the exist-memproc branch of
eXist and Tomcat 6.0.16 (although the same problem happens when using
Jetty).

When I browse to the AtomicWiki main page, I get

HTTP ERROR: 500
Element <exist:dispatch> should either provide an attribute 'path' or
'servlet-name'. Received: <exist:dispatch xmlns:exist="http://
exist.sourceforge.net/NS/exist">
<exist:forward url="/index.xql"/>
<exist:add-parameter name="feed" value=""/>
</exist:dispatch>

RequestURI=/

in the browser window, and

javax.servlet.ServletException: Element <exist:dispatch> should either
provide a
n attribute 'path' or 'servlet-name'. Received: <exist:dispatch
xmlns:exist="htt
p://exist.sourceforge.net/NS/exist">
<exist:forward url="/index.xql"/>
<exist:add-parameter name="feed" value=""/>
</exist:dispatch>
at
org.exist.http.urlrewrite.XQueryURLRewrite.doFilter(XQueryURLRewrite.
java:242)
at org.mortbay.jetty.servlet.WebApplicationHandler
$CachedChain.doFilter(
WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:
820)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:
837)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:
357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:
534)
16 Sep 2008 10:08:48,375 [P1-9] WARN (ServletHandler.java [handle]:
595) - /:
javax.servlet.ServletException: Element <exist:dispatch> should either
provide a
n attribute 'path' or 'servlet-name'. Received: <exist:dispatch
xmlns:exist="htt
p://exist.sourceforge.net/NS/exist">
<exist:forward url="/index.xql"/>
<exist:add-parameter name="feed" value=""/>
</exist:dispatch>
at
org.exist.http.urlrewrite.XQueryURLRewrite.doFilter(XQueryURLRewrite.
java:242)
at org.mortbay.jetty.servlet.WebApplicationHandler
$CachedChain.doFilter(
WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:
820)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:
837)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:
357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:
534)


in the command window. Any ideas on what I've done wrong in building
this release?

Fabini

Fabini

unread,
Sep 16, 2008, 12:30:31 PM9/16/08
to atomicwiki-users
OK, I've figured out where I went wrong - I shouldn't have been using
eXist-memproc for the build. I used eXist-r8176 and the build and
launch of AtomicWiki both worked as expected.

Fabini

On Sep 16, 10:27 am, Fabini <fabini.noo...@googlemail.com> wrote:
> Hi,
>
> I've been using AtomicWiki version 0.4, from the .war distribution on
> Tomcat for a couple of months, integrating it with existing
> applications on another eXist impementation. Now however, I've built
> the latest version of AtomicWiki (i'm interested in the feature "add
> generated table of contents to wiki pages containing multiple entries;
> allow entries to be reordered by dragging them in the table of
> contents; various fixes.")
>
> Following the instructions athttp://atomic.exist-db.org/atomic/Installation.

Wolfgang

unread,
Sep 17, 2008, 3:55:40 PM9/17/08
to atomicwi...@googlegroups.com
> OK, I've figured out where I went wrong - I shouldn't have been using
> eXist-memproc for the build. I used eXist-r8176 and the build and
> launch of AtomicWiki both worked as expected.

I updated the "Building from Source" section on the atomic.exist-db.org
server accordingly. Please note also that uploading attachments is
somehow broken in the current trunk version of AtomicWiki. I need to fix
this.

Wolfgang

Reply all
Reply to author
Forward
0 new messages