Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368913

Summary: [nano] Hot-deploying WAR file on the smallest Nano should fail more gracefully
Product: [RT] Virgo Reporter: Borislav Kapukaranov <b.kapukaranov>
Component: runtimeAssignee: Borislav Kapukaranov <b.kapukaranov>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: glyn.normington, gunnar
Version: 3.5.0.M02   
Target Milestone: 3.5.0.M04   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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.