Ticket #1369 (closed defect: fixed)
Applications cannot be deployed in the root context of an appserver
| Reported by: | Jonatan Kronqvist | Owned by: | Jani Laakso |
|---|---|---|---|
| Priority: | blocker | Milestone: | User Interface Library 5.1.0 RC |
| Component: | undefined | Version: | |
| Keywords: | Cc: | ||
| Known Issue description: | |||
| Hours estimate: | Deadline (dd.mm.yyyy): | ||
| Known Issue version (since): | Known Issue title: | ||
| Hours done: | Depends to: | ||
| Affects documentation: | no | ||
| Known Issue workaround: | |||
| Affects release notes: | yes | Contract: | |
Description
Deploying a Toolkit 5 application (hello world tested) to the root context of an application server (jboss tested) does not work.
The deployment process fails with an ArrayIndexOutOfBoundsException at com.itmill.toolkit.terminal.gwt.server.ApplicationServlet:612.
Apparently the com.itmill.toolkit.terminal.gwt.server.ApplicationServlet class expects the URL to contain at least one "subdirectory".
This is probably not a serious problem for smaller apps, but when a customer develops a large application that will be the only app running on the application server instance he is likely to want to deploy it in the root context of that server.
Change History
Note: See
TracTickets for help on using
tickets.
