Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368913 - [nano] Hot-deploying WAR file on the smallest Nano should fail more gracefully
Summary: [nano] Hot-deploying WAR file on the smallest Nano should fail more gracefully
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: 3.5.0.M02   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.5.0.M04   Edit
Assignee: Borislav Kapukaranov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 03:34 EST by Borislav Kapukaranov CLA
Modified: 2012-04-27 09:47 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Borislav Kapukaranov CLA 2012-01-18 03:34:17 EST
The smallest Nano doesn't have any WAR handling capabilities and WAR files fail to deploy on it. The error says the URL protocol is wrong, but it is just unrecognized.
The error should say WAR files are not supported here and should advice the user to install the GW container with the director if web capabilities are required.
Comment 1 Glyn Normington CLA 2012-01-18 03:56:09 EST
(In reply to comment #0)
> The error should say WAR files are not supported here and should advice the
> user to install the GW container with the director if web capabilities are
> required.

I don't think the error should mention GW as (a) other solutions are possible, such as VJS, and (b) it is not the business of this layer to know about other layers. But if we issue an event log message, this will give us the ability to refer to its number in documentation (e.g. FAQ or User Guide) which can then mention GW.
Comment 2 Borislav Kapukaranov CLA 2012-04-27 09:47:15 EDT
Fixed with commit 18950a3
Will appear in next week's milestone release.