path for the default web application (empty context) must be equal to a zero-length string not "/"

Description

createContextToken in AbstractCatalinaStandaloneLocalConfiguration prepends "/" to any contextpath. This should not happen for the default web application according to http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

I attached a small patch. Not sure if this is the right way and/or place to fix this, but it works for me

Status

Assignee

Savas Ali Tokmen

Reporter

Bram de Kruijff

Components

Fix versions

Affects versions

0.9

Priority

Major
Configure