Glassfish deployment fails on Windows when contextroot = /

Description

When deploying to a Glassfish container on Windows with a <deployable> whose <context> is set to "/", the asadmin command looks like this:

The command fails with the message "Command deploy requires an operand of type class java.io.File"; it appears Windows is ignoring the empty string. (Linux reports a similar command line but handles the empty string without a problem.)

I've worked around this by setting <context>/rootContext</context> (and stripping rootContext from tests that reuse the Maven property which is actually used in <context/>) but it would be nice to have <context>/</context> work out of the box.

Assignee

Savas Ali Tokmen

Reporter

Peter Janes

Components

Fix versions

Priority

Minor
Configure