Skip to content

Jetty Core webapps not deployed when directory contains dots #14127

@sbordet

Description

@sbordet

Jetty version(s)
12.1.x

Jetty Environment
core

Description
Deployment of a Jetty Core web application in directory format, such as foo.com does not work properly.

A context seems to be detected and listed by the DefaultHandler, but it's empty and always returns a 404.

In particular, looks like 2 web applications are detected, foo (from the directory) and foo.com (from the properties file):

2025-12-02 22:36:37.689:DEBUG:oejd.DeploymentScanner:main: pathsChanged: [/home/simon/work/webtide/webapps/foo.com.properties|ADDED, /home/simon/work/webtide/environments|ADDED, /home/simon/work/webtide/webapps|ADDED, /home/simon/work/webtide/webapps/foo.com|ADDED]
2025-12-02 22:36:37.699:DEBUG:oejd.DeploymentScanner:main: buildActionList: [oejd.DeploymentScanner$PathsApp@d7582459[foo.com|ADDED, env=null, mainPath=/home/simon/work/webtide/webapps/foo.com.properties, paths=[/home/simon/work/webtide/webapps/foo.com.properties|ADDED], contextHandler=<unset>], oejd.DeploymentScanner$PathsApp@18cc6[foo|ADDED, env=null, mainPath=/home/simon/work/webtide/webapps/foo.com, paths=[/home/simon/work/webtide/webapps/foo.com|ADDED], contextHandler=<unset>]]
2025-12-02 22:36:37.699:DEBUG:oejd.DeploymentScanner:main: changed app: oejd.DeploymentScanner$PathsApp@d7582459[foo.com|ADDED, env=null, mainPath=/home/simon/work/webtide/webapps/foo.com.properties, paths=[/home/simon/work/webtide/webapps/foo.com.properties|ADDED], contextHandler=<unset>]
2025-12-02 22:36:37.700:DEBUG:oejd.DeploymentScanner:main: changed app: oejd.DeploymentScanner$PathsApp@18cc6[foo|ADDED, env=null, mainPath=/home/simon/work/webtide/webapps/foo.com, paths=[/home/simon/work/webtide/webapps/foo.com|ADDED], contextHandler=<unset>]

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor general bugs on Jetty side

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions