Problem Jetty9.3.2+ZK6.5: Multiple servlets map to path: /zkau/*: auEngine,DHtmlUpdateServlet

asked 2015-09-03 13:43:53 +0800

Evgenic gravatar image Evgenic
14 3

updated 2015-09-03 13:56:27 +0800


Problem with embedded Jetty 9.3.2+ZK6.5. Jetty 9.0.4+ZK6.5 is working quite well. I try register WAR(ZK6.5) in embedded Jetty programmatically:

final WebAppContext webapp = new WebAppContext(); webapp.setContextPath("/" + name); webapp.setWar(file.getAbsolutePath()); handlers.addHandler(webapp);

"file" here is my web app 'xxx.war'

Jetty 9.3.2 throws an exception: "java.lang.IllegalStateException: Multiple servlets map to path: /zkau/*: auEngine,DHtmlUpdateServlet"

This is understandable. Look out to web.xml:

* Must. Specifies URI of the update engine (DHtmlUpdateServlet). It must be the same as <url-pattern> for the update engine. * <init-param> <param-name>update-uri</param-name> <param-value>/zkau</param-value> </init-param>

Is this still 'must' in ZK7 and ZK8? How to fix it in a future? Would I had better move to zk8 because of that? Maybe try change source code of Jetty or write out about it in bug tracker of Jetty project?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2019-10-02 15:47:07 +0800

Evgenic gravatar image Evgenic
14 3

Jetty 9.4 is OK.

link publish delete flag offensive edit


tested with the latest 9.4.20.v20190813

cor3000 ( 2019-10-03 11:51:29 +0800 )edit

answered 2015-09-06 08:26:07 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Evgenic,

Based on your issue it looks like that Jetty 9.3.2 has some issues.

At the official site you can try out version 9.3.3.v20150827.

If it does not work, then i would create a new entry at Jetty's bug tracker.

Best Regards,


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2015-09-03 13:43:53 +0800

Seen: 41 times

Last updated: Oct 02 '19

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More