We're updating the issue view to help you get more done. 

[Jetty] Impossible to deploy to root "/" context

Description

With Jetty, when deploying to "/" context, WAR package is not deployed.

1 2 WAR war = new WAR(warPath) war.setContext("/")

In logs, I can see :

1 [o.c.c.c.j.Jetty7xInstalledLocalDeployer] Deploying WAR by creating Jetty context XML file in [{SNIP...}/cargo/conf/contexts/.xml]...

Notice that context file has no name (.xml) and so Jetty doesn't detect this context file.

I also tried with "root", "ROOT", "/root", ... contexts without success.

Status

Assignee

Savas Ali Tokmen

Reporter

Damien Lecan

Components

Fix versions

Affects versions

1.2.1

Priority

Major