Ticket #1369 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

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

Changed 11 months ago by Jani Laakso

  • milestone set to User Interface Library 5.1.0 RC

Should be simple to fix..

Changed 11 months ago by Jani Laakso

(also seen on forums, but I've forgotten this bug)..

Changed 11 months ago by Matti Tahvonen

  • priority changed from undefined to blocker
  • status changed from new to closed
  • resolution set to fixed

in [3784]

Note: See TracTickets for help on using tickets.