Issue Details (XML | Word | Printable)

Key: GLASSFISH-19432
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Lukas Jungmann
Reporter: xianwu
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

asadmin deploy provides a misleading error message

Created: 12/Dec/12 01:41 AM   Updated: 15/Jan/13 03:57 PM   Resolved: 15/Jan/13 03:57 PM
Component/s: web_services
Affects Version/s: None
Fix Version/s: 4.0_b72_EE7MS4

Time Tracking:
Not Specified

File Attachments: 1. File jaxws-w2j-02-web.war (17 kB) 12/Dec/12 01:41 AM - xianwu


Windows 7

Issue Links:

Participants: Hong Zhang, Lukas Jungmann, Martin Grebac and xianwu

 Description  « Hide

Reproducible operational steps:
asadmin.bat deploy axws-w2j-02-web.war

Detailed description of the issue:
When a war file is deployed by asadmin deploy command, it provided a misleading error message.
asadmin.bat deploy C:\Projects\TRAC\4851\jaxws-w2j-02-web.war
remote failure: Error occurred during deployment: Exception while preparing the
app : Service AddNumbersService seems to be a JAXRPC based web service but without the mandatory WSDL and Mapping file. Deployment cannot proceed. Please see server.log for more details.
Command deploy failed.

In fact, the war file contains valid WSDL and Mapping file although there exist other bugs in the war file.

The testing was under GlassFish v4 trunk (built from (revision 57288))