Bug 219121 - Incorrect error message displayed by Ant task
Summary: Incorrect error message displayed by Ant task
Status: CLOSED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.ws (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Trung CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-02-15 12:12 EST by Kathy Chan CLA
Modified: 2008-06-05 16:33 EDT (History)
0 users

See Also:


Attachments
For 'org.eclipse.jst.ws.consumption.ui' (1.25 KB, patch)
2008-04-09 18:00 EDT, Trung CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kathy Chan CLA 2008-02-15 12:12:43 EST
Driver:  WTP 3.0 02/15

I tried running the Web serives Ant task in a workspace that only has Tomcat 5.5 server runtime installed.  If I mistakenly choose the Tomcat 50 server in the Ant task, I got the error:

Tomcat v5.0 server does not support the Apache Axis Web Serivce runtime.  Choose a different server or runtime to proceed through the Web services wizard.

This error message is not correct since Tomcat 5.0 IS supported by the Axis runtime.  The reason we were having error is the Tomat 5.0 server runtime has not been installed yet.  We need to clarify this message.  This might be combined with the other efforts in cleaning up the Ant error message to return messages more meaningful to the user.
Comment 1 Kathy Chan CLA 2008-03-18 19:00:45 EDT

*** This bug has been marked as a duplicate of bug 171705 ***
Comment 2 Trung CLA 2008-04-09 18:00:20 EDT
Created attachment 95440 [details]
For 'org.eclipse.jst.ws.consumption.ui'

This patch deals with another case which is not addressed when fixing Bug 171705:
- If the user specifies a really bogus server id (eg, abc) then there is no label for this id, the result will be a null String and the error msg will be:

"null is not installed... blah" instead of "abc is not installed"

More info: Normally the label can be retrieved nicely. For ex, if the server id is "org.apache.wst.server.tomcat50" then label will be "Tomcat 5.5"
Bogus server id will have 'null' as Label.
Comment 3 Kathy Chan CLA 2008-04-09 18:26:42 EDT
One more fix from Trung on this problem.
Comment 4 Kathy Chan CLA 2008-04-09 18:31:24 EDT
Patch committed and released to HEAD as v200804092230.
Comment 5 David Williams CLA 2008-04-24 00:44:36 EDT
mass change to add 'contributed' keyword based on bugzilla query, please correct if that's not accurate (by marking patches as obsolete and removing the 'contributed' keyword. 
Comment 6 Kathy Chan CLA 2008-06-05 16:33:00 EDT
Verified on 05/23 WTP 3.0 driver.